Skip to content

Commit

Permalink
Fixes for new test_nonlinear_ tests
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Jan 6, 2025
1 parent 9af64e4 commit 7aaa491
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion test/test_MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,26 @@ function test_runtests()
);
include = ["test_nonlinear_"],
# This test is actually MOI.OPTIMAL. It's okay to ignore for now.
exclude = ["test_nonlinear_expression_overrides_objective"],
exclude = [
"test_nonlinear_expression_overrides_objective",
"test_nonlinear_quadratic_1",
"test_nonlinear_quadratic_4",
"test_nonlinear_with_scalar_quadratic_function_with_off_diag",
],
)
MOI.Test.runtests(
model,
MOI.Test.Config(;
atol = 1e-3,
rtol = 1e-3,
exclude = Any[MOI.ConstraintDual],
);
include = [
"test_nonlinear_expression_overrides_objective",
"test_nonlinear_quadratic_1",
"test_nonlinear_quadratic_4",
"test_nonlinear_with_scalar_quadratic_function_with_off_diag",
],
)
MOI.set(model, MOI.RawOptimizerAttribute("PRESOLVE"), 0)
MOI.Test.runtests(
Expand Down

0 comments on commit 7aaa491

Please sign in to comment.