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>
void CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::cache_new_x ( const Number x)
inlineprivate

Cache information for a new value of x.

Parameters
xis the new value for x.
x0_
the elements of this vector are set to the new value for x.
fg0_
the elements of this vector are set to the new value for [f(x), g(x)]
adfun_
If retape is true, the operation sequence for this function is changes to correspond to the argument x. If retape is false, the operation sequence is not changed. The zero order Taylor coefficients for this function are set so they correspond to the argument x.

Definition at line 154 of file solve_callback.hpp.

Referenced by CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_f(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_g(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_grad_f(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_h(), and CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_jac_g().