Ignore:
Timestamp:
Aug 21, 2005 11:45:54 AM (15 years ago)
Author:
forrest
Message:

fix bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ClpSimplexDual.cpp

    r653 r659  
    25022502        bestPossible = CoinMax(bestPossible,fabs(alpha));
    25032503        oldValue = reducedCost[iSequence];
     2504        // If freehas to be very large - should come in via dualRow
     2505        if (getStatus(iSequence+addSequence)==isFree&&fabs(alpha)<1.0e-3)
     2506          break;
    25042507        if (oldValue>dualTolerance_) {
    25052508          keep = true;
     
    25072510          keep = true;
    25082511        } else {
    2509           if (fabs(alpha)>10.0*acceptablePivot)
     2512          if (fabs(alpha)>CoinMax(10.0*acceptablePivot,1.0e-5))
    25102513            keep = true;
    25112514          else
Note: See TracChangeset for help on using the changeset viewer.