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>
virtual bool CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_f ( Index  n,
const Number x,
bool  new_x,
Number obj_value 
)
inlinevirtual

Evaluate the objective fucntion f(x).

Parameters
[in]nis the dimension of the argument space for f(x); i.e., must be equal nx_.
[in]xis a vector of size nx_ containing the point at which to evaluate the function sum_i f_i (x).
[in]new_xis false if the previous call to any one of the Evaluation Methods used the same value for x.
[out]obj_valueis the value of the objective sum_i f_i (x) at this value of x.
Returns
The return value is always true; see Evaluation Methods.

Definition at line 625 of file solve_callback.hpp.