Function for creating a new CNLP_Problem object. This function returns an object that can
be passed to the cnlp_solve call. It contains the basic definition of the optimization
problem via various callbacks.
Initialize the solution vectors in the nlp. Calling this is required before calling
cnlp_get_solver_data. This function will call the necessary initialization callbacks provided
by the user.
Setting a callback function for the “intermediate callback” method in the TNLP. This gives
control back to the user once per iteration. If set, it provides the user with some
information on the state of the optimization. This can be used to print some user-defined
output. It also gives the user a way to terminate the optimization prematurely. If the
callback method returns 0, Ipopt will terminate the optimization. Calling this set method to
set the CB pointer to NULL disables the intermediate callback functionality.
Function calling the Ipopt optimization algorithm for a problem previously defined with
cnlp_create_problem. The return specified outcome of the optimization procedure (e.g.,
success, failure etc).
Type defining the callback function for evaluating the value of the objective function.
Return value should be set to 0 if there was a problem doing the evaluation.
Type defining the callback function for evaluating the value of the constraint functions.
Return value should be set to 0 if there was a problem doing the evaluation.
Type defining the callback function for evaluating the gradient of the objective function.
Return value should be set to 0 if there was a problem doing the evaluation.
Type defining the callback function for evaluating the Hessian of the Lagrangian function.
Return value should be set to 0 if there was a problem doing the evaluation.
Type defining the callback function for evaluating the Jacobian of the constrant functions.
Return value should be set to 0 if there was a problem doing the evaluation.
Type defining the callback function for giving intermediate execution control to the user.
If set, it is called once per iteration, providing the user with some information on the
state of the optimization. This can be used to print some user-defined output. It also
gives the user a way to terminate the optimization prematurely. If this method returns
false, Ipopt will terminate the optimization.
Type defining the callback function for setting scaling parameters. This method is called if
“nlp_scaling_method” is set to “user-scaling”. This function is optional.