Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
matbesancon committed Dec 12, 2024
1 parent 8701a13 commit ab0421a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,11 @@ end
MOI.supports(::Optimizer, ::MOI.NodeLimit) = true

function MOI.set(model::Optimizer, ::MOI.NodeLimit, ::Nothing)
return MOI.set(model, MOI.RawOptimizerAttribute("mip_max_nodes"), typemax(Int32))
return MOI.set(
model,
MOI.RawOptimizerAttribute("mip_max_nodes"),
typemax(Int32),
)
end

function MOI.set(model::Optimizer, ::MOI.NodeLimit, limit::Real)
Expand Down

0 comments on commit ab0421a

Please sign in to comment.