Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The Cavity method
is a mathematical method due to M. Mezard, Giorgio Parisi and M.A.
Virasoro in 1985 to solve some mean field type of models in statistical
physics, specially adapted to disordered systems. It has been used to
compute properties of ground states in many condensed matter and
optimization problems. Initially invented to deal with the Sherrington
Kirkpatrick model of spin glasses, it has shown wide applicability. It
can be regarded as a generalization of the Bethe Peierls iterative
method in tree-like graphs to the case of graph with loops that are not
too short. The different approximations that can be done with the cavity
method are usually named after their equivalent with the different steps
of the replica method which is mathematically more subtle and less
intuitive than the cavity approach.