Changeset 1795


Ignore:
Timestamp:
Sep 15, 2011 4:28:21 AM (8 years ago)
Author:
forrest
Message:

stop seg fault on infinite theta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpSimplexOther.cpp

    r1790 r1795  
    31883188    canSkipFactorization=false;
    31893189    if (numberPrimalInfeasibilities_) {
     3190      if (largestPrimalError_>1.0e3&&startingTheta>1.0e10) {
     3191        // treat as success
     3192        problemStatus_=0;
     3193        endingTheta=startingTheta;
     3194        break;
     3195      }
    31903196      // probably can get rid of this if we adjust every change in theta
    31913197      //printf("INFEAS %d %g\n",numberPrimalInfeasibilities_,
Note: See TracChangeset for help on using the changeset viewer.