Skip to content

Commit 8c08a77

Browse files
committed
Update
1 parent 4785656 commit 8c08a77

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/algorithms/KirlikSayin.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ function minimize_multiobjective!(algorithm::KirlikSayin, model::Optimizer)
169169
end
170170
X, Y = _compute_point(model, variables, model.f)
171171
Y_proj = _project(Y, k)
172-
# We want `if !(Y in YN)` but this tests exact equality. We want
173-
# an approximate comparison.
174-
# if all(!isapprox(Y; atol = 1e-6), YN)
175172
if !(Y in YN)
176173
push!(solutions, SolutionPoint(X, Y))
177174
push!(YN, Y)
@@ -181,5 +178,5 @@ function minimize_multiobjective!(algorithm::KirlikSayin, model::Optimizer)
181178
MOI.delete.(model, ε_constraints)
182179
MOI.delete(model, zₖ_constraint)
183180
end
184-
return status, solutions
181+
return status, filter_nondominated(MOI.MIN_SENSE, solutions)
185182
end

0 commit comments

Comments
 (0)