Return a string representation of SolutionStatus
| 1362 | |
| 1363 | // Return a string representation of SolutionStatus |
| 1364 | std::string utilSolutionStatusToString(const HighsInt solution_status) { |
| 1365 | switch (solution_status) { |
| 1366 | case kSolutionStatusNone: |
| 1367 | return "None"; |
| 1368 | break; |
| 1369 | case kSolutionStatusInfeasible: |
| 1370 | return "Infeasible"; |
| 1371 | break; |
| 1372 | case kSolutionStatusFeasible: |
| 1373 | return "Feasible"; |
| 1374 | break; |
| 1375 | default: |
| 1376 | assert(1 == 0); |
| 1377 | return "Unrecognised solution status"; |
| 1378 | } |
| 1379 | } |
| 1380 | |
| 1381 | // Return a string representation of HighsBasisStatus |
| 1382 | std::string utilBasisStatusToString(const HighsBasisStatus basis_status) { |
no outgoing calls
no test coverage detected