CppAD: A C++ Algorithmic Differentiation Package  20171217
template<class Dvector, class ADvector, class FG_eval>
 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 )
inlinevirtual

Pass solution information from Ipopt to users solution structure.

Parameters
 [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 . This is the output value for solution_.zl [in] z_U is a vector with size nx_ specifing the Lagragian multipliers for the constraint . This is the output value for 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 . This is the output value for 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.
solution_[out]
this is a reference to the solution argument in the constructor for solve_callback. The results are stored here (see documentation above).

Definition at line 1091 of file solve_callback.hpp.