TaoDefaultConvergenceTest
Determines whether the solver should continue iterating or terminate.
Synopsis
#include "taosolver.h"
PetscErrorCode TaoDefaultConvergenceTest(TaoSolver tao,void *dummy)
Collective on TaoSolver
Input Parameters
| tao | - the TaoSolver context
|
| dummy | - unused dummy context
|
Output Parameter
reason -for terminating
Notes
This routine checks the residual in the optimality conditions, the
relative residual in the optimity conditions, the number of function
evaluations, and the function value to test convergence. Some
solvers may use different convergence routines.
See Also
TaoSetTolerances(),TaoGetTerminationReason(),TaoSetTerminationReason()
Level:developer
Location:src/interface/taosolver.c
TAO Solver Index
Table of Contents