![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Constraints for minimizing without any constraint. More...
#include <Real_value_function_minimizer.hpp>
Public Types | |
typedef T_Minimizer_parameters_without_constraint< PointType, RealValueFunction, GradientFunction > | Self |
typedef Ipopt::TNLP | Base |
typedef PointType | Point |
typedef SBL::Models::T_Conformation_traits< Point > | Conformation_traits |
Public Member Functions | |
T_Minimizer_parameters_without_constraint (const Point *point) | |
Point * | get_minimum (void) |
Overloaded from TNLP | |
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) |
Solution Methods | |
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) |
Constraints for minimizing without any constraint.
Constraints for minimizing without any constraint
PointType | Point type argument of the real value function. |
RealValueFunction | Functor taking a Point type and returning a value. |
GradientFunction | Gradient of the function represented by RealValueFunction. |
typedef Ipopt::TNLP Base |
typedef PointType Point |
typedef T_Minimizer_parameters_without_constraint<PointType, RealValueFunction, GradientFunction> Self |
|
inline |
constructor initializing the init point
|
inline |
Method to return the objective value
|
inline |
Method to return the constraint residuals
|
inline |
Method to return the gradient of the objective
|
inline |
Method to return: 1) The structure of the jacobian (if "values" is NULL) 2) The values of the jacobian (if "values" is not NULL)
|
inline |
This method is called when the algorithm is complete so the TNLP can store/write the solution
|
inline |
Method to return the bounds for my problem
|
inline |
|
inline |
Method to return some info about the nlp
|
inline |
Method to return the starting point for the algorithm