tao-2.1-p0 2012-07-24

TaoLineSearchSetType

Sets the algorithm used in a line search

Synopsis

#include "taolinesearch.h" 
PetscErrorCode TaoLineSearchSetType(TaoLineSearch ls, const 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/linesearch/interface/linesearch.c
TAO Solver Index
Table of Contents

more- thuente
gpcg - - unit - Do not perform any line search
-tao_ls_type - select which method TAO should use