Skip to main content

Module trust_region

Module trust_region 

Source
Expand description

Trust-region Newton methods, ported from SciPy’s minimize: trust-ncg (the Steihaug conjugate-gradient subproblem, needing only Hessian-vector products), dogleg (for positive definite Hessians) and trust-exact (Moré and Sorensen’s nearly exact subproblem solution).

See the book entry Assignment, trust regions and global optimisation.

Structs§

TrustRegionOptions
Options (SciPy’s defaults).
TrustRegionResult
The result of minimize_trust_region.

Enums§

TrustRegionMethod
The subproblem solver.

Functions§

minimize_trust_krylov
Minimises f by a trust-region Newton method whose subproblems are solved on Krylov subspaces with Hessian-vector products only (SciPy’s minimize(method='trust-krylov')). The outer iteration is that of minimize_trust_region; nhev counts Hessian-vector products.
minimize_trust_region
Minimises f with gradient and Hessian by a trust-region Newton method (SciPy’s minimize(method='trust-ncg' | 'dogleg' | 'trust-exact')). Each iteration minimises the quadratic model within a ball of radius Δ, compares the actual reduction with the predicted one, ρ = (f(x) − f(x + p)) / (m(0) − m(p)), quarters Δ if ρ < ¼, doubles it (up to the maximum) if ρ > ¾ and the step reached the boundary, and accepts the step if ρ > η.