From 093a0a88eb9b0d4868f4e25ab1bd49edf94891cc Mon Sep 17 00:00:00 2001 From: odow Date: Tue, 8 Apr 2025 17:07:50 +1200 Subject: [PATCH] Move computing the ideal point after the optimizer has run --- src/MultiObjectiveAlgorithms.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MultiObjectiveAlgorithms.jl b/src/MultiObjectiveAlgorithms.jl index 2ea3d42..8cccb77 100644 --- a/src/MultiObjectiveAlgorithms.jl +++ b/src/MultiObjectiveAlgorithms.jl @@ -587,10 +587,10 @@ function MOI.optimize!(model::Optimizer) model.termination_status = MOI.INVALID_MODEL return end - _compute_ideal_point(model, start_time) algorithm = something(model.algorithm, default(Algorithm())) status, solutions = optimize_multiobjective!(algorithm, model) model.termination_status = status + _compute_ideal_point(model, start_time) if solutions !== nothing model.solutions = solutions end