__init__ ()
|
|
constraint_names ()
|
Override this to provide string names for the constraints |
constraints_lb ()
|
Returns vector of lower bounds for the constraints |
constraints_ub ()
|
Returns vector of upper bounds for the constraints |
create_new_vector (vector_type)
|
Creates a vector of the appropriate length and structure as requested |
evaluate_constraints ([out])
|
Returns the values for the constraints evaluated at the values given for the primal variales in set_primals |
evaluate_grad_objective ([out])
|
Returns gradient of the objective function evaluated at the values given for the primal variables in set_primals |
evaluate_hessian_lag ([out])
|
Return the Hessian of the Lagrangian function evaluated at the values given for the primal variables in set_primals and the dual variables in set_duals |
evaluate_jacobian ([out])
|
Returns the Jacobian of the constraints evaluated at the values given for the primal variables in set_primals |
evaluate_objective ()
|
Returns value of objective function evaluated at the values given for the primal variables in set_primals |
get_constraints_scaling ()
|
Return the desired scaling factors to use for the for the constraints. |
get_duals ()
|
Get a copy of the values of the dual variables as provided in set_duals. |
get_obj_factor ()
|
Get the value of the objective function factor as set by set_obj_factor. |
get_obj_scaling ()
|
Return the desired scaling factor to use for the for the objective function. |
get_primals ()
|
Get a copy of the values of the primal variables as provided in set_primals. |
get_primals_scaling ()
|
Return the desired scaling factors to use for the for the primals. |
init_duals ()
|
Returns vector with initial values for the dual variables of the constraints |
init_primals ()
|
Returns vector with initial values for the primal variables |
n_constraints ()
|
Returns number of constraints |
n_primals ()
|
Returns number of primal variables |
nnz_hessian_lag ()
|
Returns number of nonzero values in hessian of the lagrangian function |
nnz_jacobian ()
|
Returns number of nonzero values in jacobian of equality constraints |
primals_lb ()
|
Returns vector of lower bounds for the primal variables |
primals_names ()
|
Override this to provide string names for the primal variables |
primals_ub ()
|
Returns vector of upper bounds for the primal variables |
report_solver_status (status_code, status_message)
|
Report the solver status to NLP class using the values for the primals and duals defined in the set methods |
set_duals (duals)
|
Set the value of the dual variables for the constraints to be used in calls to the evaluation methods (hessian_lag) |
set_obj_factor (obj_factor)
|
Set the value of the objective function factor to be used in calls to the evaluation of the hessian of the lagrangian (evaluate_hessian_lag) |
set_primals (primals)
|
Set the value of the primal variables to be used in calls to the evaluation methods |