diff --git a/src/algorithms/Dichotomy.jl b/src/algorithms/Dichotomy.jl index ba74728..ec07b41 100644 --- a/src/algorithms/Dichotomy.jl +++ b/src/algorithms/Dichotomy.jl @@ -85,9 +85,6 @@ function optimize_multiobjective!(algorithm::Dichotomy, model::Optimizer) end solutions = Dict{Float64,SolutionPoint}() for (i, w) in (1 => 1.0, 2 => 0.0) - if (ret = _check_premature_termination(model, start_time)) !== nothing - return ret, nothing - end status, solution = _solve_weighted_sum(model, algorithm, [w, 1.0 - w]) if !_is_scalar_status_optimal(status) return status, nothing diff --git a/test/algorithms/Dichotomy.jl b/test/algorithms/Dichotomy.jl index 2fa8d07..adc448d 100644 --- a/test/algorithms/Dichotomy.jl +++ b/test/algorithms/Dichotomy.jl @@ -262,7 +262,7 @@ function test_time_limit() ) MOI.optimize!(model) @test MOI.get(model, MOI.TerminationStatus()) == MOI.TIME_LIMIT - @test MOI.get(model, MOI.ResultCount()) == 0 + @test MOI.get(model, MOI.ResultCount()) == 2 return end