Drake
Drake C++ Documentation
choose_best_solver.h File Reference
#include <memory>
#include <set>
#include <vector>
#include "drake/solvers/mathematical_program.h"
#include "drake/solvers/solver_id.h"
#include "drake/solvers/solver_interface.h"
Include dependency graph for choose_best_solver.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 drake
 
 drake::solvers
 

Functions

SolverId ChooseBestSolver (const MathematicalProgram &prog)
 Choose the best solver given the formulation in the optimization program and the availability of the solvers. More...
 
const std::set< SolverId > & GetKnownSolvers ()
 Returns the set of solvers known to ChooseBestSolver. More...
 
std::unique_ptr< SolverInterface > MakeSolver (const SolverId &id)
 Given the solver ID, create the solver with the matching ID. More...
 
std::unique_ptr< SolverInterface > MakeFirstAvailableSolver (const std::vector< SolverId > &solver_ids)
 Makes the first available and enabled solver. More...
 
std::vector< SolverId > GetAvailableSolvers (ProgramType prog_type)
 Returns the list of available and enabled solvers that definitely accept all programs of the given program type. More...