source: ThirdParty/Glpk/releases/1.6.0/glpk.patch

Last change on this file was 1413, checked in by stefan, 11 years ago

extend patch by fix for bug in glpk 4.39

File size: 849 bytes
  • glpk/src/glplpx01.c

    old new  
    383383      ret = glp_simplex(lp, &parm);
    384384      switch (ret)
    385385      {  case 0:           ret = LPX_E_OK;      break;
    386          case GLP_EBADB:
     386         case GLP_EBADB:   ret = LPX_E_BADB;    break;
    387387         case GLP_ESING:
    388388         case GLP_ECOND:
    389389         case GLP_EBOUND:  ret = LPX_E_FAULT;   break;
  • glpk/src/glpnpp02.c

    old new  
    805805      /* fix the column */
    806806      if (col->lb == -DBL_MAX && col->ub == +DBL_MAX)
    807807      {  /* free variable */
    808          info->stat = GLP_NS;
     808         info->stat = GLP_NF;
    809809         col->lb = col->ub = 0.0;
    810810      }
    811811      else if (col->ub == +DBL_MAX)
Note: See TracBrowser for help on using the repository browser.