# TaoSetMaximumFunctionEvaluations

Sets a maximum number of function evaluations.

## Synopsis

    #include "tao_solver.h"
    int TaoSetMaximumFunctionEvaluations(TAO_SOLVER tao,int nfcn)

Collective on TAO_SOLVER

## Input Parameters

| tao | - the TAO_SOLVER solver context
| nfcn | - the maximum number of function evaluations (>=0)

## Options Database Keys

-tao_max_funcs <nfcn> -sets the maximum number of function evaluations

## Keywords

options, Iterate, convergence

## See Also

TaoSetTolerances(), TaoSetMaximumIterates()

Level:intermediate
Location:src/interface/tao.c
TAO Solver Index
Table of Contents