From e02518385c59896ec44b0fcc0206f0b233203159 Mon Sep 17 00:00:00 2001 From: odow Date: Fri, 2 Jul 2021 13:42:24 +1200 Subject: [PATCH] Fix missing line in test_objective.jl --- src/Test/test_objective.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Test/test_objective.jl b/src/Test/test_objective.jl index 563e82da00..fee305d769 100644 --- a/src/Test/test_objective.jl +++ b/src/Test/test_objective.jl @@ -95,6 +95,7 @@ function test_objective_ObjectiveFunction_constant( x = MOI.add_variable(model) f = MOI.ScalarAffineFunction([MOI.ScalarAffineTerm(2.0, x)], 1.0) MOI.set(model, obj_attr, f) + MOI.set(model, MOI.ObjectiveSense(), MOI.MIN_SENSE) c = MOI.add_constraint(model, MOI.SingleVariable(x), MOI.GreaterThan(1.0)) _test_model_solution( model,