| 18 | namespace presolve { |
| 19 | |
| 20 | void HighsPostsolveStack::initializeIndexMaps(HighsInt numRow, |
| 21 | HighsInt numCol) { |
| 22 | origNumRow = numRow; |
| 23 | origNumCol = numCol; |
| 24 | |
| 25 | origRowIndex.resize(numRow); |
| 26 | std::iota(origRowIndex.begin(), origRowIndex.end(), 0); |
| 27 | |
| 28 | origColIndex.resize(numCol); |
| 29 | std::iota(origColIndex.begin(), origColIndex.end(), 0); |
| 30 | |
| 31 | linearlyTransformable.resize(numCol, true); |
| 32 | } |
| 33 | |
| 34 | void HighsPostsolveStack::compressIndexMaps( |
| 35 | const std::vector<HighsInt>& newRowIndex, |