MCPcopy Create free account
hub / github.com/cvanaret/Uno / status_to_string

Method status_to_string

uno/optimization/Direction.cpp:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 std::string Direction::status_to_string(SubproblemStatus status) {
41 switch (status) {
42 case SubproblemStatus::OPTIMAL:
43 return "optimal";
44 case SubproblemStatus::UNBOUNDED_PROBLEM:
45 return "unbounded subproblem";
46 case SubproblemStatus::INFEASIBLE:
47 return "infeasible subproblem";
48 default:
49 return "unknown status, something went wrong";
50 }
51 }
52} // namespace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected