Changeset 2190
- Timestamp:
- May 20, 2015 8:48:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cbc/src/CbcModel.cpp
r2188 r2190 7317 7317 cutsToDrop = new int[currentNumberCuts] ; 7318 7318 assert (currentNumberCuts + numberRowsAtContinuous_ <= lastws->getNumArtificial()); 7319 assert (currentNumberCuts <= maximumWhich_); // we will read from whichGenerator_[0..currentNumberCuts-1] below, so should have all these entries 7319 7320 for (i = 0; i < currentNumberCuts; i++) { 7320 7321 CoinWarmStartBasis::Status status = … … 8577 8578 if (numberToAdd > 0) { 8578 8579 int i ; 8579 int * whichGenerator = whichGenerator_ - 8580 numberRowsAtContinuous_+solver_->getNumRows(); 8580 int * whichGenerator = whichGenerator_ + lastNumberCuts; 8581 8581 // Faster to add all at once 8582 8582 addCuts = new const OsiRowCut * [numberToAdd] ;
Note: See TracChangeset
for help on using the changeset viewer.