scipy 1.8.0 Pypi GitHub Homepage
Other Docs
NotesBackRef

Many optimization methods make use of Hessian (or inverse Hessian) approximations, such as the quasi-Newton methods BFGS, SR1, L-BFGS. Some of these approximations, however, do not actually need to store the entire matrix or can compute the internal matrix product with a given vector in a very efficiently manner. This class serves as an abstract interface between the optimization algorithm and the quasi-Newton update strategies, giving freedom of implementation to store and update the internal matrix as efficiently as possible. Different choices of initialization and update procedure will result in different quasi-Newton strategies.

Four methods should be implemented in derived classes: initialize , update , dot and get_matrix .

Notes

Any instance of a class that implements this interface, can be accepted by the method minimize and used by the compatible solvers to approximate the Hessian (or inverse Hessian) used by the optimization algorithms.

Interface for implementing Hessian update strategies.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.optimize scipy.optimize._minimize.minimize scipy.optimize._differentiable_functions.ScalarFunction scipy.optimize._constraints.NonlinearConstraint

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/optimize/_hessian_update_strategy.py#11
type: <class 'type'>
Commit: