Skip to content

Commit e0ad951

Browse files
committed
update dichotomy time limit unit test logic
with 0 timelimit, there should be no solutions as there is no solve.
1 parent ed6f3f7 commit e0ad951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/algorithms/Dichotomy.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function test_time_limit()
261261
)
262262
MOI.optimize!(model)
263263
@test MOI.get(model, MOI.TerminationStatus()) == MOI.TIME_LIMIT
264-
@test MOI.get(model, MOI.ResultCount()) > 0
264+
@test MOI.get(model, MOI.ResultCount()) == 0
265265
return
266266
end
267267

0 commit comments

Comments
 (0)