Skip to content

Commit

Permalink
Update src/MOI_wrapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 11, 2023
1 parent d561fd6 commit ed46111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ function MOI.optimize!(model::Optimizer)
model.barrier_iterations = 0
function _moi_callback(args...)
# iter_count is args[2]
model.barrier_iterations = max(model.barrier_iterations, args[2])
model.barrier_iterations = args[2]
if model.callback !== nothing
return model.callback(args...)
end
Expand Down

0 comments on commit ed46111

Please sign in to comment.