#include "taosolver.h" PetscErrorCode TaoComputeObjectiveAndGradient(TaoSolver tao, Vec X, PetscReal *f, Vec G)Collective on TaoSolver
tao | - the TaoSolver context | |
X | - input vector |
f | - Objective value at X | |
g | - Gradient vector at X |
Notes: TaoComputeObjectiveAndGradient() is typically used within minimization implementations, so most users would not generally call this routine themselves.
Level:advanced
Location:src/interface/taosolver_fg.c
TAO Solver Index
Table of Contents