TaoConverged_Default

Determines whether the solver should continue iterating or terminate.

Synopsis

#include "tao_solver.h"   
int TaoConverged_Default(TAO_SOLVER tao,void *dummy)
Collective on TAO_SOLVER

Input Parameters

tao - the TAO_SOLVER 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/tao_util.c
TAO Solver Index
Table of Contents