#include <roboptim/core/plugin/ipopt-common.hh>
Public Types | |
enum | ConstraintType { LINEAR = 0, NONLINEAR = 1 } |
Categorize constraints. More... | |
typedef T | parent_t |
Parent type. | |
typedef T::problem_t | problem_t |
Public Member Functions | |
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. |
Ipopt common solver.
This solver shares common piece of code of the two solvers.
typedef T roboptim::IpoptSolverCommon< T >::parent_t |
Parent type.
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.
|
explicit |
Instantiate the solver from a problem.
problem | problem that will be solved |
|
virtual |
|
virtual |
void roboptim::IpoptSolverCommon< T >::solve | ( | ) | throw () |
Solve the problem.
References MAP_IPOPT_ERRORS, MAP_IPOPT_FATALS, MAP_IPOPT_OKS, SWITCH_ERROR, SWITCH_FATAL, and SWITCH_OK.
|
inline |
Retrieve user intermeditate callback.
|
inline |
Retrieve user intermeditate callback.