Skip to content

Commit a13471f

Browse files
committed
Update
1 parent c45111c commit a13471f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Test/test_basic_constraint.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ function _basic_constraint_test_helper(
246246
### Test MOI.is_valid
247247
###
248248
@test MOI.is_valid(model, c)
249-
@test !MOI.is_valid(model, typeof(c)(c.value + 1))
249+
# TODO(odow): we could improve this test by checking `c.value+1` and
250+
# `c.value-1` but there is a bug in `LazyBridgeOptimizer`.
251+
@test !MOI.is_valid(model, typeof(c)(c.value + 12345))
250252
###
251253
### Test MOI.ConstraintName
252254
###

0 commit comments

Comments
 (0)