#include <memory>#include <set>#include <vector>#include "drake/solvers/mathematical_program.h"#include "drake/solvers/solver_id.h"#include "drake/solvers/solver_interface.h"Namespaces | |
| namespace | drake |
| namespace | 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. | |
| const std::set< SolverId > & | GetKnownSolvers () |
| Returns the set of solvers known to ChooseBestSolver. | |
| std::unique_ptr< SolverInterface > | MakeSolver (const SolverId &id) |
| Given the solver ID, create the solver with the matching ID. | |
| std::unique_ptr< SolverInterface > | MakeFirstAvailableSolver (const std::vector< SolverId > &solver_ids) |
| Makes the first available and enabled solver. | |
| 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. | |