pub enum UpdateQuasiNewtonMethod {
    BroydenFirstMethod,
    BroydenSecondMethod,
    GreenstadtFirstMethod,
    GreenstadtSecondMethod,
}
Expand description

This quasi-Newton methods either work on the jacobian or its inverse

Stationary Newton [1967]

A quasi Newton Method requiring the evaluation of the jacobian only at the first iteration step.

The jacobian of the first iteration is used for all the updates

The convergence rate is locally linear and controlled by the first error :

|| x_{n+1} - x_sol || < || x_{n} - x_sol ||*|| x_{0} - x_sol ||

General form of others Quasi-Newton method considered

The general formula taken from [1997] is:

H_{i+1} = H_{i} - (H_{i}*y_{i}-s_{i})c_{i}^{T}/(c_{i}^{T}*y_{i}),

With, for the iteration i:

  • H_{i} = J_{i}^{-1}, the inverse of the approximated jacobian
  • s_{i} = x_{i+1} - x_{i}, the vector of the iterative update
  • y_{i} = F_{x_{i+1}} - F_{x_{i}}, the vector of the residual update
  • c_{i}, a vector that is chosen differently according to the method.

This method can also be applied, instead on the inverse of the jacobian, with the jacobian itself. Householder’s formula (also known as Sherman-Morrison’s formula) yields:

J_{i+1} = J_{i} - (J_{i}*s_{i}-y_{i})*c_{i}^{T}*J_{i}/(c_{i}^{T}*J_{i}*s_{i})

Broyden methods

Two methods have been published by Broyden,

  • The first method, knowned as “Broyden Good Method”
  • The second method, knowned as “Broyden Bad Method”

For the different methods, c_{i} is taken as such:

  • First method: c_{i} = H_{i}^{T} * s_{i}
  • Second method: c_{i} = y_{i}

The update formulas are the following:

Methodc_{i} valueJacobian updateInverse jacobian update
FirstH_{i}^{T} * s_{i}J_{i+1} = J_{i} - (J_{i}*s_{i}-y_{i})*s_{i}^{T}/(s_{i}^{T}*s_{i})H_{i+1} = H_{i} - (H_{i}*y_{i}-s_{i})s_{i}^{T}*H_{i}/(s_{i}^{T}*H_{i}*y_{i})
Secondy_{i}J_{i+1} = J_{i} - (J_{i}*s_{i}-y_{i})*y_{i}^{T}*J_{i}/(y_{i}^{T}*J_{i}*s_{i})H_{i+1} = H_{i} - (H_{i}*y_{i}-s_{i})y_{i}^{T}/(y_{i}^{T}*y_{i})

Reference

Dennis, Jr., J. E. (1967)

A Stationary Newton Method for Nonlinear Functional Equations

SIAM Journal on Numerical Analysis, 4(2), p 222–232.

doi:10.1137/0704021

Spedicato, E. ; Huang, Z. (1996)

Numerical experience with Newton-like methods for nonlinear algebraic systems,

Computing, p 68-89.

doi:10.1007/BF02684472

Variants

BroydenFirstMethod

BroydenSecondMethod

GreenstadtFirstMethod

GreenstadtSecondMethod

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Checks if self is actually part of its subset T (and can be converted to it).
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
The inclusion map: converts self to the equivalent element of its superset.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.