| 2507 | } |
| 2508 | |
| 2509 | HighsStatus readSolutionFileReturn(const HighsStatus status, |
| 2510 | HighsSolution& solution, HighsBasis& basis, |
| 2511 | const HighsSolution& read_solution, |
| 2512 | const HighsBasis& read_basis, |
| 2513 | std::ifstream& in_file) { |
| 2514 | in_file.close(); |
| 2515 | if (status != HighsStatus::kOk) { |
| 2516 | return status; |
| 2517 | } |
| 2518 | solution = read_solution; |
| 2519 | basis = read_basis; |
| 2520 | return HighsStatus::kOk; |
| 2521 | } |
| 2522 | |
| 2523 | bool readSolutionFileIgnoreLineOk(std::ifstream& in_file) { |
| 2524 | if (in_file.eof()) return false; |
no test coverage detected