# TaoAppComputeFunction

Compute the constraint vector using the routine set by TaoApplicationSetConstraintsRoutine().

## Synopsis

    #include "tao.h"
    int TaoAppComputeFunction(TAO_APPLICATION taoapp, Vec X, Vec R)

Collective on TAO_APPLICATION

## Input Parameters

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

## Output Parameter

R -constraint vector

## Keywords

TAO_APPLICATION, objective

## See Also

TaoAppComputeJacobian() TaoAppSetConstraintRoutine()

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