final (hopefully) fix for glpksol

This commit is contained in:
Stuart Mitchell
2015-03-18 00:05:04 +13:00
parent ee88a2964d
commit 268255d909
2 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ python:
- "pypy"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq glpk python-glpk
- sudo apt-get install -qq glpk
#- pip install glpk
#- sudo apt-get install coinor-cbc
# command to install dependencies

View File

@@ -82,7 +82,8 @@ def pulpTest009(solver):
pulpTestCheck(prob, solver, [LpStatusInfeasible], {x:4, y:-1, z:6, w:0},
use_mps = False)
else:
pulpTestCheck(prob, solver, [LpStatusInfeasible, LpStatusNotSolved])
pulpTestCheck(prob, solver, [LpStatusInfeasible, LpStatusNotSolved,
LpStatusUndefined])
def pulpTest010(solver):