petsc-3.10.5 2019-03-28
Report Typos and Errors

TaoLineSearchSetType

Sets the algorithm used in a line search

Synopsis

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

Input Parameters

ls - the TaoLineSearch context
type - a known method

Available methods include

Options Database Keys

See Also

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
more- thuente
gpcg- - unit - Do not perform any line search
-tao_ls_type - select which method TAO should use