tao-2.1-p0 2012-07-24

TaoLineSearchComputeObjective

Computes the objective function value at a given point

Synopsis

#include "taolinesearch.h" 
PetscErrorCode TaoLineSearchComputeObjective(TaoLineSearch ls, Vec x, PetscReal *f) 
Collective on TaoLineSearch

Input Parameters

ls - the TaoLineSearch context
x - input vector

Output Parameter

f -Objective value at X

Notes: TaoLineSearchComputeObjective() is typically used within line searches so most users would not generally call this routine themselves.

See Also

TaoLineSearchComputeGradient(), TaoLineSearchComputeObjectiveAndGradient(), TaoLineSearchSetObjectiveRoutine()

Level:developer
Location:src/linesearch/interface/linesearch.c
TAO Solver Index
Table of Contents