Skip to content

Commit

Permalink
Update src/MOI/MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Dec 3, 2023
1 parent c7e7287 commit a1b0432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MOI/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a1b0432

Please sign in to comment.