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

Function isBasisRightSize

highs/lp_data/HighsSolution.cpp:2040–2043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040bool isBasisRightSize(const HighsLp& lp, const HighsBasis& basis) {
2041 return basis.col_status.size() == static_cast<size_t>(lp.num_col_) &&
2042 basis.row_status.size() == static_cast<size_t>(lp.num_row_);
2043}
2044
2045bool reportKktFailures(const HighsLp& lp, const HighsOptions& options,
2046 const HighsInfo& info, const std::string& message) {

Callers 4

setBasisMethod · 0.70
debugBasisRightSizeFunction · 0.70
refineBasisFunction · 0.70
isBasisConsistentFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected