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

Function isColDualSolutionRightSize

highs/lp_data/HighsSolution.cpp:2020–2023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018}
2019
2020bool isColDualSolutionRightSize(const HighsLp& lp,
2021 const HighsSolution& solution) {
2022 return solution.col_dual.size() == static_cast<size_t>(lp.num_col_);
2023}
2024
2025bool isRowDualSolutionRightSize(const HighsLp& lp,
2026 const HighsSolution& solution) {

Callers 2

callRunPostsolveMethod · 0.85
isDualSolutionRightSizeFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected