#include <roboptim/core/plugin/ipopt/ipopt-common.hh>
| Public Types | |
| enum | ConstraintType { LINEAR = 0, NONLINEAR = 1 } | 
| Categorize constraints.  More... | |
| typedef T | parent_t | 
| Parent type. | |
| typedef T::callback_t | callback_t | 
| typedef T::problem_t | problem_t | 
| Public Member Functions | |
| IpoptSolverCommon (const problem_t &pb, Ipopt::SmartPtr< Ipopt::TNLP > tnlp) | |
| Instantiate the solver from a problem. | |
| virtual | ~IpoptSolverCommon () | 
| void | solve () | 
| Solve the problem. | |
| virtual Ipopt::SmartPtr < Ipopt::IpoptApplication > | getIpoptApplication () | 
| Get Ipopt Application object for Ipopt specific tuning. | |
| virtual void | setIterationCallback (callback_t callback) | 
| const callback_t & | callback () const | 
Ipopt common solver.
This solver shares common piece of code of the two solvers.
| typedef T::callback_t roboptim::IpoptSolverCommon< T >::callback_t | 
| typedef T roboptim::IpoptSolverCommon< T >::parent_t | 
Parent type.
Reimplemented in roboptim::IpoptSolverSparse, roboptim::IpoptSolver, and roboptim::IpoptSolverTd.
| typedef T::problem_t roboptim::IpoptSolverCommon< T >::problem_t | 
| enum roboptim::IpoptSolverCommon::ConstraintType | 
Categorize constraints.
Used with the which method of the Boost.Variant, it allows to check for a constraint's real type.
| roboptim::IpoptSolverCommon< T >::IpoptSolverCommon | ( | const problem_t & | pb, | 
| Ipopt::SmartPtr< Ipopt::TNLP > | tnlp | ||
| ) |  [explicit] | 
Instantiate the solver from a problem.
| pb | problem that will be solved. | 
| tnlp | pointer to Ipopt solver. | 
IPOPT_VERSION_MAJOR
| roboptim::IpoptSolverCommon< T >::~IpoptSolverCommon | ( | ) |  [virtual] | 
| const callback_t& roboptim::IpoptSolverCommon< T >::callback | ( | ) | const  [inline] | 
| Ipopt::SmartPtr< Ipopt::IpoptApplication > roboptim::IpoptSolverCommon< T >::getIpoptApplication | ( | ) |  [virtual] | 
| virtual void roboptim::IpoptSolverCommon< T >::setIterationCallback | ( | callback_t | callback | ) |  [inline, virtual] | 
| void roboptim::IpoptSolverCommon< T >::solve | ( | ) | 
Solve the problem.
References MAP_IPOPT_ERRORS, MAP_IPOPT_FATALS, MAP_IPOPT_OKS, SWITCH_ERROR, SWITCH_FATAL, and SWITCH_OK.