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

Public Member Functions

 CalibReferenceWithMatchedPointsNLP (const deque< Vector > &_p0, const deque< Vector > &_p1, const Vector &_min, const Vector &_max)
 
virtual void set_x0 (const Vector &x0)
 
virtual 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 > & p0
 
const deque< Vector > & p1
 
Vector min
 
Vector max
 
Vector x0
 
Vector x
 

Detailed Description

Definition at line 64 of file calibReference.cpp.

Constructor & Destructor Documentation

◆ CalibReferenceWithMatchedPointsNLP()

iCub::optimization::CalibReferenceWithMatchedPointsNLP::CalibReferenceWithMatchedPointsNLP ( const deque< Vector > &  _p0,
const deque< Vector > &  _p1,
const Vector &  _min,
const Vector &  _max 
)
inline

Definition at line 77 of file calibReference.cpp.

Member Function Documentation

◆ eval_f()

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

Definition at line 137 of file calibReference.cpp.

◆ eval_g()

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

Definition at line 208 of file calibReference.cpp.

◆ eval_grad_f()

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

Definition at line 155 of file calibReference.cpp.

◆ eval_h()

bool iCub::optimization::CalibReferenceWithMatchedPointsNLP::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 223 of file calibReference.cpp.

◆ eval_jac_g()

bool iCub::optimization::CalibReferenceWithMatchedPointsNLP::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 215 of file calibReference.cpp.

◆ finalize_solution()

void iCub::optimization::CalibReferenceWithMatchedPointsNLP::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 232 of file calibReference.cpp.

◆ get_bounds_info()

bool iCub::optimization::CalibReferenceWithMatchedPointsNLP::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 113 of file calibReference.cpp.

◆ get_nlp_info()

bool iCub::optimization::CalibReferenceWithMatchedPointsNLP::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 102 of file calibReference.cpp.

◆ get_result()

virtual Vector iCub::optimization::CalibReferenceWithMatchedPointsNLP::get_result ( ) const
inlinevirtual

Definition at line 96 of file calibReference.cpp.

◆ get_starting_point()

bool iCub::optimization::CalibReferenceWithMatchedPointsNLP::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 126 of file calibReference.cpp.

◆ set_x0()

virtual void iCub::optimization::CalibReferenceWithMatchedPointsNLP::set_x0 ( const Vector &  x0)
inlinevirtual

Definition at line 88 of file calibReference.cpp.

Member Data Documentation

◆ max

Vector iCub::optimization::CalibReferenceWithMatchedPointsNLP::max
protected

Definition at line 71 of file calibReference.cpp.

◆ min

Vector iCub::optimization::CalibReferenceWithMatchedPointsNLP::min
protected

Definition at line 70 of file calibReference.cpp.

◆ p0

const deque<Vector>& iCub::optimization::CalibReferenceWithMatchedPointsNLP::p0
protected

Definition at line 67 of file calibReference.cpp.

◆ p1

const deque<Vector>& iCub::optimization::CalibReferenceWithMatchedPointsNLP::p1
protected

Definition at line 68 of file calibReference.cpp.

◆ x

Vector iCub::optimization::CalibReferenceWithMatchedPointsNLP::x
protected

Definition at line 73 of file calibReference.cpp.

◆ x0

Vector iCub::optimization::CalibReferenceWithMatchedPointsNLP::x0
protected

Definition at line 72 of file calibReference.cpp.


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