From 8404beb6493f1bf7aaef969bde8b021c3d0f6b2a Mon Sep 17 00:00:00 2001 From: Franco Peschiera Date: Mon, 24 Feb 2025 11:32:01 +0100 Subject: [PATCH] FSCIP_CMD tests sometimes fail. --- pulp/tests/test_pulp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pulp/tests/test_pulp.py b/pulp/tests/test_pulp.py index 0cce255a..12f8e2d4 100644 --- a/pulp/tests/test_pulp.py +++ b/pulp/tests/test_pulp.py @@ -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])