
65Unconstrained Optimization
On executing the code with a starting value of x as (–3, 2), the following
output is displayed in the command window for the test problem. Note that
in some iteration, the search direction is not a descent as the function value
increases instead of monotonically decreasing. The method, however, con-
verges to the minimum point.
Initial function value = 1452.2619
No. x-vector f(x) Deriv.
_____________________________________________
1 -0.754 0.524 44.244 1006.074
2 -0.362 -0.010 8.398 116.281
3 0.094 0.125 -3.920 50.597
4 11.775 0.324 22007.14 21.420
5 1.042 0.093 14.533 4076.916
6 0.640 0.142 -8.479 ...