TaoSetGradientTolerances
Sets the stopping criteria in terms of the norm of the Lagrangian function. The algorithm will terminate when the norm of the gradient is less that the absolute tolerance, or when the norm of the gradient has been reduced by a factor of the reduction tolerance, or when the norm of the gradient divided by the absolute value of the objective function is less than the relative tolerance.
Synopsis
#include "tao_solver.h"
int TaoSetGradientTolerances(TAO_SOLVER tao,double gatol, double grtol, double gttol)
Collective on TAO_SOLVER
Input Parameters
| tao | - the TAO_SOLVER solver context
|
| gatol | - stop if norm of gradient is less than
|
| grtol | - stop if relative norm of gradient is less than
|
| gttol | - stop if norm of gradient is reduced by a factor of
|
Options Database Keys
| -tao_gatol <gatol> | - sets gatol
|
| -tao_grtol <grtol> | - sets grtol
|
| -tao_gttol <gttol> | - sets gttol
|
Keywords
Gradient, options, convergence
See Also
TaoSetTolerances(), TaoGetGradientTolerances()
Level:intermediate
Location:src/interface/tao.c
TAO Solver Index
Table of Contents
Examples
src/petsctao/gridapplication/examples/eptorsion3.c.html
Examples
src/petsctao/gridapplication/examples/jbearing3.c.html
Examples
src/petsctao/gridapplication/examples/minsurf3.c.html
Examples
src/petsctao/gridapplication/examples/combustion3.c.html