| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected