Skip to content

Commit 3fc044c

Browse files
committed
Update
1 parent 1fcf549 commit 3fc044c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/test_model.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,7 @@ function test_SubproblemCount()
216216
MOI.add_constraint(model, x[2], MOI.LessThan(3.0))
217217
MOI.add_constraint(model, 3.0 * x[1] - 1.0 * x[2], MOI.LessThan(6.0))
218218
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-
])
219+
f = MOI.Utilities.vectorize([3.0 * x[1] + x[2], -1.0 * x[1] - 2.0 * x[2]])
223220
MOI.set(model, MOI.ObjectiveFunction{typeof(f)}(), f)
224221
MOI.optimize!(model)
225222
@test MOI.get(model, MOA.SubproblemCount()) > 0

0 commit comments

Comments
 (0)