ArticleslgStudy

computer science

Basin-hopping

Basin-hopping is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Basin-hopping rather than just read about it. In short: In applied mathematics and computational chemistry, Basin-hopping is a stochastic global optimization technique that iterates by performing random perturbation of coordinates, performing local optimization, and accepting or rejecting new coordinates based on a minimized function value. The algorithm was described in 1997 by David J.

Basin-hopping — main illustration
Basin-hopping — illustration

Key takeaways

  • Basin-hopping belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Basin-hopping to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Basin-hopping from memory before moving on to harder problems.

Reference excerpt

In applied mathematics and computational chemistry, Basin-hopping is a stochastic global optimization technique that iterates by performing random perturbation of coordinates, performing local optimization, and accepting or rejecting new coordinates based on a minimized function value. The algorithm was described in 1997 by David J. Wales and Jonathan Doye. It is useful algorithm for global optimization in very high-dimensional landscapes, such as finding the minimum energy structure for molecules. The method is inspired from Monte-Carlo Minimization first suggested by Li and Scheraga in 1987 for protein folding. It is used for problems ranging from nanoalloy clusters to protein structure prediction. However, like other stochastic methods, it cannot guarantee that the global minimum is found.

History Basin-hopping grew out of a method for protein folding. In 1987 Li and Scheraga introduced Monte Carlo minimization, where Metropolis sampling is used to cross the barriers between local minima. Li and Scheraga used it to find the lowest energy structure for the pentapeptide Met-enkephalin. In 1997 Doye and Wales described the same algorithm and coined the name basin-hopping, after the way the algorithm search jumps between the basins of local minima. Using this, Doye and Wales found the lowest known structures of all Lennard-Jones clusters up to 110 atoms. The following year, Doye and Wales applied the algorithm to landscapes with a multi-funnel structure. Basin-Hopping has been used in chemistry, biology, and materials science since its development. Basin-hopping has implementations available in GMIN in Fortran and SciPy in Python.

Algorithm Each basin-hopping step has three parts. First, the coordinates of the current minimum are perturbed randomly. Second, a local optimizer takes this trial point to the bottom of its basin. Finally, an acceptance test decides whether to move to the minimum of this new basin or not, which is usually the Metropolis criterion. Downhill movements between basins are always accepted, and uphill moves are accepted with a probability exp⁡(−ΔET), where ΔE is the energy increase and T is a temperature parameter. Because every trial point is minimized, the search often takes the shape of a staircase of flat steps, meaning saddle points between minima are avoided, without changing the global minimum. The step size between basins is often tuned to give an acceptance rate of 0.5, and T should be on the same order of magnitude as the typical energy difference between minima.

Variants Most variants of Basin-hopping change one part of this loop to prevent it from getting stuck.

In Basin-hopping with occasional jumping, a search that has stagnated makes moves at infinite temperature and updates are accepted without the Metropolis test. In adaptive Basin-hopping, the search swaps atoms of different elements in alloy clusters. In constrained Basin-hopping, random moves are constrained to shrink the overall search space. In active Δ-learning, a machine learned potential informed by density functional theory (DFT) guides the search.

Applications Basin-hopping is used to predict the most stable structures of atomic and molecular clusters, requiring global optimization on a cluster's potential energy landscape. Even in simple clusters, the most stable structure changes as size does. It is also applied to nanoalloys, clusters of two or more elements, with energies computed by DFT rather than empirical potential energies. Due to the simplicity of basin-hopping only requiring a function to minimize, the method is also used in packing problems in geometry and protein structure prediction.

Limitations Basin-hopping has known weaknesses. It cannot prove that its lowest minimum is the global minimum, so it is recommended to repeat runs from several random starting locations. Landscapes with more than one funnel are difficult. For example, in the 38-atom Lennard-Jones cluster, the algorithm enters a wide funnel that a large barrier separates from the narrow funnel with the global minimum. This double funnel can be seen in a disconnectivity graph which PyConnect can draw. Genetic algorithms are a widely used alternative for clusters, and in a 2026 comparison of search algorithms replica exchange can use the least CPU time.

See also Lennard Jones Potential Genetic Algorithms Computational Chemistry Monte Carlo method Machine-learned interatomic potential Fiveling Icosahedral twins

Notes

References

Illustrations

Basin-hopping: An animation of the basin-hopping algorithm finding theicosahedral global minimum for a 13 atom Lennard-Jones cluster. [a]
An animation of the basin-hopping algorithm finding theicosahedral global minimum for a 13 atom Lennard-Jones cluster. [a]
Basin-hopping: Basin-hopping on an energy landscape. Local optimization is indicated by purple arrows and hops between basins are indicated by curved arrows. Giving each point its basin’s minimum energy gives the stair-like structure.[7]
Basin-hopping on an energy landscape. Local optimization is indicated by purple arrows and hops between basins are indicated by curved arrows. Giving each point its basin’s minimum energy gives the stair-like structure.[7]
Basin-hopping: Potential energy surface over two coordinates, R1 and R2, with saddle points and the minimum energy path shown. Basin hopping moves between minima without having to locate saddle points. [7]
Potential energy surface over two coordinates, R1 and R2, with saddle points and the minimum energy path shown. Basin hopping moves between minima without having to locate saddle points. [7]
Basin-hopping: Table plotting Wales & Doye Basin-hopping runs from 1997, showing effectiveness and limitations of Basin-hopping for identifying global minima. Demonstrates how effective number of Monte-Carlo steps per run scales. [2]
Table plotting Wales & Doye Basin-hopping runs from 1997, showing effectiveness and limitations of Basin-hopping for identifying global minima. Demonstrates how effective number of Monte-Carlo steps per run scales. [2]

Worked examples

Example 1 — a first encounter with Basin-hopping

Start with the simplest possible case. Write down what Basin-hopping claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Basin-hopping before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Basin-hopping ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Basin-hopping

In research
Basin-hopping appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Basin-hopping in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Basin-hopping is common in secondary-school and first-year university syllabi. It links to neighbouring topics Optimization algorithms and methods, Randomized algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Basin-hopping outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Basin-hopping” →

How to study Basin-hopping in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Basin-hopping means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Basin-hopping out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Basin-hopping in simple terms?

In applied mathematics and computational chemistry, Basin-hopping is a stochastic global optimization technique that iterates by performing random perturbation of coordinates, performing local optimization, and accepting or rejecting new coordinates based on a minimized function value. The algorith…

Why does Basin-hopping matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Basin-hopping?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Basin-hopping.

Tags

  • Optimization algorithms and methods
  • Randomized algorithms

Keep exploring