TaoComputeMeritFunctionGTS

Computes the function that has been set with TaoSetMeritFunction() and the inner product of the gradient and the step direction.

Synopsis

#include "tao_solver.h"  
int TaoComputeMeritFunctionGTS(TAO_SOLVER solver,TaoVec* xx,TaoVec *ss, double *f,double *gts)
Collective on TAO_SOLVER

Input Parameters

solver - the TAO_SOLVER solver context
xx - input vector
ss - step direction

Output Parameter

f - the function value at xx
gts - the inner product of the gradient and the step diretion

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

Keywords

TAO_SOLVER, compute, minimization, function

See Also

TaoSetMeritFunction()

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