Two Bridges and a Colony of Argentine Ants
In the late 1980s, Jean-Louis Deneubourg, Simon Goss and their colleagues at the Université Libre de Bruxelles ran a simple experiment with the Argentine ant (Linepithema humile). They connected a nest to a food source through a bridge with two branches, one of them twice as long as the other. No ant could see the whole bridge, and no ant measured anything. Within a few minutes, most of the traffic was on the short branch.
The explanation is mechanical. Ants lay pheromone as they walk and tend to follow stronger trails. The ants that happened to pick the short branch came back sooner, so their branch got marked in both directions before the long one did. Newcomers were then slightly more likely to choose it, which added more pheromone, which attracted more ants. A small early difference grew into a clear preference.
The same group reported a second result in 1989 that is less often quoted. When the short branch was added only after the colony had already settled on the long one, most ants stayed on the long one. Real pheromone fades slowly, so the colony could not unlearn its first choice. That detail turns out to matter a great deal once the idea is turned into an algorithm.
From a Thesis in Milan to Ant System
Marco Dorigo turned the bridge experiment into an optimization method in his 1992 doctoral thesis at the Politecnico di Milano. The journal version, written with Vittorio Maniezzo and Alberto Colorni, appeared in 1996 in the IEEE Transactions on Systems, Man, and Cybernetics under the name Ant System. Its first test problem was the traveling salesman problem: find the shortest closed tour that visits every city exactly once.
The choice was natural. A tour is a sequence of edges in a graph, and an ant walking from city to city builds exactly that kind of sequence. Each edge carries a number, the artificial pheromone, that plays the role of the chemical trail. Many ants build tours in parallel, the good tours reinforce their edges, and the next generation of ants is biased toward those edges.
What makes this different from a genetic algorithm or a particle swarm is where the memory lives. Nothing is stored in the individual ants. All the accumulated experience of the colony sits in a matrix of pheromone values on the edges of the graph, and every new solution is built from scratch by reading that matrix.
The Transition Rule
An ant standing in city i picks the next city j with a probability proportional to two quantities multiplied together. The first is the pheromone on the edge, raised to a power alpha. The second is a heuristic desirability, usually the inverse of the distance between the two cities, raised to a power beta. Cities already visited are excluded. With beta large and alpha small, the ant behaves almost like a greedy nearest-neighbor heuristic. With alpha large, it follows the colony’s history and ignores geography.
After all ants finish their tours, two things happen to the matrix. Every pheromone value is multiplied by a factor smaller than one, which is evaporation. Then each ant deposits an amount inversely proportional to the length of its tour on the edges it used, so shorter tours leave stronger marks.
Evaporation is the piece real ants lack in useful quantity. It caps how much one early lucky tour can dominate and lets edges that stop appearing in good solutions slowly lose their attraction. Without it, the algorithm repeats the mistake of the ants on the late bridge.
Stagnation, ACS and MAX-MIN Ant System
Ant System worked on small instances but lost to established heuristics on larger ones. The usual failure was stagnation: after enough iterations, pheromone concentrated on a handful of edges and every ant built nearly the same tour. Two variants from 1997 dealt with this in opposite ways.
Ant Colony System, published by Dorigo and Luca Maria Gambardella in the IEEE Transactions on Evolutionary Computation, made the search greedier where it counts and more exploratory everywhere else. With a fixed probability, an ant takes the best-looking edge outright instead of sampling. Only the best tour found so far deposits pheromone at the end of an iteration. And every time an ant crosses an edge, it removes a little pheromone from it immediately, so ants in the same iteration are pushed away from each other’s choices.
MAX-MIN Ant System, by Thomas Stützle and Holger Hoos (journal version in Future Generation Computer Systems, 2000), clamps every pheromone value between an upper and a lower bound. All edges start at the upper bound, which keeps early iterations exploratory, and only one ant (the best of the iteration or the best so far) updates the trail. The lower bound guarantees that no edge ever becomes impossible to choose. Stützle and Hoos reported that MMAS was among the best performing algorithms for the TSP and the quadratic assignment problem at the time.
Local Search Does Much of the Work
There is a part of this story that introductions to ACO tend to skip. On its own, the ant construction step does not produce competitive tours on large TSP instances. The versions that reached strong results all paired the ants with a local search, typically 2-opt or 3-opt, which takes each finished tour and repairs it by swapping edges until no simple improvement remains.
Stützle and Hoos described the division of labor directly: MMAS was useful because it generated good starting tours that guided the local search toward promising regions. For the pure symmetric TSP, specialized methods such as Lin-Kernighan heuristics and exact solvers like Concorde remain the reference points, and ACO is not the tool someone picks to win that benchmark. Its value shows up when the problem carries constraints that those specialized methods were not built for.
Capacities, Time Windows and Fleets
Real routing is rarely one salesman. A distributor has a depot, a fleet of trucks with limited capacity, and customers who will only accept deliveries within certain hours. That is the vehicle routing problem, and its version with time windows is one of the most studied problems in operations research.
ACO adapts to it with little change in spirit. An ant builds routes one customer at a time and returns to the depot when the next customer would exceed the truck’s capacity or miss its time window. Bernd Bullnheimer, Richard Hartl and Christine Strauss published an improved Ant System for the capacitated problem in the Annals of Operations Research in 1999. The same year, Gambardella, Éric Taillard and Giovanni Agazzi introduced MACS-VRPTW, which runs two colonies at once. One colony tries to serve all customers with fewer vehicles, and the other minimizes total distance for the current number of vehicles. Whenever the first colony finds a feasible solution with one truck fewer, both restart with the smaller fleet. The authors reported improvements on some of the best known solutions for the Solomon benchmark instances.
Case: Supermarket Trucks in Switzerland
Gambardella’s group at the IDSIA institute in Lugano took these algorithms out of the benchmark tables. A 2003 paper by Gambardella and colleagues describes two tools built on Ant Colony System, AntRoute and DyvOil. According to the authors, AntRoute was used by Migros, the Swiss supermarket chain, to plan daily deliveries with a fleet of hundreds of trucks supplying its stores. DyvOil was used by Pina Petroli, a heating oil distributor in the canton of Ticino with a fleet of 12 vehicles.
Later work by the same group, including a 2005 paper by Roberto Montemanni, Gambardella and coauthors, addressed the dynamic version of the problem, where new orders arrive while the trucks are already on the road, and tested it on a case study set in Lugano. A 2007 article by Andrea Rizzoli, Montemanni, Enzo Lucibello and Gambardella in the journal Swarm Intelligence summarized these real-world applications.
The dynamic case is where pheromone pays off. When an order appears mid-day, the algorithm does not start from zero. The pheromone matrix still holds what the colony learned about which customers belong together, and the ants rebuild routes around the new order from that starting point.
Packets Instead of Trucks
The second family of routing problems has no trucks at all. In a communication network, the question is which neighbor each node should forward traffic to, and the right answer changes as links congest and recover.
Ruud Schoonderwoerd, Owen Holland, Janet Bruten and Léon Rothkrantz proposed Ant-Based Control for circuit-switched telephone networks in Adaptive Behavior (1997). Small agents traveled between random pairs of nodes and updated the routing tables of the nodes they passed, and calls were routed according to those tables. In their simulations it produced fewer failed calls than fixed shortest-path routing.
Gianni Di Caro and Dorigo extended the idea to packet-switched networks with AntNet, published in the Journal of Artificial Intelligence Research in 1998. Forward ants travel toward a destination and record the delays they experience. Backward ants retrace the same path and use those measurements to update probabilistic routing tables at each node. The authors compared AntNet with six other routing algorithms on simulated networks under several traffic patterns and reported that it performed as well as or better than them in their tests. Here, too, evaporation does the essential job: a route that was fast an hour ago and is now congested stops receiving reinforcement and fades.
Closing Thought
The ants on the late bridge are the most useful part of this whole story. A real colony finds short paths because pheromone accumulates, and it gets stuck on long paths because pheromone does not leave quickly enough. The algorithm kept the accumulation and added the one thing biology supplied too weakly, a deliberate rate of forgetting.
That is also why ACO fits routing better than it fits a static benchmark. On a fixed TSP instance, forgetting is mostly a guard against stagnation. On a road network where orders keep arriving, or a data network where links keep congesting, forgetting is what keeps the stored answer current. The parameter that controls evaporation is easy to treat as a tuning detail, but it decides how long the colony believes in yesterday’s best route.
By: Max Johnson B.
Deja una respuesta