We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c84949 commit db09805Copy full SHA for db09805
1 file changed
test/jump_tests.jl
@@ -427,10 +427,10 @@ function test_jump_set_variable_start_value()
427
@variable(model, p in MOI.Parameter(0.0))
428
set_start_value(x, 1.0)
429
@test start_value(x) == 1
430
- err = ErrorException(
431
- "MathOptInterface.VariablePrimalStart() is not supported for parameters",
432
- )
433
- @test_throws err set_start_value(p, 1.0)
+ @test_throws ErrorException(
+ "The parameter $(index(p)) value is 0.0, but trying to set VariablePrimalStart 1.0",
+ ) set_start_value(p, 1.0)
+ err = ErrorException("MathOptInterface.VariablePrimalStart() is not supported for parameters")
434
@test_throws err start_value(p)
435
return
436
end
0 commit comments