Expand description
Nonlinear conjugate gradient minimization.
See the book entry Gradient descent and nonlinear conjugate gradients.
Structs§
- Nonlinear
Conjugate Gradient - Nonlinear conjugate gradients: O(n) memory, a strong Wolfe line search with
c₂ = 0.1, the initial step of each line search scaled from the previous one (Nocedal and Wright eq. 3.60), and a restart to steepest descent everyniterations or whenever the direction is not a descent direction. Converges when‖∇f‖∞falls below the tolerance (default 1e-8). On a strictly convex quadratic with exact line searches every variant reduces to linear CG.
Enums§
- Conjugate
Gradient Beta - The formula for
βin the direction updated ← −g + β d.