CppAD: A C++ Algorithmic Differentiation Package
20130918
|
virtual void CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::finalize_solution | ( | Ipopt::SolverReturn | status, |
Index | n, | ||
const Number * | x, | ||
const Number * | z_L, | ||
const Number * | z_U, | ||
Index | m, | ||
const Number * | g, | ||
const Number * | lambda, | ||
Number | obj_value, | ||
const Ipopt::IpoptData * | ip_data, | ||
Ipopt::IpoptCalculatedQuantities * | ip_cq | ||
) | [inline, virtual] |
Pass solution information from Ipopt to users solution structure.
[in] | status | is value that the Ipopt solution status which gets mapped to a correponding value for solution_.status |
[in] | n | is the dimension of the domain space for f(x) and g(x); i.e., it must be equal to nx_. |
[in] | x | is a vector with size nx_ specifing the final solution. This is the output value for solution_.x |
[in] | z_L | is a vector with size nx_ specifing the Lagragian multipliers for the constraint ![]() solution_.zl |
[in] | z_U | is a vector with size nx_ specifing the Lagragian multipliers for the constraint ![]() solution_.zu |
[in] | m | is the dimension of the range space for g(x). i.e., it must be equal to ng_. |
[in] | g | is a vector with size ng_ containing the value of the constraint function g(x) at the final solution x. This is the output value for solution_.g |
[in] | lambda | is a vector with size ng_ specifing the Lagragian multipliers for the constraints ![]() solution_.lambda |
[in] | obj_value | is the value of the objective function f(x) at the final solution x. This is the output value for solution_.obj_value |
[in] | ip_data | is unspecified (by Ipopt) and hence not used. |
[in] | ip_cq | is unspecified (by Ipopt) and hence not used. |
Definition at line 1013 of file solve_callback.hpp.