Skip to content

Commit

Permalink
Fix test_nonlinear to have LOCALLY_SOLVED as the .optimal_status (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Dec 4, 2024
1 parent 33f44c5 commit 9af64e4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/test_MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ function test_runtests()
# Xpress cannot handle nonconvex quadratic constraint
"test_quadratic_nonconvex_",
# Nonlinear tests because these return LOCALLY_SOLVED
"test_nonlinear_duals",
"test_nonlinear_expression_",
"test_nonlinear_",
],
)
MOI.Test.runtests(
Expand All @@ -77,10 +76,7 @@ function test_runtests()
exclude = Any[MOI.ConstraintDual],
optimal_status = MOI.LOCALLY_SOLVED,
);
include = [
"test_nonlinear_duals",
"test_nonlinear_expression_",
],
include = ["test_nonlinear_"],
# This test is actually MOI.OPTIMAL. It's okay to ignore for now.
exclude = ["test_nonlinear_expression_overrides_objective"],
)
Expand Down

0 comments on commit 9af64e4

Please sign in to comment.