Changeset 2075 for trunk


Ignore:
Timestamp:
Dec 10, 2014 3:13:01 PM (5 years ago)
Author:
forrest
Message:

allow primal a bit more slack to reduce objective

File:
1 edited

Legend:

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

    r2074 r2075  
    12621262     // give code benefit of doubt
    12631263     if (sumOfRelaxedDualInfeasibilities_ == 0.0 &&
    1264                sumOfRelaxedPrimalInfeasibilities_ == 0.0) {
     1264               sumOfRelaxedPrimalInfeasibilities_ == 0.0 &&
     1265         progress->objective_[CLP_PROGRESS-1]>
     1266         progress->objective_[CLP_PROGRESS-2]-1.0e-9*(10.0+fabs(objectiveValue_))) {
    12651267          // say optimal (with these bounds etc)
    12661268          numberDualInfeasibilities_ = 0;
Note: See TracChangeset for help on using the changeset viewer.