#include <optimization_system.h>
Public Member Functions | |
virtual | ~ComputeGradient () |
virtual void | gradient (const NumericVector< Number > &X, NumericVector< Number > &grad_f, sys_type &S)=0 |
Abstract base class to be used to calculate the gradient of an objective function.
Definition at line 95 of file optimization_system.h.
|
inlinevirtual |
Definition at line 98 of file optimization_system.h.
|
pure virtual |
This function will be called to compute the gradient of the objective function, and must be implemented by the user in a derived class. Set grad_f
to be the gradient at the iterate X
.
Referenced by libMesh::__libmesh_nlopt_objective(), and libMesh::__libmesh_tao_gradient().