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.



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to