MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / defaultSolver

Method defaultSolver

MiniZincIDE/process.cpp:226–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226Solver* MznDriver::defaultSolver(void)
227{
228 for (auto* solver : solvers()) {
229 if (solver->isDefaultSolver) {
230 return solver;
231 }
232 }
233 return nullptr;
234}
235
236void MznDriver::setDefaultSolver(const Solver& s)
237{

Callers 2

loadJSONMethod · 0.80
loadLegacyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected