#include "taolinesearch.h" PetscErrorCode TaoLineSearchComputeObjectiveAndGTS(TaoLineSearch ls, Vec x, PetscReal *f, PetscReal *gts)Collective on TaoSolver
ls | - the TaoLineSearch context | |
x | - input vector |
f | - Objective value at X | |
gts | - inner product of gradient and step direction at X |
Notes: TaoLineSearchComputeObjectiveAndGTS() 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