Related Experiment Video
Updated: Jun 6, 2026

Collection and Long-Term Maintenance of Leaf-Cutting Ants (Atta) in Laboratory Conditions
Published on: August 30, 2022
Optimisation in a natural system: Argentine ants solve the Towers of Hanoi
Chris R Reid1, David J T Sumpter, Madeleine Beekman
1Behaviour and Genetics of Social Insects Laboratory and Centre for Mathematical Biology, School of Biological Sciences A12, University of Sydney, NSW 2006, Australia. christopher.reid@sydney.edu.au
Abstract:
Natural systems are a source of inspiration for computer algorithms designed to solve optimisation problems. Yet most 'nature-inspired' algorithms take only superficial inspiration from biology, and little is known about how real biological systems solve difficult problems. Moreover, ant algorithms, neural networks and similar methods are usually applied to static problems, whereas most biological systems have evolved to perform under dynamically changing conditions. We used the Towers of Hanoi puzzle to test whether Argentine ants can solve a potentially difficult optimisation problem. We also tested whether the ants can adapt to dynamic changes in the problem. We mapped all possible solutions to the Towers of Hanoi on a single graph and converted this into a maze for the ants to solve. We show that the ants are capable of solving the Towers of Hanoi, and are able to adapt when sections of the maze are blocked off and new sections installed. The presence of exploration pheromone increased the efficiency of the resulting network and increased the ants' ability to adapt to changing conditions. Contrary to previous studies, our study shows that mass-recruiting ant species such as the Argentine ant can forage effectively in a dynamic environment. Our results also suggest that novel optimisation algorithms can benefit from stronger biological mimicry.
Related Concept Videos
Optimal Foraging
What is Natural Selection?
Distributed Loads: Problem Solving
Machines: Problem Solving II
Biot-Savart Law: Problem-Solving
Consider a mobile phone battery bank as a source of steady current, which flows through the wire connected between the two. What is the magnitude of the magnetic field created by this current at a field point P?
To estimate the magnitude of the total magnetic field, we first consider a small current element of length dl, at a distance r from the field point. Now the following...
Machines: Problem Solving I
The toggle clamp system is a machine structure consisting of movable, pin-connected multi-force members that form a stabilized system to transmit forces. The...
