| 58 | } |
| 59 | |
| 60 | void HighsPostsolveStack::LinearTransform::undo(const HighsOptions& options, |
| 61 | HighsSolution& solution) const { |
| 62 | solution.col_value[col] *= scale; |
| 63 | solution.col_value[col] += constant; |
| 64 | |
| 65 | if (solution.dual_valid) solution.col_dual[col] /= scale; |
| 66 | } |
| 67 | |
| 68 | void HighsPostsolveStack::LinearTransform::transformToPresolvedSpace( |
| 69 | std::vector<double>& primalSol) const { |
no test coverage detected