
360 17. Ant Algorithms
This chapter provides an introductory overview of ant algorithms. Section 17.1 con-
siders the foraging behavior of ants and discusses the first ant algorithms developed
on the basis of foraging models to solve discrete combinatorial optimization problems.
Models of the cemetery organization and brood care behaviors are discussed in Sec-
tion 17.2. The division of labor behavior is covered in Section 17.3. Some advanced
topics are presented in Section 17.4, including application of ACO in continuous en-
vironments, MOO, dynamic environments, and handling constraints. Applications of
ant algorithms (AA) are summarized in Section 17.5
17.1 Ant Colony Optimization Meta-Heuristic
One of the first behaviors studied by entomologists was the ability of ants to find
the shortest path between their nest and a food source. From these studies and
observations followed the first algorithmic models of the foraging behavior of ants, as
developed by Marco Dorigo [208]. Since then, research in the development of AAs
has gained momentum, resulting in a large number of algorithms and applications.
Collectively, algorithms that were developed as a result of studies of ant foraging
behavior are referred to as instances of the ant colony optimization meta-heuristic
(ACO-MH) [211, 215]. This section provides an overview of the ACO-MH, with a
focus on the basic principles of ACO algorithms, and the first algorithms that have
been developed. Section 17.1.1 gives an overview of the foraging behavior of real
ants, and introduces the concepts of stigmergy and artificial ants. A very simple ant
algorithm implementation is discussed in Section 17.1.3 to illustrate the basic principles
of AAs. Sections 17.1.4 to 17.1.11 respectively discuss the ant system (AS), ant colony
system (ACS), max-min ant system (MMAS), Ant-Q, fast ant system, Antabu, AS-
rank and ANTS instances of the ACO-MH. These algorithms were the first set of
ant algorithms implemented, mainly with reference to the traveling salesman problem
(TSP). Section 17.1.12 provides a discussion on the parameters of these algorithms.
17.1.1 Foraging Behavior of Ants
How do ants find the shortest path between their nest and food source, without any
visible, central, active coordination mechanisms? Studies of the foraging behavior
of several species of real ants revealed an initial random or chaotic activity pattern
in the search for food [216, 304, 628]. As soon as a food source is located, activity
patterns become more organized with more and more ants following the same path
to the food source. “Auto-magically”, soon all ants follow the same, shortest path.
This emergent behavior is a result of a recruitment mechanism whereby ants that have
located a food source influence other ants towards the food source. The recruitment
mechanism differs for different species, and can either be in the form of direct contact,
or indirect “communication.” Most ant species use the latter form of recruitment,
where communication is via pheromone trails. When an ant locates a food source,
it carries a food item to the nest and lays pheromone along the trail. Forager ants
decide which path to follow based on the pheromone concentrations on the different