Changeset 2145 for stable/2.9/Cbc/src/CbcModel.cpp
- Timestamp:
- Feb 27, 2015 10:36:43 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/2.9/Cbc/src/CbcModel.cpp
r2106 r2145 12363 12363 // We can switch off check 12364 12364 if ((specialOptions_&4) == 0 && (moreSpecialOptions2_&10) != 8) { 12365 if ((specialOptions_&2) == 0 && solverCharacteristics_->warmStart()) { 12365 // Be on safe side - unless very few integers and large 12366 bool allSlack = (specialOptions_&2) == 0 && solverCharacteristics_->warmStart(); 12367 if (numberIntegers_*4>solver_->getNumCols()||solver_->getNumCols()<10000) 12368 allSlack = true; 12369 if (allSlack) { 12366 12370 /* 12367 12371 Remove any existing warm start information to be sure there is no … … 12415 12419 //OsiHintStrength saveStrength; 12416 12420 //bool savePrintHint; 12417 //solver_->writeMps("infeas");12421 solver_->writeMpsNative("infeas.mps", NULL, NULL, 2); 12418 12422 //bool gotHint = (solver_->getHintParam(OsiDoReducePrint,savePrintHint,saveStrength)); 12419 12423 //gotHint = (solver_->getHintParam(OsiDoScale,saveTakeHint,saveStrength)); … … 12644 12648 #if CBC_FEASIBILITY_INVESTIGATE==0 12645 12649 } 12650 #else 12651 solver_->writeMpsNative("BFeasible.mps",NULL,NULL,2); 12646 12652 #endif 12647 12653 //if (fabs(objValue-objectiveValue)>1.0e-7*fabs(objectiveValue)) {
Note: See TracChangeset
for help on using the changeset viewer.