Skip to content

Commit 2beea5c

Browse files
authored
[Test] make variable bounded in test_nonlinear_constraint_log (#2704)
1 parent 5f9e174 commit 2beea5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Test/test_nonlinear.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,6 +1902,7 @@ function test_nonlinear_constraint_log(
19021902
x = MOI.add_variable(model)
19031903
t = MOI.add_variable(model)
19041904
MOI.add_constraint(model, x, MOI.LessThan(T(2)))
1905+
MOI.add_constraint(model, x, MOI.GreaterThan(T(1)))
19051906
MOI.set(model, MOI.VariablePrimalStart(), x, T(1))
19061907
MOI.set(model, MOI.ObjectiveSense(), MOI.MAX_SENSE)
19071908
f = 1.0 * t

0 commit comments

Comments
 (0)