TaoLineSearchSetType#

Sets the algorithm used in a line search

Synopsis#

#include "petsctaolinesearch.h" 
PetscErrorCode TaoLineSearchSetType(TaoLineSearch ls, TaoLineSearchType type)

Collective

Input Parameters#

Options Database Key#

  • -tao_ls_type type - select which linesearch method Tao should use at runtime, see TaoLineSearchType

See Also#

TAO: Optimization Solvers, Tao, TaoLineSearch, TaoLineSearchType, TaoLineSearchCreate(), TaoLineSearchGetType(), TaoLineSearchApply()

Level#

beginner

Location#

src/tao/linesearch/interface/taolinesearch.c


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