Changeset 1513 for stable/2.5


Ignore:
Timestamp:
Oct 12, 2010 7:16:13 AM (9 years ago)
Author:
forrest
Message:

double double check infeasible at root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.5/Cbc/src/CbcModel.cpp

    r1450 r1513  
    1203012030                    clpSimplex->allSlackBasis(true);
    1203112031                    clpSolver->resolve();
     12032                    if (!clpSolver->isProvenOptimal()) {
     12033                         bool takeHint;
     12034                         OsiHintStrength strength;
     12035                         clpSolver->getHintParam(OsiDoDualInResolve, takeHint, strength);
     12036                         clpSolver->setHintParam(OsiDoDualInResolve, false, OsiHintDo);
     12037                         clpSolver->resolve();
     12038                         clpSolver->setHintParam(OsiDoDualInResolve, takeHint, strength);
     12039                    }
    1203212040                }
    1203312041                // make cuts safer
Note: See TracChangeset for help on using the changeset viewer.