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

Function isColPrimalSolutionRightSize

highs/lp_data/HighsSolution.cpp:2004–2007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2002}
2003
2004bool isColPrimalSolutionRightSize(const HighsLp& lp,
2005 const HighsSolution& solution) {
2006 return solution.col_value.size() == static_cast<size_t>(lp.num_col_);
2007}
2008
2009bool isRowPrimalSolutionRightSize(const HighsLp& lp,
2010 const HighsSolution& solution) {

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected