1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESLINESEARCHL2.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>SNESLINESEARCHL2</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 docs/manualpages/SNES/SNESLINESEARCHL2.html "><small>Report Typos and Errors</small></a></div>
<A NAME="SNESLINESEARCHL2"><H1>SNESLINESEARCHL2</H1></A>
Secant search in the L2 norm of the function or the objective function, if it is provided with <A HREF="../SNES/SNESSetObjective.html#SNESSetObjective">SNESSetObjective</A>(). Attempts to solve min_lambda f(x + lambda y) using the secant method with the initial bracketing of lambda between [0,damping]. Differences of f()
are used to approximate the first and second derivative of f() with respect to lambda, f'() and f''(). The secant method is run for maxit iterations.
<P>
When an objective function is provided f(w) is the objective function otherwise f(w) = ||F(w)||^2. x is the current step and y is the search direction.
<P>
This has no checks on whether the secant method is actually converging.
<P>
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_linesearch_max_it <maxit> </B></TD><TD>- maximum number of iterations, default is 1
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_linesearch_maxstep <length> </B></TD><TD>- the algorithm insures that a step length is never longer than this value
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_linesearch_damping <damping> </B></TD><TD>- initial step is scaled back by this factor, default is 1.0
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-snes_linesearch_minlambda <minlambda> </B></TD><TD>- minimum allowable lambda
</TD></TR></TABLE>
<P>
<P>
Developer Notes: A better name for this method might be SNESLINESEARCHSECANT, L2 is not descriptive
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
<A HREF="../SNES/SNES.html#SNES">SNES</A>, nonlinear, line search, norm, secant
<BR>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../SNES/SNESLINESEARCHBT.html#SNESLINESEARCHBT">SNESLINESEARCHBT</A>, <A HREF="../SNES/SNESLINESEARCHCP.html#SNESLINESEARCHCP">SNESLINESEARCHCP</A>, <A HREF="../SNES/SNESLineSearch.html#SNESLineSearch">SNESLineSearch</A>, <A HREF="../SNES/SNESLineSearchCreate.html#SNESLineSearchCreate">SNESLineSearchCreate</A>(), <A HREF="../SNES/SNESLineSearchSetType.html#SNESLineSearchSetType">SNESLineSearchSetType</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>advanced
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/snes/linesearch/impls/l2/linesearchl2.c.html#SNESLINESEARCHL2">src/snes/linesearch/impls/l2/linesearchl2.c</A>
<BR><A HREF="./index.html">Index of all SNES routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|