Drake
Drake C++ Documentation
solve.h File Reference
#include <optional>
#include <string>
#include <vector>
#include "drake/solvers/mathematical_program.h"
#include "drake/solvers/mathematical_program_result.h"
#include "drake/solvers/solver_base.h"
Include dependency graph for solve.h:

Namespaces

 drake
 
 drake::solvers
 

Functions

MathematicalProgramResult Solve (const MathematicalProgram &prog, const std::optional< Eigen::VectorXd > &initial_guess, const std::optional< SolverOptions > &solver_options)
 Solves an optimization program, with optional initial guess and solver options. More...
 
MathematicalProgramResult Solve (const MathematicalProgram &prog, const Eigen::Ref< const Eigen::VectorXd > &initial_guess)
 Solves an optimization program with a given initial guess. More...
 
MathematicalProgramResult Solve (const MathematicalProgram &prog)