CppAD: A C++ Algorithmic Differentiation Package
20130918
|
Class that contains information about the problem solution. More...
Public Types | |
enum | solution_status { not_defined, success, maxiter_exceeded, stop_at_tiny_step, stop_at_acceptable_point, local_infeasibility, user_requested_stop, feasible_point_found, diverging_iterates, restoration_failure, error_in_step_computation, invalid_number_detected, too_few_degrees_of_freedom, internal_error, unknown } |
possible values for he solution status More... | |
Public Member Functions | |
cppad_ipopt_solution (void) | |
constructor initializes solution status as not yet defined | |
Public Attributes | |
NumberVector | g |
value of g(x) | |
NumberVector | lambda |
Lagrange multipliers correspondiing constraints on g(x) | |
Ipopt::Number | obj_value |
value of f(x) | |
enum cppad_ipopt::cppad_ipopt_solution::solution_status | status |
NumberVector | x |
the approximation solution | |
NumberVector | z_l |
Lagrange multipliers corresponding to lower bounds on x. | |
NumberVector | z_u |
Lagrange multipliers corresponding to upper bounds on x. |
Class that contains information about the problem solution.
We are give smooth functions and
and wish to solve the problem
The functions and
are defined by
where for ,
.
The set of evaluation methods for this class is
{ eval_f, eval_grad_f, eval_g, eval_jac_g, eval_h }
Note that the bool
return flag for the evaluations methods does not appear in the Ipopt documentation. Looking at the code, it seems to be a flag telling Ipopt to abort when the flag is false.
Definition at line 734 of file cppad_ipopt_nlp.hpp.