TaoSetMaximumFunctionEvaluations#
Sets a maximum number of function evaluations allowed for a TaoSolve()
.
Synopsis#
#include "petsctao.h"
PetscErrorCode TaoSetMaximumFunctionEvaluations(Tao tao, PetscInt nfcn)
Logically Collective
Input Parameters#
tao - the
Tao
solver contextnfcn - the maximum number of function evaluations (>=0)
Options Database Key#
-tao_max_funcs
- sets the maximum number of function evaluations
See Also#
TAO: Optimization Solvers, Tao
, TaoSetTolerances()
, TaoSetMaximumIterations()
Level#
intermediate
Location#
Examples#
src/tao/constrained/tutorials/ex1.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages