# TaoSetMaximumIterates

Sets a maximum number of iterates.

## Synopsis

    #include "tao_solver.h"
    int TaoSetMaximumIterates(TAO_SOLVER tao,int maxits)

Collective on TAO_SOLVER

## Input Parameters

| tao | - the TAO_SOLVER solver context
| maxits | - the maximum number of iterates (>=0)

## Options Database Keys

-tao_max_it <its> -sets the maximum number of iterations

## Keywords

options, Iterate, convergence

## See Also

TaoSetTolerances(), TaoSetMaximumFunctionEvaluations()

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