tao-2.1-p0 2012-07-24

TaoComputeObjective

Computes the objective function value at a given point

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoComputeObjective(TaoSolver tao, Vec X, PetscReal *f) 
Collective on TaoSolver

Input Parameters

tao - the TaoSolver context
X - input vector

Output Parameter

f -Objective value at X

Notes: TaoComputeObjective() is typically used within minimization implementations, so most users would not generally call this routine themselves.

See Also

TaoComputeGradient(), TaoComputeObjectiveAndGradient(), TaoSetObjectiveRoutine()

Level:advanced
Location:src/interface/taosolver_fg.c
TAO Solver Index
Table of Contents