From 1217cadaac7a69802cfd636898688d6f974f2ef6 Mon Sep 17 00:00:00 2001 From: Christophe-Marie Duquesne Date: Wed, 4 Apr 2012 13:14:55 +0200 Subject: [PATCH] Adding yaposib and pyglpk in another test case for the slack and duals --- src/pulp/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pulp/tests.py b/src/pulp/tests.py index 3f19ef2..caf7a7c 100644 --- a/src/pulp/tests.py +++ b/src/pulp/tests.py @@ -340,7 +340,8 @@ def pulpTest075(solver): x = LpVariable("x", 0, 4, LpContinuous, obj + b) y = LpVariable("y", -1, 1, LpContinuous, 4*obj - c) z = LpVariable("z", 0, None, LpContinuous, 9*obj + b + c) - if solver.__class__ in [CPLEX_DLL, CPLEX_CMD, COINMP_DLL]: + if solver.__class__ in [CPLEX_DLL, CPLEX_CMD, COINMP_DLL, YAPOSIB, + PYGLPK]: print "\t Testing column based modelling with empty constraints" pulpTestCheck(prob, solver, [LpStatusOptimal], {x:4, y:-1, z:6})