TaoSetMaximumIterations#

Sets a maximum number of iterates.

Synopsis#

#include "petsctao.h" 
PetscErrorCode TaoSetMaximumIterations(Tao tao, PetscInt maxits)

Logically Collective

Input Parameters#

  • tao - the Tao solver context

  • maxits - the maximum number of iterates (>=0)

Options Database Keys#

  • -tao_max_it - sets the maximum number of iterations

See Also#

TaoSetTolerances(), TaoSetMaximumFunctionEvaluations()

Level#

intermediate

Location#

src/tao/interface/taosolver.c

Examples#

src/tao/unconstrained/tutorials/rosenbrock2.c.html
src/tao/unconstrained/tutorials/rosenbrock3.c.html


Edit on GitLab

Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages