|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| bool cppad_ipopt::cppad_ipopt_nlp::eval_f | ( | Index | n, |
| const Number * | x, | ||
| bool | new_x, | ||
| Number & | obj_value | ||
| ) | [virtual] |
Evaluate the objective fucntion f(x).
| [in] | n | is the dimension of the argument space for f(x); i.e., must be equal n_. |
| [in] | x | is a vector of size n containing the point at which to evaluate the function f(x). |
| [in] | new_x | is false if the previous call to any one of the Evaluation Methods used the same value for x. |
| [out] | obj_value | is the value of the objective f(x) at this value of x. |
fg_info->eval_r(k, u) where u was of type NumberVector. Definition at line 412 of file cppad_ipopt_nlp.cpp.