1 #ifndef IPOPT_NLP_PROBLEM_DEBUGTEST_H 2 #define IPOPT_NLP_PROBLEM_DEBUGTEST_H 41 virtual bool get_nlp_info(Index& n, Index& m, Index& nnz_jac_g,
42 Index& nnz_h_lag, IndexStyleEnum& index_style);
45 virtual bool get_bounds_info(Index n, Number* x_l, Number* x_u,
46 Index m, Number* g_l, Number* g_u);
49 virtual bool get_starting_point(Index n,
bool init_x, Number* x,
50 bool init_z, Number* z_L, Number* z_U,
51 Index m,
bool init_lambda,
55 virtual bool eval_f(Index n,
const Number* x,
bool new_x, Number& obj_value);
58 virtual bool eval_grad_f(Index n,
const Number* x,
bool new_x, Number* grad_f);
61 virtual bool eval_g(Index n,
const Number* x,
bool new_x, Index m, Number* g);
67 virtual bool eval_jac_g(Index n,
const Number* x,
bool new_x,
68 Index m, Index nele_jac, Index* iRow, Index *jCol,
77 virtual bool eval_h(Index n,
const Number* x,
bool new_x,
78 Number obj_factor, Index m,
const Number* lambda,
79 bool new_lambda, Index nele_hess, Index* iRow,
80 Index* jCol, Number* values);
87 virtual void finalize_solution(SolverReturn status,
88 Index n,
const Number* x,
const Number* z_L,
const Number* z_U,
89 Index m,
const Number* g,
const Number* lambda,
91 const IpoptData* ip_data,
92 IpoptCalculatedQuantities* ip_cq);
114 #endif // IPOPT_NLP_PROBLEM_H