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

Method getIterate

highs/simplex/HEkk.cpp:3825–3837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3823}
3824
3825HighsStatus HEkk::getIterate() {
3826 SimplexIterate& iterate = this->simplex_nla_.simplex_iterate_;
3827 if (!iterate.valid_) return HighsStatus::kError;
3828 this->simplex_nla_.getInvert();
3829 this->basis_ = iterate.basis_;
3830 if (iterate.dual_edge_weight_.size()) {
3831 this->dual_edge_weight_ = iterate.dual_edge_weight_;
3832 } else {
3833 this->status_.has_dual_steepest_edge_weights = false;
3834 }
3835 this->status_.has_invert = true;
3836 return HighsStatus::kOk;
3837}
3838
3839double HEkk::factorSolveError() {
3840 // Cheap assessment of factor accuracy.

Callers 3

solveLpMethod · 0.45
~PlaygroundMethod · 0.45
TestFactor.cppFile · 0.45

Calls 2

getInvertMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected