TaoLineSearchSetFromOptions#

Sets various TaoLineSearch parameters from user options.

Synopsis#

#include "petsctaolinesearch.h" 
PetscErrorCode TaoLineSearchSetFromOptions(TaoLineSearch ls)

Collective

Input Parameter#

Options Database Keys#

  • -tao_ls_type - The algorithm that TaoLineSearch uses (more-thuente, gpcg, unit)

  • -tao_ls_ftol - tolerance for sufficient decrease

  • -tao_ls_gtol - tolerance for curvature condition

  • -tao_ls_rtol - relative tolerance for acceptable step

  • -tao_ls_stepinit - initial steplength allowed

  • -tao_ls_stepmin - minimum steplength allowed

  • -tao_ls_stepmax - maximum steplength allowed

  • -tao_ls_max_funcs - maximum number of function evaluations allowed

  • -tao_ls_view - display line-search results to standard output

See Also#

TaoLineSearch

Level#

beginner

Location#

src/tao/linesearch/interface/taolinesearch.c

Implementations#

TaoLineSearchSetFromOptions_Armijo() in src/tao/linesearch/impls/armijo/armijo.c
TaoLineSearchSetFromOptions_MT() in src/tao/linesearch/impls/morethuente/morethuente.c
TaoLineSearchSetFromOptions_OWArmijo() in src/tao/linesearch/impls/owarmijo/owarmijo.c
TaoLineSearchSetFromOptions_Unit() in src/tao/linesearch/impls/unit/unit.c


Index of all TaoLineSearch routines
Table of Contents for all manual pages
Index of all manual pages