Expand description
Jacobian-free Newton-Krylov for large nonlinear systems F(x) = 0 (SciPy’s
optimize.newton_krylov): each Newton correction is found by a Krylov solver that needs only
products of the Jacobian with vectors, which are approximated by one difference of F each.
See the book entry Nonlinear systems.
Structs§
- Newton
Krylov Options - Options for
newton_krylov(SciPy’s defaults). The iteration stops when‖F‖∞ ≤ f_toland‖F‖∞ ≤ f_rtol ‖F(x₀)‖∞, and the last correctiondxsatisfies‖dx‖∞ ≤ x_toland‖dx‖∞ ≤ x_rtol ‖x‖∞. - Newton
Krylov Result - The result of
newton_krylov.
Enums§
- Inner
Solver - The Krylov solver for the Newton corrections.
Functions§
- newton_
krylov - Solves
F(x) = 0for largenwithout forming the Jacobian (SciPy’snewton_krylov). Each Newton iteration solvesJ dx = −F(x)inexactly with a Krylov method, to the relative accuracyηof the Eisenstat-Walker forcing sequence (choice 2,γ = 0.9), using finite- difference productsJ v; an Armijo line search on‖F‖²then sets the step. An optional preconditionerM ≈ J⁻¹(SciPy’sinner_M) applies to the inner solves.