iCub-main
Public Member Functions | List of all members
PointingFarNLP Class Reference
+ Inheritance diagram for PointingFarNLP:

Public Member Functions

 PointingFarNLP (ICartesianControl *iarm)
 
virtual ~PointingFarNLP ()
 
void setPoint (const Vector &point)
 
void setFingerJoints (const Vector &finger_joints)
 
void getResult (Vector &q, Vector &x) const
 
bool get_nlp_info (Ipopt::Index &n, Ipopt::Index &m, Ipopt::Index &nnz_jac_g, Ipopt::Index &nnz_h_lag, IndexStyleEnum &index_style)
 
bool get_bounds_info (Ipopt::Index n, Ipopt::Number *x_l, Ipopt::Number *x_u, Ipopt::Index m, Ipopt::Number *g_l, Ipopt::Number *g_u)
 
bool get_starting_point (Ipopt::Index n, bool init_x, Ipopt::Number *x, bool init_z, Ipopt::Number *z_L, Ipopt::Number *z_U, Ipopt::Index m, bool init_lambda, Ipopt::Number *lambda)
 
void setAng (const Ipopt::Number *x)
 
bool eval_f (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Number &obj_value)
 
bool eval_grad_f (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Number *grad_f)
 
bool eval_g (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Index m, Ipopt::Number *g)
 
bool eval_jac_g (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Index m, Ipopt::Index nele_jac, Ipopt::Index *iRow, Ipopt::Index *jCol, Ipopt::Number *values)
 
bool eval_h (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Number obj_factor, Ipopt::Index m, const Ipopt::Number *lambda, bool new_lambda, Ipopt::Index nele_hess, Ipopt::Index *iRow, Ipopt::Index *jCol, Ipopt::Number *values)
 
void finalize_solution (Ipopt::SolverReturn status, Ipopt::Index n, const Ipopt::Number *x, const Ipopt::Number *z_L, const Ipopt::Number *z_U, Ipopt::Index m, const Ipopt::Number *g, const Ipopt::Number *lambda, Ipopt::Number obj_value, const Ipopt::IpoptData *ip_data, Ipopt::IpoptCalculatedQuantities *ip_cq)
 

Detailed Description

Definition at line 47 of file pointing_far.cpp.

Constructor & Destructor Documentation

◆ PointingFarNLP()

PointingFarNLP::PointingFarNLP ( ICartesianControl *  iarm)
inline

Definition at line 56 of file pointing_far.cpp.

◆ ~PointingFarNLP()

virtual PointingFarNLP::~PointingFarNLP ( )
inlinevirtual

Definition at line 108 of file pointing_far.cpp.

Member Function Documentation

◆ eval_f()

bool PointingFarNLP::eval_f ( Ipopt::Index  n,
const Ipopt::Number *  x,
bool  new_x,
Ipopt::Number &  obj_value 
)
inline

Definition at line 193 of file pointing_far.cpp.

◆ eval_g()

bool PointingFarNLP::eval_g ( Ipopt::Index  n,
const Ipopt::Number *  x,
bool  new_x,
Ipopt::Index  m,
Ipopt::Number *  g 
)
inline

Definition at line 217 of file pointing_far.cpp.

◆ eval_grad_f()

bool PointingFarNLP::eval_grad_f ( Ipopt::Index  n,
const Ipopt::Number *  x,
bool  new_x,
Ipopt::Number *  grad_f 
)
inline

Definition at line 204 of file pointing_far.cpp.

◆ eval_h()

bool PointingFarNLP::eval_h ( Ipopt::Index  n,
const Ipopt::Number *  x,
bool  new_x,
Ipopt::Number  obj_factor,
Ipopt::Index  m,
const Ipopt::Number *  lambda,
bool  new_lambda,
Ipopt::Index  nele_hess,
Ipopt::Index *  iRow,
Ipopt::Index *  jCol,
Ipopt::Number *  values 
)
inline

Definition at line 281 of file pointing_far.cpp.

◆ eval_jac_g()

bool PointingFarNLP::eval_jac_g ( Ipopt::Index  n,
const Ipopt::Number *  x,
bool  new_x,
Ipopt::Index  m,
Ipopt::Index  nele_jac,
Ipopt::Index *  iRow,
Ipopt::Index *  jCol,
Ipopt::Number *  values 
)
inline

Definition at line 234 of file pointing_far.cpp.

◆ finalize_solution()

void PointingFarNLP::finalize_solution ( Ipopt::SolverReturn  status,
Ipopt::Index  n,
const Ipopt::Number *  x,
const Ipopt::Number *  z_L,
const Ipopt::Number *  z_U,
Ipopt::Index  m,
const Ipopt::Number *  g,
const Ipopt::Number *  lambda,
Ipopt::Number  obj_value,
const Ipopt::IpoptData *  ip_data,
Ipopt::IpoptCalculatedQuantities *  ip_cq 
)
inline

Definition at line 291 of file pointing_far.cpp.

◆ get_bounds_info()

bool PointingFarNLP::get_bounds_info ( Ipopt::Index  n,
Ipopt::Number *  x_l,
Ipopt::Number *  x_u,
Ipopt::Index  m,
Ipopt::Number *  g_l,
Ipopt::Number *  g_u 
)
inline

Definition at line 154 of file pointing_far.cpp.

◆ get_nlp_info()

bool PointingFarNLP::get_nlp_info ( Ipopt::Index &  n,
Ipopt::Index &  m,
Ipopt::Index &  nnz_jac_g,
Ipopt::Index &  nnz_h_lag,
IndexStyleEnum &  index_style 
)
inline

Definition at line 142 of file pointing_far.cpp.

◆ get_starting_point()

bool PointingFarNLP::get_starting_point ( Ipopt::Index  n,
bool  init_x,
Ipopt::Number *  x,
bool  init_z,
Ipopt::Number *  z_L,
Ipopt::Number *  z_U,
Ipopt::Index  m,
bool  init_lambda,
Ipopt::Number *  lambda 
)
inline

Definition at line 172 of file pointing_far.cpp.

◆ getResult()

void PointingFarNLP::getResult ( Vector &  q,
Vector &  x 
) const
inline

Definition at line 133 of file pointing_far.cpp.

◆ setAng()

void PointingFarNLP::setAng ( const Ipopt::Number *  x)
inline

Definition at line 183 of file pointing_far.cpp.

◆ setFingerJoints()

void PointingFarNLP::setFingerJoints ( const Vector &  finger_joints)
inline

Definition at line 122 of file pointing_far.cpp.

◆ setPoint()

void PointingFarNLP::setPoint ( const Vector &  point)
inline

Definition at line 116 of file pointing_far.cpp.


The documentation for this class was generated from the following file: