Skip to content

Commit

Permalink
FSCIP_CMD tests sometimes fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
pchtsp committed Feb 24, 2025
1 parent a5f7a53 commit 8404beb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pulp/tests/test_pulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,13 @@ def test_unbounded(self):
elif self.solver.__class__ is GLPK_CMD:
# GLPK_CMD Does not report unbounded problems, correctly
pulpTestCheck(prob, self.solver, [const.LpStatusUndefined])
elif self.solver.__class__ in [GUROBI_CMD, SCIP_CMD, FSCIP_CMD, SCIP_PY]:
elif self.solver.__class__ in [GUROBI_CMD, SCIP_CMD, SCIP_PY]:
# GUROBI_CMD has a very simple interface
pulpTestCheck(prob, self.solver, [const.LpStatusNotSolved])
elif self.solver.__class__ in [CHOCO_CMD, HiGHS_CMD]:
elif self.solver.__class__ in [CHOCO_CMD, HiGHS_CMD, FSCIP_CMD]:
# choco bounds all variables. Would not return unbounded status
# highs_cmd is inconsistent
# FSCIP_CMD is inconsistent
pass
else:
pulpTestCheck(prob, self.solver, [const.LpStatusUnbounded])
Expand Down

0 comments on commit 8404beb

Please sign in to comment.