Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 10.2: Local Newton for optimization using the quadratic model. More...
Go to the source code of this file.
Functions | |
function | newtonLocalQuadratic (in obj, in x0, in eps, in cg, in maxiter) |
Applies local Newton algorithm to solve ![]() ![]() | |
Algorithm 10.2: Local Newton for optimization using the quadratic model.
Implementation of algorithm 10.2 of [1]
Definition in file newtonLocalQuadratic.m.
function newtonLocalQuadratic | ( | in | obj, |
in | x0, | ||
in | eps, | ||
in | cg, | ||
in | maxiter | ||
) |
Applies local Newton algorithm to solve where
is the gradient of the objective function.
obj | the name of the Octave function defining ![]() ![]() |
x0 | the starting point |
eps | algorithm stops if ![]() |
cg | if 0, the quadratic model is solved using the direct method. If not zero, using the conjugate gradient algorithm. |
maxiter | maximum number of iterations (Default: 100) |