| 1160 | } |
| 1161 | |
| 1162 | void warnSolverInvalid(const HighsOptions& options, |
| 1163 | const std::string& problem_type) { |
| 1164 | highsLogUser(options.log_options, HighsLogType::kWarning, |
| 1165 | "Solver \"%s\" is not available for %s. Option \"%s\" ignored\n", |
| 1166 | options.solver.c_str(), problem_type.c_str(), |
| 1167 | kSolverString.c_str()); |
| 1168 | } |
| 1169 | bool solverValidForLp(const std::string& solver) { |
| 1170 | return solver == kHighsChooseString || solver == kSimplexString || |
| 1171 | solver == kIpmString || solver == kIpxString || |
no test coverage detected