annotate toolboxes/FullBNT-1.0.7/nethelp3.3/demopt1.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 <html>
wolffd@0 2 <head>
wolffd@0 3 <title>
wolffd@0 4 Netlab Reference Manual demopt1
wolffd@0 5 </title>
wolffd@0 6 </head>
wolffd@0 7 <body>
wolffd@0 8 <H1> demopt1
wolffd@0 9 </H1>
wolffd@0 10 <h2>
wolffd@0 11 Purpose
wolffd@0 12 </h2>
wolffd@0 13 Demonstrate different optimisers on Rosenbrock's function.
wolffd@0 14
wolffd@0 15 <p><h2>
wolffd@0 16 Synopsis
wolffd@0 17 </h2>
wolffd@0 18 <PRE>
wolffd@0 19 demopt1
wolffd@0 20 demopt1(xinit)
wolffd@0 21 </PRE>
wolffd@0 22
wolffd@0 23
wolffd@0 24 <p><h2>
wolffd@0 25 Description
wolffd@0 26 </h2>
wolffd@0 27 The four general optimisers (quasi-Newton, conjugate gradients,
wolffd@0 28 scaled conjugate gradients, and gradient descent) are applied to
wolffd@0 29 the minimisation of Rosenbrock's well known `banana' function.
wolffd@0 30 Each optimiser is run for at most 100 cycles, and a stopping
wolffd@0 31 criterion of 1.0e-4 is used for both position and function value.
wolffd@0 32 At the end, the trajectory of each algorithm is shown on a contour
wolffd@0 33 plot of the function.
wolffd@0 34
wolffd@0 35 <p><CODE>demopt1(xinit)</CODE> allows the user to specify a row vector with
wolffd@0 36 two columns as the starting point. The default is the point [-1 1].
wolffd@0 37 Note that the contour plot has an x range of [-1.5, 1.5] and a y
wolffd@0 38 range of [-0.5, 2.1], so it is best to choose a starting point in the
wolffd@0 39 same region.
wolffd@0 40
wolffd@0 41 <p><h2>
wolffd@0 42 See Also
wolffd@0 43 </h2>
wolffd@0 44 <CODE><a href="conjgrad.htm">conjgrad</a></CODE>, <CODE><a href="graddesc.htm">graddesc</a></CODE>, <CODE><a href="quasinew.htm">quasinew</a></CODE>, <CODE><a href="scg.htm">scg</a></CODE>, <CODE><a href="rosen.htm">rosen</a></CODE>, <CODE><a href="rosegrad.htm">rosegrad</a></CODE><hr>
wolffd@0 45 <b>Pages:</b>
wolffd@0 46 <a href="index.htm">Index</a>
wolffd@0 47 <hr>
wolffd@0 48 <p>Copyright (c) Ian T Nabney (1996-9)
wolffd@0 49
wolffd@0 50
wolffd@0 51 </body>
wolffd@0 52 </html>