undo presolve steps for primal solution
| 778 | |
| 779 | /// undo presolve steps for primal solution |
| 780 | void undoPrimal(const HighsOptions& options, HighsSolution& solution, |
| 781 | const HighsInt report_col = -1, |
| 782 | const bool thread_safe = false) { |
| 783 | // Call to reductionValues.resetPosition(); seems unnecessary as |
| 784 | // it's the first thing done in undo |
| 785 | if (!thread_safe) reductionValues.resetPosition(); |
| 786 | HighsBasis basis; |
| 787 | basis.valid = false; |
| 788 | solution.dual_valid = false; |
| 789 | undo(options, solution, basis, report_col, thread_safe); |
| 790 | } |
| 791 | |
| 792 | /* |
| 793 | // Not used |
no test coverage detected