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

Method undo

highs/presolve/HighsPostsolveStack.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void 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
68void HighsPostsolveStack::LinearTransform::transformToPresolvedSpace(
69 std::vector<double>& primalSol) const {

Callers 1

debugMethod · 0.45

Calls 6

computeRowStatusFunction · 0.85
computeStatusFunction · 0.85
fractionalityFunction · 0.85
utilBasisStatusToStringFunction · 0.85
isModelRowMethod · 0.80
c_strMethod · 0.80

Tested by

no test coverage detected