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

Function highsStatusToString

highs/lp_data/HighsStatus.cpp:12–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <cassert>
11
12std::string highsStatusToString(HighsStatus status) {
13 switch (status) {
14 case HighsStatus::kOk:
15 return "OK";
16 case HighsStatus::kWarning:
17 return "Warning";
18 case HighsStatus::kError:
19 return "Error";
20 default:
21 assert(1 == 0);
22 return "Unrecognised HiGHS status";
23 }
24}
25
26HighsStatus interpretCallStatus(const HighsLogOptions log_options,
27 const HighsStatus call_status,

Callers 7

assessHessianFunction · 0.85
calledOptimizeModelMethod · 0.85
assessLpFunction · 0.85
interpretCallStatusFunction · 0.85
TestSetup.cppFile · 0.85
TestPresolve.cppFile · 0.85
HighsStatusReportFunction · 0.85

Calls

no outgoing calls

Tested by 1

HighsStatusReportFunction · 0.68