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 fe19bbf commit 61d2865Copy full SHA for 61d2865
src/Test/test_objective.jl
@@ -95,6 +95,7 @@ function test_objective_ObjectiveFunction_constant(
95
x = MOI.add_variable(model)
96
f = MOI.ScalarAffineFunction([MOI.ScalarAffineTerm(2.0, x)], 1.0)
97
MOI.set(model, obj_attr, f)
98
+ MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE)
99
c = MOI.add_constraint(model, MOI.SingleVariable(x), MOI.GreaterThan(1.0))
100
_test_model_solution(
101
model,
0 commit comments