|
| IpoptRNLP () |
| default constructor More...
|
|
virtual | ~IpoptRNLP () |
| default destructor More...
|
|
void | set_R_environment (SEXP env) |
|
void | set_R_eval_f (SEXP f) |
|
void | set_R_eval_grad_f (SEXP f) |
|
void | set_R_init_values (SEXP x0) |
|
void | set_R_lower_bounds (SEXP lb) |
|
void | set_R_upper_bounds (SEXP ub) |
|
void | set_R_eval_g (SEXP g) |
|
void | set_R_eval_jac_g (SEXP g) |
|
void | set_R_eval_jac_g_structure (SEXP s) |
|
void | set_R_constraint_lower_bounds (SEXP lb) |
|
void | set_R_constraint_upper_bounds (SEXP ub) |
|
void | set_R_eval_h (SEXP h) |
|
void | set_R_eval_h_structure (SEXP s) |
|
void | set_hessian_approximation (bool b) |
|
SEXP | get_R_result_list () |
|
|
virtual bool | get_nlp_info (Ipopt::Index &n, Ipopt::Index &m, Ipopt::Index &nnz_jac_g, Ipopt::Index &nnz_h_lag, IndexStyleEnum &Index_style) |
| Method to return some info about the nlp. More...
|
|
virtual 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) |
| Method to return the bounds for my problem. More...
|
|
virtual 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) |
| Method to return the starting point for the algorithm. More...
|
|
virtual bool | eval_f (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Number &obj_value) |
| Method to return the objective value. More...
|
|
virtual bool | eval_grad_f (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Number *grad_f) |
| Method to return the gradient of the objective. More...
|
|
virtual bool | eval_g (Ipopt::Index n, const Ipopt::Number *x, bool new_x, Ipopt::Index m, Ipopt::Number *g) |
| Method to return the constraint residuals. More...
|
|
virtual 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) |
| Method to return: 1) The structure of the jacobian (if "values" is NULL) 2) The values of the jacobian (if "values" is not NULL) More...
|
|
virtual 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) |
| Method 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) More...
|
|
|
virtual 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) |
| This method is called when the algorithm is complete so the TNLP can store/write the solution. More...
|
|
| DECLARE_STD_EXCEPTION (INVALID_TNLP) |
|
| TNLP () |
|
virtual | ~TNLP () |
| Default destructor. More...
|
|
virtual void | finalize_metadata (Index n, const StringMetaDataMapType &var_string_md, const IntegerMetaDataMapType &var_integer_md, const NumericMetaDataMapType &var_numeric_md, Index m, const StringMetaDataMapType &con_string_md, const IntegerMetaDataMapType &con_integer_md, const NumericMetaDataMapType &con_numeric_md) |
| This method is called just before finalize_solution. More...
|
|
virtual bool | intermediate_callback (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 IpoptData *ip_data, IpoptCalculatedQuantities *ip_cq) |
| Intermediate Callback method for the user. More...
|
|
virtual Index | get_number_of_nonlinear_variables () |
|
virtual bool | get_list_of_nonlinear_variables (Index num_nonlin_vars, Index *pos_nonlin_vars) |
|
virtual bool | get_var_con_metadata (Index n, StringMetaDataMapType &var_string_md, IntegerMetaDataMapType &var_integer_md, NumericMetaDataMapType &var_numeric_md, Index m, StringMetaDataMapType &con_string_md, IntegerMetaDataMapType &con_integer_md, NumericMetaDataMapType &con_numeric_md) |
| overload this method to return any meta data for the variables and the constraints More...
|
|
virtual bool | get_scaling_parameters (Number &obj_scaling, bool &use_x_scaling, Index n, Number *x_scaling, bool &use_g_scaling, Index m, Number *g_scaling) |
| overload this method to return scaling parameters. More...
|
|
virtual bool | get_variables_linearity (Index n, LinearityType *var_types) |
| overload this method to return the variables linearity (TNLP::LINEAR or TNLP::NON_LINEAR). More...
|
|
virtual bool | get_constraints_linearity (Index m, LinearityType *const_types) |
| overload this method to return the constraint linearity. More...
|
|
virtual bool | get_warm_start_iterate (IteratesVector &warm_start_iterate) |
| overload this method to provide an Ipopt iterate (already in the form Ipopt requires it internally) for a warm start. More...
|
|
| ReferencedObject () |
|
virtual | ~ReferencedObject () |
|
Index | ReferenceCount () const |
|
void | AddRef (const Referencer *referencer) const |
|
void | ReleaseRef (const Referencer *referencer) const |
|
Definition at line 31 of file IpoptRNLP.hpp.