|
Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 8.3: Newton's method with finite differences, n variables. More...
Go to the source code of this file.
Functions | |
| function | newtonFinDiffNVariables (in obj, in x0, in tau, in eps, in maxiter) |
Applies Newton's algorithm with finite differences to solve where . More... | |
Algorithm 8.3: Newton's method with finite differences, n variables.
Implementation of algorithm 8.3 of [1]
Definition in file newtonFinDiffNVariables.m.
| function newtonFinDiffNVariables | ( | in | obj, |
| in | x0, | ||
| in | tau, | ||
| in | eps, | ||
| in | maxiter | ||
| ) |
Applies Newton's algorithm with finite differences to solve
where
.
| obj | the name of the Octave function defining F(x) and its Jacobian |
| x0 | the starting point |
| tau | step for the finite difference approximation |
| eps | algorithm stops if . |
| maxiter | maximum number of iterations (Default: 100) |