Changeset 1170 for ThirdParty/Glpk/trunk


Ignore:
Timestamp:
Sep 5, 2008 3:26:14 PM (11 years ago)
Author:
stefan
Message:

make lpx_simplex return LPX_E_BADB if glp_simplex returned GLP_EBADB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/trunk/glpk.patch

    r1162 r1170  
    3333          }
    3434 #endif
     35diff -Naur glpk/src/glpios03.c.orig glpk/src/glpios03.c
     36--- glpk/src/glplpx01.c.orig    2008-09-05 19:44:36.000000000 +0200
     37+++ glpk/src/glplpx01.c 2008-09-05 19:42:45.000000000 +0200
     38@@ -333,7 +333,7 @@
     39       ret = glp_simplex(lp, &parm);
     40       switch (ret)
     41       {  case 0:           ret = LPX_E_OK;      break;
     42-         case GLP_EBADB:
     43+         case GLP_EBADB:   ret = LPX_E_BADB;    break;
     44          case GLP_ESING:
     45          case GLP_ECOND:
     46          case GLP_EBOUND:  ret = LPX_E_FAULT;   break;
Note: See TracChangeset for help on using the changeset viewer.