[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[Help-glpk] turn code for lpx_simplex(LPX *lp)
From: |
xypron |
Subject: |
Re[Help-glpk] turn code for lpx_simplex(LPX *lp) |
Date: |
Sun, 21 Dec 2008 16:39:28 -0800 (PST) |
Hello Andrew,
the COIN-OR Osi interface includes the patch below.
Would it be reasonable to include it into the distribution?
Best regards
Xypron
diff -Naur glpk/src/glplpx01.c.orig glpk/src/glplpx01.c
--- glpk/src/glplpx01.c.orig 2008-09-05 19:44:36.000000000 +0200
+++ glpk/src/glplpx01.c 2008-09-05 19:42:45.000000000 +0200
@@ -377,7 +377,7 @@
ret = glp_simplex(lp, &parm);
switch (ret)
{ case 0: ret = LPX_E_OK; break;
- case GLP_EBADB:
+ case GLP_EBADB: ret = LPX_E_BADB; break;
case GLP_ESING:
case GLP_ECOND:
case GLP_EBOUND: ret = LPX_E_FAULT; break;
--
View this message in context:
http://www.nabble.com/Return-code-for-lpx_simplex%28LPX-*lp%29-tp21121122p21121122.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
- Re[Help-glpk] turn code for lpx_simplex(LPX *lp),
xypron <=