#include <CTiglOptimizer.h>
◆ armijoBacktrack2d()
static double tigl::CTiglOptimizer::armijoBacktrack2d |
( |
const class ITiglObjectiveFunction & |
f, |
|
|
const double * |
x, |
|
|
const double * |
grad, |
|
|
double * |
dir, |
|
|
double |
alpha, |
|
|
double & |
ofval |
|
) |
| |
|
staticprivate |
◆ optNewton2d()
Optimizes the objective function f.
- Parameters
-
f | (in) Objective function |
x | (in/out) The function is initialized with the initial guess x and returns the solution x. |
gradTol | Norm of the gradient df/dx, when to stop optimizing. |
ofTol | Relative change of the objective function, when to stop optimizing. |
The documentation for this class was generated from the following file: