# TaoAppComputeGradient

Compute the gradient of the objective function using the routine set by TaoApplicationSetGradientRoutine().

## Synopsis

    #include "tao.h"
    int TaoAppComputeVariableBounds(TAO_APPLICATION taoapp, Vec XL, Vec XU)

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_j.c
TAO Solver Index
Table of Contents