File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
docs/src/submodules/Bridges Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ julia> MOI.Bridges.runtests(
7979 """,
8080 )
8181Test Summary: | Pass Total Time
82- Bridges.runtests | 29 29 0.0s
82+ Bridges.runtests | 30 30 0.0s
8383```
8484
8585There are a number of other useful keyword arguments.
@@ -123,5 +123,5 @@ Subject to:
123123ScalarAffineFunction{Int64}-in-LessThan{Int64}
124124 (0) - (1) x <= (-1)
125125Test Summary: | Pass Total Time
126- Bridges.runtests | 29 29 0.0s
126+ Bridges.runtests | 30 30 0.0s
127127```
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ julia> MOI.Bridges.runtests(
283283 end,
284284 )
285285Test Summary: | Pass Total Time
286- Bridges.runtests | 32 32 0.8s
286+ Bridges.runtests | 33 33 0.8s
287287```
288288"""
289289function runtests (args... ; kwargs... )
@@ -444,7 +444,7 @@ julia> MOI.Bridges.runtests(
444444 \"\"\" ,
445445 )
446446Test Summary: | Pass Total Time
447- Bridges.runtests | 32 32 0.0s
447+ Bridges.runtests | 33 33 0.0s
448448```
449449"""
450450function runtests (
@@ -520,7 +520,8 @@ function _general_bridge_tests(bridge::B) where {B<:AbstractBridge}
520520end
521521
522522function _check_bridged (model; no_bridge_used)
523- unused = isempty (MOI. Bridges. Variable. bridges (model)) &&
523+ unused =
524+ isempty (MOI. Bridges. Variable. bridges (model)) &&
524525 isempty (MOI. Bridges. Constraint. bridges (model)) &&
525526 isempty (MOI. Bridges. Objective. bridges (model))
526527 Test. @test unused == no_bridge_used
Original file line number Diff line number Diff line change @@ -103,7 +103,8 @@ function test_runtests()
103103 """
104104 variables: x
105105 maxobjective: [x]
106- """ ,
106+ """ ;
107+ no_bridge_used = true ,
107108 )
108109 return
109110end
You can’t perform that action at this time.
0 commit comments