From e519960872c97a0a8ede4fbc94b3027ed21c8094 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 4 Dec 2024 10:36:13 +1300 Subject: [PATCH] Update --- src/Test/test_nonlinear.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Test/test_nonlinear.jl b/src/Test/test_nonlinear.jl index bcf7d4916b..987d0492d5 100644 --- a/src/Test/test_nonlinear.jl +++ b/src/Test/test_nonlinear.jl @@ -1824,7 +1824,9 @@ function test_nonlinear_with_scalar_quadratic_function_with_off_diag( for (a, b, status) in test_cases MOI.empty!(model) x, _ = MOI.add_constrained_variable(model, MOI.EqualTo(T(2))) + MOI.set(model, MOI.VariablePrimalStart(), x, T(2)) y, _ = MOI.add_constrained_variable(model, MOI.EqualTo(T(3))) + MOI.set(model, MOI.VariablePrimalStart(), y, T(3)) g = T(a) * x * y @test g isa MOI.ScalarQuadraticFunction{T} f = MOI.ScalarNonlinearFunction(:sqrt, Any[g])