#include "taolinesearch.h" PetscErrorCode TaoLineSearchComputeObjectiveAndGradient(TaoLineSearch ls, Vec x, PetscReal *f, Vec g)Collective on TaoSOlver
ls | - the TaoLineSearch context | |
x | - input vector |
f | - Objective value at X | |
g | - Gradient vector at X |
Notes: TaoLineSearchComputeObjectiveAndGradient() is typically used within line searches so most users would not generally call this routine themselves.
Level:developer
Location:src/linesearch/interface/linesearch.c
TAO Solver Index
Table of Contents