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

Public Member Functions

 EyeAlignerNLP (const deque< Vector > &_p2d, const deque< Vector > &_p3d, const Vector &_min, const Vector &_max, const Matrix &_Prj)
 
void set_x0 (const Vector &x0)
 
Vector get_result () 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)
 
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)
 

Protected Attributes

const deque< Vector > & p2d
 
const deque< Vector > & p3d
 
const Matrix & Prj
 
Vector min
 
Vector max
 
Vector x0
 
Vector x
 

Detailed Description

Definition at line 61 of file nlp.cpp.

Constructor & Destructor Documentation

◆ EyeAlignerNLP()

EyeAlignerNLP::EyeAlignerNLP ( const deque< Vector > &  _p2d,
const deque< Vector > &  _p3d,
const Vector &  _min,
const Vector &  _max,
const Matrix &  _Prj 
)
inline

Definition at line 75 of file nlp.cpp.

Member Function Documentation

◆ eval_f()

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

Definition at line 136 of file nlp.cpp.

◆ eval_g()

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

Definition at line 269 of file nlp.cpp.

◆ eval_grad_f()

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

Definition at line 160 of file nlp.cpp.

◆ eval_h()

bool EyeAlignerNLP::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 285 of file nlp.cpp.

◆ eval_jac_g()

bool EyeAlignerNLP::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 276 of file nlp.cpp.

◆ finalize_solution()

void EyeAlignerNLP::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 295 of file nlp.cpp.

◆ get_bounds_info()

bool EyeAlignerNLP::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 112 of file nlp.cpp.

◆ get_nlp_info()

bool EyeAlignerNLP::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 101 of file nlp.cpp.

◆ get_result()

Vector EyeAlignerNLP::get_result ( ) const
inline

Definition at line 95 of file nlp.cpp.

◆ get_starting_point()

bool EyeAlignerNLP::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 125 of file nlp.cpp.

◆ set_x0()

void EyeAlignerNLP::set_x0 ( const Vector &  x0)
inline

Definition at line 87 of file nlp.cpp.

Member Data Documentation

◆ max

Vector EyeAlignerNLP::max
protected

Definition at line 69 of file nlp.cpp.

◆ min

Vector EyeAlignerNLP::min
protected

Definition at line 68 of file nlp.cpp.

◆ p2d

const deque<Vector>& EyeAlignerNLP::p2d
protected

Definition at line 64 of file nlp.cpp.

◆ p3d

const deque<Vector>& EyeAlignerNLP::p3d
protected

Definition at line 65 of file nlp.cpp.

◆ Prj

const Matrix& EyeAlignerNLP::Prj
protected

Definition at line 66 of file nlp.cpp.

◆ x

Vector EyeAlignerNLP::x
protected

Definition at line 71 of file nlp.cpp.

◆ x0

Vector EyeAlignerNLP::x0
protected

Definition at line 70 of file nlp.cpp.


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