MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / warnSolverInvalid

Function warnSolverInvalid

highs/lp_data/HighsOptions.cpp:1162–1168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1160}
1161
1162void 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}
1169bool solverValidForLp(const std::string& solver) {
1170 return solver == kHighsChooseString || solver == kSimplexString ||
1171 solver == kIpmString || solver == kIpxString ||

Callers 1

calledOptimizeModelMethod · 0.85

Calls 2

highsLogUserFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected