Drake
IpoptSolver Class Reference

#include <drake/solvers/IpoptSolver.h>

Inheritance diagram for IpoptSolver:
Collaboration diagram for IpoptSolver:

Public Member Functions

bool available () const override
 Returns true iff this solver was enabled at compile-time. More...
 
SolutionResult Solve (OptimizationProblem &prog) const override
 Sets values for the decision variables on the given OptimizationProblem prog, or: More...
 
- Public Member Functions inherited from MathematicalProgramSolverInterface
virtual ~MathematicalProgramSolverInterface ()=default
 

Member Function Documentation

bool available ( ) const
overridevirtual

Returns true iff this solver was enabled at compile-time.

Implements MathematicalProgramSolverInterface.

SolutionResult Solve ( OptimizationProblem prog) const
overridevirtual

Sets values for the decision variables on the given OptimizationProblem prog, or:

  • If no solver is available, throws std::runtime_error
  • If the solver returns an error, returns a nonzero SolutionResult.

Implements MathematicalProgramSolverInterface.

Here is the call graph for this function:


The documentation for this class was generated from the following files: