FFSM++
1.1.0
French Forest Sector Model ++
|
#include <Adolc_debugtest.h>
Public Member Functions | |
MyADOLC_NLP () | |
virtual | ~MyADOLC_NLP () |
virtual void | generate_tapes (Index n, Index m) |
Overloaded from TNLP | |
virtual bool | get_nlp_info (Index &n, Index &m, Index &nnz_jac_g, Index &nnz_h_lag, IndexStyleEnum &index_style) |
virtual bool | get_bounds_info (Index n, Number *x_l, Number *x_u, Index m, Number *g_l, Number *g_u) |
virtual bool | 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) |
template<class T > | |
bool | eval_obj (Index n, const T *x, T &obj_value) |
template<class T > | |
bool | eval_constraints (Index n, const T *x, Index m, T *g) |
virtual bool | eval_f (Index n, const Number *x, bool new_x, Number &obj_value) |
virtual bool | eval_grad_f (Index n, const Number *x, bool new_x, Number *grad_f) |
virtual bool | eval_g (Index n, const Number *x, bool new_x, Index m, Number *g) |
virtual bool | eval_jac_g (Index n, const Number *x, bool new_x, Index m, Index nele_jac, Index *iRow, Index *jCol, Number *values) |
virtual bool | 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) |
Solution Methods | |
virtual void | finalize_solution (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 IpoptData *ip_data, IpoptCalculatedQuantities *ip_cq) |
Methods to block default compiler methods. | |
double ** | Jac |
double * | x_lam |
double ** | Hess |
MyADOLC_NLP (const MyADOLC_NLP &) | |
MyADOLC_NLP & | operator= (const MyADOLC_NLP &) |
Definition at line 37 of file Adolc_debugtest.h.
MyADOLC_NLP | ( | ) |
|
virtual |
|
private |
bool eval_constraints | ( | Index | n, |
const T * | x, | ||
Index | m, | ||
T * | g | ||
) |
Template to compute contraints
Definition at line 116 of file Adolc_debugtest.cpp.
|
virtual |
Original method from Ipopt to return the objective value remains unchanged
Definition at line 136 of file Adolc_debugtest.cpp.
|
virtual |
Original method from Ipopt to return the constraint residuals remains unchanged
Definition at line 151 of file Adolc_debugtest.cpp.
|
virtual |
Original method from Ipopt to return the gradient of the objective remains unchanged
Definition at line 143 of file Adolc_debugtest.cpp.
|
virtual |
Original method from Ipopt to return: 1) The structure of the hessian of the lagrangian (if "values" is NULL) 2) The values of the hessian of the lagrangian (if "values" is not NULL)remains unchanged
Definition at line 190 of file Adolc_debugtest.cpp.
|
virtual |
Original method from Ipopt to return: 1) The structure of the jacobian (if "values" is NULL) 2) The values of the jacobian (if "values" is not NULL)remains unchanged
Definition at line 159 of file Adolc_debugtest.cpp.
bool eval_obj | ( | Index | n, |
const T * | x, | ||
T & | obj_value | ||
) |
Template to return the objective value
Definition at line 103 of file Adolc_debugtest.cpp.
|
virtual |
This method is called when the algorithm is complete so the TNLP can store/write the solution
Definition at line 237 of file Adolc_debugtest.cpp.
|
virtual |
Method to generate the required tapes
Definition at line 264 of file Adolc_debugtest.cpp.
|
virtual |
Method to return the bounds for my problem
Definition at line 61 of file Adolc_debugtest.cpp.
|
virtual |
Method to return some info about the nlp
Definition at line 39 of file Adolc_debugtest.cpp.
|
virtual |
Method to return the starting point for the algorithm
Definition at line 79 of file Adolc_debugtest.cpp.
|
private |
|
private |
Definition at line 141 of file Adolc_debugtest.h.
|
private |
Definition at line 138 of file Adolc_debugtest.h.
|
private |
Definition at line 140 of file Adolc_debugtest.h.