Skip to content

Commit bc13f56

Browse files
committed
Update
1 parent ee16b31 commit bc13f56

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/algorithms/DominguezRios.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,16 @@ function minimize_multiobjective!(algorithm::DominguezRios, model::Optimizer)
207207
new_f = t_max + ϵ * sum(w[i] * (scalars[i] - yI[i]) for i in 1:n)
208208
MOI.set(model.inner, MOI.ObjectiveFunction{typeof(new_f)}(), new_f)
209209
MOI.optimize!(model.inner)
210-
@assert _is_scalar_status_optimal(model)
210+
if !_is_scalar_status_optimal(model)
211+
# In theory, this shouldn't happen, because this subproblem is meant
212+
# to always be feasible. However, in some of our testing, HiGHS will
213+
# fail and return something like OTHER_ERROR (e.g., because the
214+
# numerics are challenging). Rather than error completely, let's
215+
# just skip this box.
216+
deleteat!(L[k], i)
217+
MOI.delete.(model.inner, constraints)
218+
continue
219+
end
211220
X, Y = _compute_point(model, variables, model.f)
212221
obj = MOI.get(model.inner, MOI.ObjectiveValue())
213222
# We need to undo the scaling of the scalar objective. There's no

0 commit comments

Comments
 (0)