|
Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 11.6: Steepest descent algorithm. More...
Go to the source code of this file.
Functions | |
| function | steepestDescent (in obj, in x0, in eps, in maxiter) |
Applies the steepest descent algorithm with linesearch to solve where . More... | |
Algorithm 11.6: Steepest descent algorithm.
Implementation of algorithm 11.6 of [1]
Definition in file steepestDescent.m.
| function steepestDescent | ( | in | obj, |
| in | x0, | ||
| in | eps, | ||
| in | maxiter | ||
| ) |
Applies the steepest descent algorithm with linesearch to solve
where
.
| obj | the name of the Octave function defining f(x) and its derivatives |
| x0 | the starting point |
| eps | algorithm stops if . |
| maxiter | maximum number of iterations (Default: 100) |