TaoAppComputeObjective

Compute the objective function that has been set with TaoAppSetObjectiveRoutine().

Synopsis

#include "tao.h"  
int TaoAppComputeObjective(TAO_APPLICATION taoapp, Vec X, double *f)
Collective on TAO_APPLICATION

Input Parameters

taopp - the TAO_APPLICATION context
X - the point where the objective should be evaluated

Output Parameter

f -function value

Keywords

TAO_APPLICATION, objective

See Also

TaoAppComputeGradient(), TaoAppComputeObjectiveAndGradient()

Level:developer
Location:src/petsctao/application/petscapp/tao_app_fg.c
TAO Solver Index
Table of Contents