diff --git a/src/MOI/MOI_wrapper.jl b/src/MOI/MOI_wrapper.jl index 025b866..aa9e422 100644 --- a/src/MOI/MOI_wrapper.jl +++ b/src/MOI/MOI_wrapper.jl @@ -535,7 +535,7 @@ function MOI.set( limit::Union{Nothing,Real}, ) new_limit = something(limit, _TIME_LIMIT_DEFAULT) - MOI.set(model, MOI.RawOptimizerAttribute("CPXPARAM_TimeLimit"), limit) + MOI.set(model, MOI.RawOptimizerAttribute("CPXPARAM_TimeLimit"), new_limit) return end