LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
chooseSolver.m
1function solver = chooseSolver(self, method)
2% SOLVER = CHOOSESOLVER(METHOD)
3
4line_debug('AUTO chooseSolver: method=%s, options.method=%s', method, self.options.method);
5
6switch self.options.method
7 case 'default'
8 line_debug('Default method: using heuristic solver selection\n');
9 line_debug('Using heuristic solver selection');
10 solver = chooseSolverHeur(self, method);
11 % case 'ai' % AI method not yet available
12 % solver = chooseSolverAI(self, method);
13 otherwise
14 line_debug('Using heuristic solver selection (fallback)');
15 solver = chooseSolverHeur(self, method);
16end
17
18line_debug('AUTO chooseSolver selected: %s', solver.getName());
19end