| 442 | |
| 443 | template <typename ColStorageFormat> |
| 444 | void removedFixedCol(HighsInt col, double fixValue, double colCost, |
| 445 | const HighsMatrixSlice<ColStorageFormat>& colVec) { |
| 446 | assert(std::isfinite(fixValue)); |
| 447 | colValues.clear(); |
| 448 | for (const HighsSliceNonzero& colVal : colVec) |
| 449 | colValues.emplace_back(origRowIndex[colVal.index()], colVal.value()); |
| 450 | |
| 451 | reductionValues.push(FixedCol{fixValue, colCost, origColIndex[col], |
| 452 | HighsBasisStatus::kNonbasic}); |
| 453 | reductionValues.push(colValues); |
| 454 | reductionAdded(ReductionType::kFixedCol); |
| 455 | } |
| 456 | |
| 457 | void redundantRow(HighsInt row) { |
| 458 | reductionValues.push(RedundantRow{origRowIndex[row]}); |
no test coverage detected