tao-2.1-p0 2012-07-24

TaoLineSearchSetInitialStepLength

Sets the initial step length of a line search. If this value is not set then 1.0 is assumed.

Synopsis

#include "taolinesearch.h" 
PetscErrorCode TaoLineSearchSetInitialStepLength(TaoLineSearch ls,PetscReal s)
Logically Collective on TaoLineSearch

Input Parameters

ls - the TaoLineSearch context
s - the initial step size

See Also

TaoLineSearchGetStepLength(), TaoLineSearchApply()

Level:intermediate
Location:src/linesearch/interface/linesearch.c
TAO Solver Index
Table of Contents