Optimization: principles and algorithms, by Michel Bierlaire
run0508newton.m
Go to the documentation of this file.
1 %> \file
2 %> Runs Newton's method with line search (Algorithm 11.8) [\ref newtonLineSearch] on the Rosenbrock problem (Table 11.8)
3 %>
4 %> \note Calls \ref newtonLineSearch
5 %>
6 %> @ingroup Running
7 %> @ingroup chap11
8 %> @author <a href="http://people.epfl.ch/michel.bierlaire">Michel Bierlaire</a>
9 %> @date Sat Mar 21 12:51:55 2015
10 
11 %>
12 
13 x0 = [1 ; 1] ;
14 [solution, iteres, niter] = newtonLineSearch('ex0508',x0,1.0e-15,10000) ;
15 format short e
16 iteres(1:niter,:)
17 solution
18 format
19 niter
20 
21 
function ex0508(in x)
Example 5.8 in .
Copyright 2015-2016 Michel Bierlaire