Skip to main content

Module newton_raphson_method

Module newton_raphson_method 

Source
Expand description

Newton’s method for minimization: each step solves ∇²f(x) p = −∇f(x) and moves to x + p (projected onto the bounds, if any). It converges quadratically near a minimum with a positive definite Hessian, but it is the pure method, with no line search or trust region: from a poor start, or where the Hessian is indefinite, it can move uphill or towards a saddle point. For robust minimization prefer Bfgs.

See the book entry Newton and quasi-Newton methods.

Structs§

NewtonRaphsonMethod
Newton’s method with an analytic Hessian. Stops when the objective changes by less than the tolerance (default 1e-6) between iterations, or after max_iterations (default 100).