Ignore:
Timestamp:
Feb 27, 2015 11:24:47 AM (4 years ago)
Author:
forrest
Message:

improve solution checking

File:
1 edited

Legend:

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

    r2133 r2146  
    1239912399        // We can switch off check
    1240012400        if ((specialOptions_&4) == 0 && (moreSpecialOptions2_&10) != 8) {
    12401             if ((specialOptions_&2) == 0 && solverCharacteristics_->warmStart()) {
     12401            // Be on safe side - unless very few integers and large
     12402            bool allSlack = (specialOptions_&2) == 0 && solverCharacteristics_->warmStart();
     12403            if (numberIntegers_*4>solver_->getNumCols()||solver_->getNumCols()<10000)
     12404              allSlack = true;
     12405            if (allSlack) {
    1240212406                /*
    1240312407                  Remove any existing warm start information to be sure there is no
Note: See TracChangeset for help on using the changeset viewer.