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

Function unboundedStatus

check/TestQpSolver.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18};
19
20HighsModelStatus unboundedStatus(const std::string& solver) {
21 return solver == kQpAsmString ? HighsModelStatus::kUnbounded
22 : HighsModelStatus::kUnboundedOrInfeasible;
23}
24
25bool okValueDifference(const double& v_test, const double& v_true) {
26 double difference = fabs(v_test - v_true) / std::max(1.0, fabs(v_true));

Callers 1

TestQpSolver.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected