All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::IpoptSolver Class Reference

Ipopt based solver. More...

#include <roboptim/core/plugin/ipopt.hh>

Inheritance diagram for roboptim::IpoptSolver:
Collaboration diagram for roboptim::IpoptSolver:

Public Types

typedef Solver
< DifferentiableFunction,
boost::mpl::vector
< LinearFunction,
DifferentiableFunction > > 
solver_t
 RobOptim solver type.
typedef IpoptSolverCommon
< solver_t
parent_t
 Parent type.
typedef DifferentiableFunction commonConstraintFunction_t
 Common function type.
- Public Types inherited from roboptim::IpoptSolverCommon< Solver< DifferentiableFunction, boost::mpl::vector< LinearFunction, DifferentiableFunction > > >
enum  ConstraintType
 Categorize constraints. More...
typedef Solver
< DifferentiableFunction,
boost::mpl::vector
< LinearFunction,
DifferentiableFunction > > 
parent_t
 Parent type.
typedef Solver
< DifferentiableFunction,
boost::mpl::vector
< LinearFunction,
DifferentiableFunction >
>::problem_t 
problem_t

Public Member Functions

 IpoptSolver (const problem_t &problem) throw ()
 Instantiate the solver from a problem.
virtual ~IpoptSolver () throw ()
- Public Member Functions inherited from roboptim::IpoptSolverCommon< Solver< DifferentiableFunction, boost::mpl::vector< LinearFunction, DifferentiableFunction > > >
 IpoptSolverCommon (const problem_t &pb, Ipopt::SmartPtr< Ipopt::TNLP > tnlp) throw ()
 Instantiate the solver from a problem.
virtual ~IpoptSolverCommon () throw ()
void solve () throw ()
 Solve the problem.
virtual Ipopt::SmartPtr
< Ipopt::IpoptApplication > 
getIpoptApplication () throw ()
 Get Ipopt Application object for Ipopt specific tuning.
const boost::shared_ptr
< UserIntermediateCallback > & 
userIntermediateCallback () const
 Retrieve user intermeditate callback.
boost::shared_ptr
< UserIntermediateCallback > & 
userIntermediateCallback ()
 Retrieve user intermeditate callback.

Friends

class ::roboptim::detail::Tnlp

Detailed Description

Ipopt based solver.

Instantiate this solver to solve problems with Ipopt.

Warning
Ipopt needs twice derivable functions, so be sure to provide hessians in your function's problems.

Member Typedef Documentation

typedef DifferentiableFunction roboptim::IpoptSolver::commonConstraintFunction_t

Common function type.

Fuction type which can contain any kind of constraint.

typedef Solver< DifferentiableFunction, boost::mpl::vector<LinearFunction, DifferentiableFunction> > roboptim::IpoptSolver::solver_t

RobOptim solver type.

Constructor & Destructor Documentation

roboptim::IpoptSolver::IpoptSolver ( const problem_t problem) throw ()
explicit

Instantiate the solver from a problem.

Parameters
problemproblem that will be solved
virtual roboptim::IpoptSolver::~IpoptSolver ( ) throw ()
inlinevirtual

Friends And Related Function Documentation

friend class ::roboptim::detail::Tnlp
friend