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

Method putIterate

highs/simplex/HEkk.cpp:3811–3823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3809}
3810
3811void HEkk::putIterate() {
3812 assert(this->status_.has_invert);
3813 SimplexIterate& iterate = this->simplex_nla_.simplex_iterate_;
3814 this->simplex_nla_.putInvert();
3815 iterate.basis_ = this->basis_;
3816 if (this->status_.has_dual_steepest_edge_weights) {
3817 // Copy the dual edge weights
3818 iterate.dual_edge_weight_ = this->dual_edge_weight_;
3819 } else {
3820 // Clear to indicate no weights
3821 iterate.dual_edge_weight_.clear();
3822 }
3823}
3824
3825HighsStatus HEkk::getIterate() {
3826 SimplexIterate& iterate = this->simplex_nla_.simplex_iterate_;

Callers 2

solveLpMethod · 0.45
TestFactor.cppFile · 0.45

Calls 2

putInvertMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected