Changeset 94
- Timestamp:
- Mar 29, 2005 4:41:31 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CbcModel.cpp
r84 r94 3057 3057 while (!addedCuts_[oldCutIndex]) oldCutIndex++ ; 3058 3058 assert(oldCutIndex < currentNumberCuts_) ; 3059 if (status == CoinWarmStartBasis::basic) 3059 // always leave if from nextRowCut_ 3060 if (status == CoinWarmStartBasis::basic&& 3061 addedCuts_[oldCutIndex]->effectiveness()!=COIN_DBL_MAX) 3060 3062 { solverCutIndices[numberOldToDelete++] = i+firstOldCut ; 3061 3063 if (addedCuts_[oldCutIndex]->decrement() == 0) … … 5152 5154 { 5153 5155 nextRowCut_=new OsiRowCut(cut); 5156 nextRowCut_->setEffectiveness(COIN_DBL_MAX); // mark so will always stay 5154 5157 } 5155 5158 /* Process root node and return a strengthened model -
trunk/include/CbcModel.hpp
r66 r94 1258 1258 After use it should be set to NULL. 1259 1259 */ 1260 constOsiRowCut * nextRowCut_;1260 OsiRowCut * nextRowCut_; 1261 1261 1262 1262 /// Current node so can be used elsewhere
Note: See TracChangeset
for help on using the changeset viewer.