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

Ipopt based solver. More...

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

Inheritance diagram for roboptim::IpoptSolverSparse:
roboptim::IpoptSolverCommon< Solver< EigenMatrixSparse > >

Public Types

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

Public Member Functions

 IpoptSolverSparse (const problem_t &problem)
 Instantiate the solver from a problem. More...
 
virtual ~IpoptSolverSparse ()
 
- Public Member Functions inherited from roboptim::IpoptSolverCommon< Solver< EigenMatrixSparse > >
 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_tcallback () 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-differentiable functions, so be sure to provide hessians in your function's problems.

Member Typedef Documentation

typedef DifferentiableSparseFunction roboptim::IpoptSolverSparse::commonConstraintFunction_t

Common function type.

Fuction type which can contain any kind of constraint.

typedef Solver<EigenMatrixSparse> roboptim::IpoptSolverSparse::solver_t

RobOptim solver type.

Constructor & Destructor Documentation

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

Instantiate the solver from a problem.

Parameters
problemproblem that will be solved

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

virtual roboptim::IpoptSolverSparse::~IpoptSolverSparse ( )
inlinevirtual

Friends And Related Function Documentation

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