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

Function computeRowStatus

highs/presolve/HighsPostsolveStack.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74static HighsBasisStatus computeRowStatus(double dual,
75 HighsPostsolveStack::RowType rowType) {
76 if (rowType == HighsPostsolveStack::RowType::kEq)
77 return dual < 0 ? HighsBasisStatus::kUpper : HighsBasisStatus::kLower;
78 else if (rowType == HighsPostsolveStack::RowType::kGeq)
79 return HighsBasisStatus::kLower;
80 else
81 return HighsBasisStatus::kUpper;
82}
83
84void HighsPostsolveStack::FreeColSubstitution::undo(
85 const HighsOptions& options, const std::vector<Nonzero>& rowValues,

Callers 1

undoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected