Skip to content

Commit 9216bf7

Browse files
committed
Update
1 parent 8953315 commit 9216bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/algorithms/EpsilonConstraint.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function minimize_multiobjective!(
103103
ε = abs(right - left) / (n_points - 1)
104104
end
105105
solutions = SolutionPoint[only(solution_1), only(solution_2)]
106-
f1, f2 = MOI.Utilities.eachscalar(inner)
106+
f1, f2 = MOI.Utilities.eachscalar(f)
107107
MOI.set(inner, MOI.ObjectiveFunction{typeof(f2)}(), f2)
108108
# Add epsilon constraint
109109
variables = MOI.get(inner, MOI.ListOfVariableIndices())
@@ -127,7 +127,7 @@ function minimize_multiobjective!(
127127
if !_is_scalar_status_optimal(model)
128128
break
129129
end
130-
X, Y = _compute_point(model, variables, inner)
130+
X, Y = _compute_point(model, variables, f)
131131
_log_subproblem_solve(model, Y)
132132
if isempty(solutions) || !(Y solutions[end].y)
133133
push!(solutions, SolutionPoint(X, Y))

0 commit comments

Comments
 (0)