Changeset 2226
- Timestamp:
- Aug 8, 2016 9:18:55 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Clp/src/ClpSimplexOther.cpp
r2225 r2226 53 53 { 54 54 rowArray_[1]->clear(); 55 #ifdef LONG_REGION_256 rowArray_[2]->clear();57 #else58 55 columnArray_[1]->clear(); 59 #endif60 56 // long enough for rows+columns 61 57 assert(rowArray_[3]->capacity() >= numberRows_ + numberColumns_); … … 117 113 // put row of tableau in rowArray[0] and columnArray[0] 118 114 matrix_->transposeTimes(this, -1.0, 119 rowArray_[0], 120 #ifdef LONG_REGION_2 121 rowArray_[2], 122 #else 123 columnArray_[1], 124 #endif 125 columnArray_[0]); 115 rowArray_[0], columnArray_[1], columnArray_[0]); 126 116 #ifdef COIN_FAC_NEW 127 117 assert (!rowArray_[0]->packedMode()); … … 2904 2894 } 2905 2895 2906 for (iColumn = 0; iColumn < SHORT_REGION; iColumn++) {2896 for (iColumn = 0; iColumn < 2; iColumn++) { 2907 2897 columnArray_[iColumn]->clear(); 2908 2898 } … … 3345 3335 } 3346 3336 3347 for (iColumn = 0; iColumn < SHORT_REGION; iColumn++) {3337 for (iColumn = 0; iColumn < 2; iColumn++) { 3348 3338 columnArray_[iColumn]->clear(); 3349 3339 } … … 4658 4648 reinterpret_cast<ClpSimplexDual *> 4659 4649 ( this)->dualColumn(rowArray_[0], 4660 columnArray_[0], 4661 #ifdef LONG_REGION_2 4662 rowArray_[2], 4663 #else 4664 columnArray_[1], 4665 #endif 4650 columnArray_[0], columnArray_[1], 4666 4651 rowArray_[3], acceptablePivot, NULL); 4667 4652 return bestPossiblePivot; … … 7743 7728 #else 7744 7729 for (int i=0;i<numberColumns_;i++) 7745 columnWeights[i]= randomNumberGenerator_.randomDouble();7730 columnWeights[i]=CoinDrand48(); 7746 7731 #endif 7747 7732 #if USE_HASH==1
Note: See TracChangeset
for help on using the changeset viewer.