Swarm Intelligence II: Ant Colony Optimization
Ant Colony Optimization
ACO Intuition
Ant colony optimization is inspired by the way ants collectively discover short paths using pheromone trails. Artificial ants construct solutions step by step and reinforce promising components with pheromone updates.
ACO Concepts
ACO Pseudocode
-
1
Step 1: Initialize pheromone levels.
-
2
Step 2: For each ant, construct a solution probabilistically.
-
3
Step 3: Evaluate solution quality.
-
4
Step 4: Update pheromones on good solution components.
-
5
Step 5: Evaporate pheromones to avoid stagnation.
-
6
Step 6: Repeat.
ACO vs PSO
ACO
- Constructs solutions piece by piece
- Uses pheromone memory
- Often strong for routing and combinatorial problems
PSO
- Moves existing candidate positions
- Uses velocity and best positions
- Often strong for continuous optimization
What is pheromone evaporation used for in ACO?
Evaporation helps the algorithm forget stale trails and keep exploring.
Correct answer: To prevent overcommitment and stagnation
What does an ant do in ACO?
Each ant builds a solution using pheromone and heuristic information.
Correct answer: It constructs a candidate solution probabilistically.
Which type of problem is ACO especially well suited for?
ACO is particularly effective for combinatorial construction problems like routing.
Correct answer: Routing and combinatorial optimization
Design Insight
Good heuristic information can dramatically improve ACO performance because it guides ants before pheromone learning becomes strong.
Probability of Choosing an Edge
A common ACO choice rule assigns higher probability to edges with stronger pheromone and better heuristic value, often proportional to .