CppAD: A C++ Algorithmic Differentiation Package  20130918
void cppad_ipopt::cppad_ipopt_nlp::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 
) [virtual]

Pass solution information from Ipopt to users solution structure.

Parameters:
[in]statusis value that the Ipopt solution status which gets mapped to a correponding value for
solution_->status.
[in]nis the dimension of the domain space for f(x) and g(x); i.e., it must be equal to n_.
[in]xis a vector with size n specifing the final solution.
solution_->x is set to be a vector with size n and to have the same element values.
[in]z_Lis a vector with size n specifing the Lagragian multipliers for the constraint $ x^l \leq x $.
solution_->z_l is set to be a vector with size n and to have the same element values.
[in]z_Uis a vector with size n specifing the Lagragian multipliers for the constraint $ x \leq x^u $.
solution_->z_u is set to be a vector with size n and to have the same element values.
[in]mis the dimension of the range space for g(x). i.e., it must be equal to m_.
[in]gis a vector with size m containing the value of the constraint function g(x) at the final solution for x.
solution_->g is set to be a vector with size m and to have the same element values.
[in]lambdais a vector with size m specifing the Lagragian multipliers for the constraints $ g^l \leq g(x) \leq g^u $.
solution_->lambda is set to be a vector with size m and to have the same element values.
[in]obj_valueis the value of the objective function f(x) at the final solution for x.
solution_->obj_value is set to have the same value.
[in]ip_datais unspecified (by Ipopt) and hence not used.
[in]ip_cqis unspecified (by Ipopt) and hence not used.
solution_[out]
the pointer solution_ , which is equal to the pointer solution in the constructor for cppad_ipopt_nlp, is used to set output values (see documentation above).

Definition at line 1022 of file cppad_ipopt_nlp.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines