TaoLineSearchConvergedReason#
reason a TaoLineSearch
completed
Synopsis#
typedef enum {
TAOLINESEARCH_FAILED_INFORNAN = -1,
TAOLINESEARCH_FAILED_BADPARAMETER = -2,
TAOLINESEARCH_FAILED_ASCENT = -3,
TAOLINESEARCH_CONTINUE_ITERATING = 0,
TAOLINESEARCH_SUCCESS = 1,
TAOLINESEARCH_SUCCESS_USER = 2,
TAOLINESEARCH_HALTED_OTHER = 3,
TAOLINESEARCH_HALTED_MAXFCN = 4,
TAOLINESEARCH_HALTED_UPPERBOUND = 5,
TAOLINESEARCH_HALTED_LOWERBOUND = 6,
TAOLINESEARCH_HALTED_RTOL = 7,
TAOLINESEARCH_HALTED_USER = 8
} TaoLineSearchConvergedReason;
Values#
TAOLINESEARCH_FAILED_ASCENT
- initial line search step * g is not descent directionTAOLINESEARCH_FAILED_INFORNAN
- function evaluation givesInf
orNan
valueTAOLINESEARCH_FAILED_BADPARAMETER
- negative value set as parameterTAOLINESEARCH_HALTED_MAXFCN
- maximum number of function evaluation reachedTAOLINESEARCH_HALTED_UPPERBOUND
- step is at upper boundTAOLINESEARCH_HALTED_LOWERBOUND
- step is at lower boundTAOLINESEARCH_HALTED_RTOL
- range of uncertainty is smaller than given toleranceTAOLINESEARCH_HALTED_USER
- user can set this reason to stop line searchTAOLINESEARCH_HALTED_OTHER
- any other reasonTAOLINESEARCH_SUCCESS
- successful line search
See Also#
TAO: Optimization Solvers, Tao
, TaoLineSearch
, TaoSolve()
, TaoGetConvergedReason()
, KSPConvergedReason
, SNESConvergedReason
Level#
beginner
Location#
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages