CppAD: A C++ Algorithmic Differentiation Package
20130102
|
Files | |
file | cppad_ipopt_nlp.cpp |
Member functions for the cppad_ipopt_nlp class. | |
file | cppad_ipopt_nlp.hpp |
CppAD interface to Ipopt. | |
Functions | |
cppad_ipopt::cppad_ipopt_nlp::cppad_ipopt_nlp (size_t n, size_t m, const NumberVector &x_i, const NumberVector &x_l, const NumberVector &x_u, const NumberVector &g_l, const NumberVector &g_u, cppad_ipopt_fg_info *fg_info, cppad_ipopt_solution *solution) | |
only constructor for cppad_ipopot_nlp | |
virtual | cppad_ipopt::cppad_ipopt_nlp::~cppad_ipopt_nlp () |
The destructor takes no special action. | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::get_nlp_info (Index &n, Index &m, Index &nnz_jac_g, Index &nnz_h_lag, IndexStyleEnum &index_style) |
Return dimension information about optimization problem. | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::get_bounds_info (Index n, Number *x_l, Number *x_u, Index m, Number *g_l, Number *g_u) |
Return bound information about optimization problem. | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::get_starting_point (Index n, bool init_x, Number *x, bool init_z, Number *z_L, Number *z_U, Index m, bool init_lambda, Number *lambda) |
Return initial x value where optimiation is started. | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::eval_f (Index n, const Number *x, bool new_x, Number &obj_value) |
Evaluate the objective fucntion f(x). | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::eval_grad_f (Index n, const Number *x, bool new_x, Number *grad_f) |
Evaluate the gradient of f(x). | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::eval_g (Index n, const Number *x, bool new_x, Index m, Number *g) |
Evaluate the function g(x). | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::eval_jac_g (Index n, const Number *x, bool new_x, Index m, Index nele_jac, Index *iRow, Index *jCol, Number *values) |
Evaluate the Jacobian of g(x). | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::eval_h (Index n, const Number *x, bool new_x, Number obj_factor, Index m, const Number *lambda, bool new_lambda, Index nele_hess, Index *iRow, Index *jCol, Number *values) |
Evaluate the Hessian of the Lagragian. | |
virtual void | cppad_ipopt::cppad_ipopt_nlp::finalize_solution (Ipopt::SolverReturn status, Index n, const Number *x, const Number *z_L, const Number *z_U, Index m, const Number *g, const Number *lambda, Number obj_value, const Ipopt::IpoptData *ip_data, Ipopt::IpoptCalculatedQuantities *ip_cq) |
Pass solution information from Ipopt to users solution structure. | |
virtual bool | cppad_ipopt::cppad_ipopt_nlp::intermediate_callback (Ipopt::AlgorithmMode mode, Index iter, Number obj_value, Number inf_pr, Number inf_du, Number mu, Number d_norm, Number regularization_size, Number alpha_du, Number alpha_pr, Index ls_trials, const Ipopt::IpoptData *ip_data, Ipopt::IpoptCalculatedQuantities *ip_cq) |