We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fcf549 commit 3fc044cCopy full SHA for 3fc044c
test/test_model.jl
@@ -216,10 +216,7 @@ function test_SubproblemCount()
216
MOI.add_constraint(model, x[2], MOI.LessThan(3.0))
217
MOI.add_constraint(model, 3.0 * x[1] - 1.0 * x[2], MOI.LessThan(6.0))
218
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
219
- f = MOI.Utilities.vectorize([
220
- 3.0 * x[1] + x[2],
221
- -1.0 * x[1] - 2.0 * x[2],
222
- ])
+ f = MOI.Utilities.vectorize([3.0 * x[1] + x[2], -1.0 * x[1] - 2.0 * x[2]])
223
MOI.set(model, MOI.ObjectiveFunction{typeof(f)}(), f)
224
MOI.optimize!(model)
225
@test MOI.get(model, MOA.SubproblemCount()) > 0
0 commit comments