Skip to content

Commit e519960

Browse files
committed
Update
1 parent 5917b7c commit e519960

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Test/test_nonlinear.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,9 @@ function test_nonlinear_with_scalar_quadratic_function_with_off_diag(
18241824
for (a, b, status) in test_cases
18251825
MOI.empty!(model)
18261826
x, _ = MOI.add_constrained_variable(model, MOI.EqualTo(T(2)))
1827+
MOI.set(model, MOI.VariablePrimalStart(), x, T(2))
18271828
y, _ = MOI.add_constrained_variable(model, MOI.EqualTo(T(3)))
1829+
MOI.set(model, MOI.VariablePrimalStart(), y, T(3))
18281830
g = T(a) * x * y
18291831
@test g isa MOI.ScalarQuadraticFunction{T}
18301832
f = MOI.ScalarNonlinearFunction(:sqrt, Any[g])

0 commit comments

Comments
 (0)