Changeset 2048 for trunk


Ignore:
Timestamp:
Aug 20, 2014 3:47:21 AM (5 years ago)
Author:
forrest
Message:

changes for max iterations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/OsiClp/OsiClpSolverInterface.cpp

    r2046 r2048  
    67596759    small->dual(0,7);
    67606760#endif
     6761    modelPtr_->secondaryStatus_=0;
    67616762    totalIterations += small->numberIterations();
    67626763    int problemStatus = small->problemStatus();
     
    68456846    } else {
    68466847      if (problemStatus==3) {
     6848        if (!inCbcOrOther) {
     6849          // Calling code not Cbc - may want information from larger model
     6850          static_cast<ClpSimplexOther *> (modelPtr_)->afterCrunch(*small,whichRow,whichColumn,nBound);
     6851          // but may not be able to trust objective as lower bound
     6852          if (small->algorithm_==1/*||small->sumDualInfeasibilities_>1.0e-5*/)
     6853            modelPtr_->secondaryStatus_=10;
     6854        }
    68476855        // may be problems
    68486856        if (inCbcOrOther&&disasterHandler_->inTrouble()) {
Note: See TracChangeset for help on using the changeset viewer.