MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / undoPrimal

Method undoPrimal

highs/presolve/HighsPostsolveStack.h:780–790  ·  view source on GitHub ↗

undo presolve steps for primal solution

Source from the content-addressed store, hash-verified

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

Calls 1

resetPositionMethod · 0.80

Tested by

no test coverage detected