Changeset 1512


Ignore:
Timestamp:
Oct 12, 2010 6:58:46 AM (9 years ago)
Author:
forrest
Message:

add belt and braces/suspenders at root node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcModel.cpp

    r1511 r1512  
    1203612036                    clpSolver->setSpecialOptions(save2 | 2048);
    1203712037                    clpSimplex->allSlackBasis(true);
    12038                     clpSolver->resolve();
     12038                    clpSolver->resolve();
     12039                    if (!clpSolver->isProvenOptimal()) {
     12040                         bool takeHint;
     12041                         OsiHintStrength strength;
     12042                         clpSolver->getHintParam(OsiDoDualInResolve, takeHint, strength);
     12043                         clpSolver->setHintParam(OsiDoDualInResolve, false, OsiHintDo);
     12044                         clpSolver->resolve();
     12045                         clpSolver->setHintParam(OsiDoDualInResolve, takeHint, strength);
     12046                    }
    1203912047                }
    1204012048                // make cuts safer
Note: See TracChangeset for help on using the changeset viewer.