Ignore:
Timestamp:
Nov 11, 2013 12:27:32 PM (6 years ago)
Author:
forrest
Message:

Minor stability fixes and an option to allow perturbation after presolve

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.15/Clp/src/ClpSimplex.cpp

    r1963 r1989  
    612612               //     largestPrimalError_);
    613613               // throw out up to 1000 structurals
     614               int maxOut = (allowedInfeasibility_==10.0) ? 1000 : 100;
    614615               int iRow;
    615616               int * sort = new int[numberRows_];
     
    647648               }
    648649               CoinSort_2(save, save + numberOut, sort);
    649                numberOut = CoinMin(1000, numberOut);
     650               numberOut = CoinMin(maxOut, numberOut);
    650651               for (iRow = 0; iRow < numberOut; iRow++) {
    651652                    int jRow = sort[iRow];
Note: See TracChangeset for help on using the changeset viewer.