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 aefd76a commit 4172947Copy full SHA for 4172947
test/test_model.jl
@@ -182,7 +182,10 @@ function test_ideal_point()
182
MOI.add_constraint(model, x[2], MOI.LessThan(3.0))
183
MOI.add_constraint(model, 3.0 * x[1] - 1.0 * x[2], MOI.LessThan(6.0))
184
MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
185
- f = MOI.Utilities.vectorize([3.0 * x[1] + x[2], -1.0 * x[1] - 2.0 * x[2]])
+ f = MOI.Utilities.vectorize([
186
+ 3.0 * x[1] + x[2],
187
+ -1.0 * x[1] - 2.0 * x[2]
188
+ ])
189
MOI.set(model, MOI.ObjectiveFunction{typeof(f)}(), f)
190
@test MOI.supports(model, MOA.ComputeIdealPoint())
191
@test MOI.get(model, MOA.ComputeIdealPoint())
0 commit comments