CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Dvector, class ADvector, class FG_eval>
CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::solve_callback ( size_t  nf,
size_t  nx,
size_t  ng,
const Dvector &  xi,
const Dvector &  xl,
const Dvector &  xu,
const Dvector &  gl,
const Dvector &  gu,
FG_eval &  fg_eval,
bool  retape,
bool  sparse_forward,
bool  sparse_reverse,
solve_result< Dvector > &  solution 
)
inline

Constructor for the interface between ipopt::solve and Ipopt.

Parameters
nfdimension of the range space for f(x)
nxdimension of the domain space for f(x) and g(x).
ngdimension of the range space for g(x)
xiinitial value of x during the optimization procedure (size nx).
xllower limit for x (size nx).
xuupper limit for x (size nx).
gllower limit for g(x) (size ng).
guupper limit for g(x) (size ng).
fg_evalfunction object that evaluations f(x) and g(x) using fg_eval(fg, x)
retapeshould the operation sequence be retaped for each argument value.
sparse_forwardshould sparse matrix computations be used for Jacobians and Hessians with forward mode for Jacobian.
sparse_reverseshould sparse matrix computations be used for Jacobians and Hessians with reverse mode for Jacobian. (sparse_forward and sparse_reverse cannot both be true).
solutionobject where final results are stored.

Definition at line 221 of file solve_callback.hpp.