Skip to content

Commit af7ce29

Browse files
authored
Move computing the ideal point after the optimizer has run (#100)
1 parent 65b565d commit af7ce29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MultiObjectiveAlgorithms.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,10 +587,10 @@ function MOI.optimize!(model::Optimizer)
587587
model.termination_status = MOI.INVALID_MODEL
588588
return
589589
end
590-
_compute_ideal_point(model, start_time)
591590
algorithm = something(model.algorithm, default(Algorithm()))
592591
status, solutions = optimize_multiobjective!(algorithm, model)
593592
model.termination_status = status
593+
_compute_ideal_point(model, start_time)
594594
if solutions !== nothing
595595
model.solutions = solutions
596596
end

0 commit comments

Comments
 (0)