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

Ipopt based solver. More...

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

Inheritance diagram for roboptim::IpoptSolverTd:
roboptim::IpoptSolverCommon< Solver< EigenMatrixDense > >

Public Types

typedef Solver< EigenMatrixDense > solver_t
 RobOptim solver type. More...
 
typedef IpoptSolverCommon
< solver_t
parent_t
 Parent type. More...
 
typedef TwiceDifferentiableFunction commonConstraintFunction_t
 Common function type. More...
 
- Public Types inherited from roboptim::IpoptSolverCommon< Solver< EigenMatrixDense > >
enum  ConstraintType
 Categorize constraints. More...
 
typedef Solver< EigenMatrixDense > parent_t
 Parent type. More...
 
typedef Solver
< EigenMatrixDense >
::callback_t 
callback_t
 
typedef Solver
< EigenMatrixDense >
::problem_t 
problem_t
 
typedef problem_t::function_t function_t
 
typedef problem_t::argument_t argument_t
 

Public Member Functions

 IpoptSolverTd (const problem_t &problem)
 Instantiate the solver from a problem. More...
 
virtual ~IpoptSolverTd ()
 
- Public Member Functions inherited from roboptim::IpoptSolverCommon< Solver< EigenMatrixDense > >
 IpoptSolverCommon (const problem_t &pb, Ipopt::SmartPtr< Ipopt::TNLP > tnlp)
 Instantiate the solver from a problem. More...
 
virtual ~IpoptSolverCommon ()
 
void solve ()
 Solve the problem. More...
 
virtual Ipopt::SmartPtr
< Ipopt::IpoptApplication > 
getIpoptApplication ()
 Get Ipopt Application object for Ipopt specific tuning. More...
 
virtual void setIterationCallback (callback_t callback)
 
const callback_t & callback () const
 
const argument_tstartingPoint () const
 
bool userScaling () const
 Whether user scaling is used. More...
 

Friends

template<typename T >
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 TwiceDifferentiableFunction roboptim::IpoptSolverTd::commonConstraintFunction_t

Common function type.

Fuction type which can contain any kind of constraint.

typedef Solver<EigenMatrixDense> roboptim::IpoptSolverTd::solver_t

RobOptim solver type.

Constructor & Destructor Documentation

roboptim::IpoptSolverTd::IpoptSolverTd ( const problem_t problem)
explicit

Instantiate the solver from a problem.

Parameters
problemproblem that will be solved

References roboptim::IpoptSolverCommon< Solver< EigenMatrixDense > >::getIpoptApplication().

virtual roboptim::IpoptSolverTd::~IpoptSolverTd ( )
inlinevirtual

Friends And Related Function Documentation

template<typename T >
friend class ::roboptim::detail::Tnlp
friend