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

Function debugCompareHighsInfoStatus

highs/lp_data/HighsSolutionDebug.cpp:400–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400HighsDebugStatus debugCompareHighsInfoStatus(const HighsOptions& options,
401 const HighsInfo& highs_info0,
402 const HighsInfo& highs_info1) {
403 HighsDebugStatus return_status = HighsDebugStatus::kOk;
404 return_status = debugWorseStatus(
405 debugCompareHighsInfoInteger("primal_status", options,
406 highs_info0.primal_solution_status,
407 highs_info1.primal_solution_status),
408 return_status);
409 return_status = debugWorseStatus(
410 debugCompareHighsInfoInteger("dual_status", options,
411 highs_info0.dual_solution_status,
412 highs_info1.dual_solution_status),
413 return_status);
414 return return_status;
415}
416
417HighsDebugStatus debugCompareHighsInfoInfeasibility(
418 const HighsOptions& options, const HighsInfo& highs_info0,

Callers 1

debugCompareHighsInfoFunction · 0.85

Calls 2

debugWorseStatusFunction · 0.85

Tested by

no test coverage detected