Optimization: principles and algorithms, by Michel Bierlaire
|
Algorithm 17.2: preconditioned projected gradient, or constrained Newton. More...
Go to the source code of this file.
Functions | |
function | constrainedNewton (in obj, in A, in b, in x0, in eps, in gamma) |
Applies the projected gradient method to solve ![]() ![]() | |
Algorithm 17.2: preconditioned projected gradient, or constrained Newton.
Implementation of algorithm 17.2 of [1]
Definition in file constrainedNewton.m.
function constrainedNewton | ( | in | obj, |
in | A, | ||
in | b, | ||
in | x0, | ||
in | eps, | ||
in | gamma | ||
) |
Applies the projected gradient method to solve subject to
.
obj | the name of the Octave function defining ![]() ![]() |
A | matrix of the constraint |
b | right-hand side of the constraint |
x0 | starting point |
eps | algorithm stops if ![]() |
gamma | parameter > 0 (default: 1) |
maxiter | maximum number of iterations (default: 100) |