| 223 | } |
| 224 | |
| 225 | HighsDebugStatus debugBasisRightSize(const HighsOptions& options, |
| 226 | const HighsLp& lp, |
| 227 | const HighsBasis& basis) { |
| 228 | if (options.highs_debug_level < kHighsDebugLevelCheap) |
| 229 | return HighsDebugStatus::kNotChecked; |
| 230 | HighsDebugStatus return_status = HighsDebugStatus::kOk; |
| 231 | bool right_size = isBasisRightSize(lp, basis); |
| 232 | if (!right_size) { |
| 233 | highsLogUser(options.log_options, HighsLogType::kError, |
| 234 | "HiGHS basis size error\n"); |
| 235 | assert(right_size); |
| 236 | return_status = HighsDebugStatus::kLogicalError; |
| 237 | } |
| 238 | return return_status; |
| 239 | } |
| 240 | |
| 241 | HighsDebugStatus debugPrimalSolutionRightSize(const HighsOptions& options, |
| 242 | const HighsLp& lp, |
no test coverage detected