ant colony optimization - sdu

47
DM811 Heuristics for Combinatorial Optimization Ant Colony Optimization Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark

Upload: others

Post on 18-Dec-2021

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ant Colony Optimization - SDU

DM811

Heuristics for Combinatorial Optimization

Ant Colony Optimization

Marco Chiarandini

Department of Mathematics & Computer ScienceUniversity of Southern Denmark

Page 2: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisOutline

1. Adaptive Iterated Construction Search

2. Ant Colony OptimizationContextInspiration from Nature

3. The Metaheuristic

4. ACO Variants

5. AnalysisTheoreticalExperimental

2

Page 3: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisOutline

1. Adaptive Iterated Construction Search

2. Ant Colony OptimizationContextInspiration from Nature

3. The Metaheuristic

4. ACO Variants

5. AnalysisTheoreticalExperimental

3

Page 4: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisAdaptive Iterated Construction Search

Key Idea: Alternate construction and local search phases as in GRASP,exploiting experience gained during the search process.

Realisation:

Associate weights with possible decisions made during constructivesearch.

Initialize all weights to some small value Ļ„0 at beginning of searchprocess.

After every cycle (= constructive + local local search phase), updateweights based on solution quality and solution components of currentcandidate solution.

4

Page 5: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Adaptive Iterated Construction Search (AICS):initialise weightswhile termination criterion is not satisfied: do

generate candidate solution s usingsubsidiary randomized constructive search

perform subsidiary local search on sadapt weights based on s

5

Page 6: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Subsidiary constructive search:

The solution component to be added in each step of constructive searchis based on i) weights and ii) heuristic function h.

h can be standard heuristic function as, e.g., used bygreedy heuristics

It is often useful to design solution component selection in constructivesearch such that any solution component may be chosen (at least withsome small probability) irrespective of its weight and heuristic value.

6

Page 7: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Subsidiary local search:

As in GRASP, local search phase is typically important for achievinggood performance.

Can be based on Iterative Improvement or more advanced LS method(the latter often results in better performance).

Tradeoff between computation time used in construction phase vs localsearch phase (typically optimized empirically, depends on problemdomain).

7

Page 8: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Weight updating mechanism:

Typical mechanism: increase weights of all solution componentscontained in candidate solution obtained from local search.

Can also use aspects of search history;e.g., current candidate solution can be used as basis forweight update for additional intensification.

8

Page 9: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Example: A simple AICS algorithm for the TSP (1/2)[ Based on Ant System for the TSP, Dorigo et al. 1991 ]

Search space and solution set as usual (all Hamiltonian cycles in givengraph G). However represented in a construction tree T .

Associate weight Ļ„ij with each edge (i, j) in G and T

Use heuristic values Ī·ij := 1/wij .

Initialize all weights to a small value Ļ„0 (parameter).

Constructive search start with randomly chosen vertexand iteratively extend partial round trip Ļ† by selecting vertexnot contained in Ļ† with probability

[Ļ„ij ]Ī± Ā· [Ī·ij ]Ī²āˆ‘

lāˆˆN ā€²(i)[Ļ„il]Ī± Ā· [Ī·ij ]Ī²

9

Page 10: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Example: A simple AICS algorithm for the TSP (2/2)

Subsidiary local search = typical iterative improvement

Weight update according to

Ļ„ij := (1āˆ’ Ļ) Ā· Ļ„ij + āˆ†(ij, sā€²)

where āˆ†(i, j, sā€²) := 1/f(sā€²), if edge ij is contained inthe cycle represented by sā€², and 0 otherwise.

Criterion for weight increase is based on intuition that edges contained inshort round trips should be preferably used in subsequent constructions.

Decay mechanism (controlled by parameter Ļ) helps to avoid unlimitedgrowth of weights and lets algorithm forget past experience reflected inweights.

(Just add a population of cand. solutions and you havean Ant Colony Optimization Algorithm!)

10

Page 11: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisOutline

1. Adaptive Iterated Construction Search

2. Ant Colony OptimizationContextInspiration from Nature

3. The Metaheuristic

4. ACO Variants

5. AnalysisTheoreticalExperimental

11

Page 12: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisSwarm Intelligence

Definition: Swarm Intelligence

Swarm intelligence deals with systems composed of many individuals thatcoordinate using decentralized control and self-organization.In particular, it focuses on the collective behaviors that emerges from thelocal interactions of the individuals with each other and with theirenvironment and without the presence of a coordinator

Examples:

Natural swarm intelligencecolonies of ants and termitesschools of fishflocks of birdsherds of land animals

Artificial swarm intelligenceartificial life (boids)robotic systemscomputer programs for tacklingoptimization and data analysisproblems.

13

Page 13: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisSwarm Intelligence

Research goals in Swarm Intelligence:

scientificmodelling swarm intelligence systems to understand the mechanismsthat allow coordination to arise from local individual-individual andindividual-environment interactionsengineeringexploiting the understanding developed by the scientific stream in orderto design systems that are able to solve problems of practical relevance

14

Page 14: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisThe Biological Inspiration

Double-bridge experiment [Goss, Aron, Deneubourg, Pasteels, 1989]

If the experiment is repeated a number of times, it is observed that eachof the two bridges is used in about 50% of the cases.About 100% the ants select the shorter bridge

16

Page 15: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisSelf-organization

Four basic ingredients:1 Multiple interactions2 Randomness3 Positive feedback (reinforcement)4 Negative feedback (evaporating, forgetting)

Communication is necessaryTwo types of communication:

Direct: antennation, trophallaxis (food or liquid exchange), mandibularcontact, visual contact, chemical contact, etc.Indirect: two individuals interact indirectly when one of them modifiesthe environment and the other responds to the new environment at alater time.This is called stigmergy and it happens through pheromone.

17

Page 16: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisStigmergy

"The coordination of tasks and the regulation of constructions does notdepend directly on the workers, but on the constructions themselves.The worker does not direct his work, but is guided by it. It is to thisspecial form of stimulation that we give the name STIGMERGY (stigma,sting; ergon, work, product of labour = stimulating product of labour)."GrassƩ P. P., 1959

StigmergyStimulation of workersby the performancethey have achieved

GrassƩ P. P., 1959

18

Page 17: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisMathematical Model

[Goss et al. (1989)] developed a model of the observed behavior:

Assuming that at a given moment in time,

m1 ants have used the first bridgem2 ants have used the second bridge,

The probability Pr[X = 1] for an ant to choose the first bridge is:

Pr[X = 1] =(m1 + k)h

(m1 + k)h + (m2 + k)h

(parameters k and h are to be fitted to the experimental data)

19

Page 18: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisWhy Does it Work?

Three important components:TIME: a shorter path receives pheromone quicker(this is often called: "differential length effect")QUALITY: a shorter path receives morepheromoneCOMBINATORICS: a shorter path receivespheromone more frequently because it is likely tohave a lower number of decision points

20

Page 19: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Our Basic Design ChoicesAnts are given a memory ofvisited nodesAnts build solutionsprobabilistically (withoutupdating pheromone trails)Ants deterministically retracebackward the forward path toupdate pheromoneAnts deposit a quantity ofpheromone function of thequality of the solution theygenerated

21

Page 20: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Using Pheromone and Memory to Choose the Next Node

For ant k:

pkijd(t) = f(Ļ„ijd(t)

)

22

Page 21: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Antsā€™ Probabilistic Transition Rule

For ant k:

pkijd(t) =

[Ļ„ijd(t)]

Ī±āˆ‘hāˆˆJki

[Ļ„ihd(t)

]Ī±

Ļ„ijd is the amount of pheromone trail on edge (i, j, d)

Jki is the set of feasible nodes ant k positioned on node i can move to

23

Page 22: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Antsā€™ Pheromone Trail: Deposition and Evaporation

Evaporation:

Ļ„ijd(t+ 1)ā† (1āˆ’ Ļ) Ā· Ļ„ijd(t)

Deposition

Ļ„ijd(t+ 1)ā† Ļ„ijd(t+ 1) + āˆ†kijd(t)

(i, j)ā€™s are the links visited by ant k, and

āˆ†kijd(t) āˆ¼ qualityk

eg: qualityk proportional to the inverse of thetime it took ant k to build the path from i tod via j. 24

Page 23: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Using Pheromones and Heuristic to Choose the Next Node

For ant k

pkijd(t) = f(Ļ„ijd(t), Ī·ijd(t))

Ļ„ijd is a value stored in a pheromone tableĪ·ijd is a heuristic evaluation of link (i, j, d) which introduces problemspecific information

25

Page 24: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Antsā€™ Probabilistic Transition Rule (Revised)

pkijd(t) =

[Ļ„ijd(t)]

Ī± Ā·[Ī·ijd(t)]

Ī²āˆ‘hāˆˆJki

[Ļ„ihd(t)

]Ī± Ā· [Ī·ijd(t)]Ī²

Ļ„ijd is the amount of pheromone trail on edge (i, j, d)

Ī·ijd is the heuristic evaluation of link (i, j, d)

Jki is the set of feasible nodes ant k positioned on node i can move to

26

Page 25: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisFrom Real to Artificial Ants

Simple Ant Colony Optimization Algorithm

1. Ants are launched at regular instants from each node to randomlychosen destinations

2. Ants build their paths probabilistically with a probability function of:artificial pheromone valuesheuristic values

3. Ants memorize visited nodes and costs incurred

4. Once reached their destination nodes, ants retrace their pathsbackwards, and update the pheromone trails

5. Repeat from 1.

The pheromone trail is the stigmergic variable

27

Page 26: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisArtificial versus Real Ants:

Main Differences

Artificial ants:Live in a discrete worldDeposit pheromone in a problem dependent wayCan have extra capabilities:local search, lookahead, backtracking

Exploit an internal state (memory)Deposit an amount of pheromone function of the solution qualityCan use heuristics

28

Page 27: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisOutline

1. Adaptive Iterated Construction Search

2. Ant Colony OptimizationContextInspiration from Nature

3. The Metaheuristic

4. ACO Variants

5. AnalysisTheoreticalExperimental

29

Page 28: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisAnt Colony Optimization

The Metaheuristic

The optimization problem is transformed into the problem of finding thebest path on a weighted graph G(V,E) called construction graph

The artificial ants incrementally build solutions by moving on theconstruction graph.

The solution construction process isstochasticbiased by a pheromone model, that is, a set of parameters associatedwith graph components (either nodes or edges) whose values aremodified at runtime by the ants.

All pheromone trails are initialized to the same value, Ļ„0.

At each iteration, pheromone trails are updated by decreasing(evaporation) or increasing (reinforcement) some trail levelson the basis of the solutions produced by the ants

30

Page 29: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisAnt Colony Optimization

Example: A simple ACO method for the TSP

Construction graph

To each edge ij in G associatepheromone trails Ļ„ijheuristic values Ī·ij := 1

cij

Initialize pheromones

Probabilistic construction:

pij =[Ļ„ij ]

Ī± Ā· [Ī·ij ]Ī²āˆ‘lāˆˆNki

[Ļ„il]Ī± Ā· [Ī·il]Ī²

, Ī± and Ī² are parameters.

Update pheromone trail levels

Ļ„ij ā† (1āˆ’ Ļ) Ā· Ļ„ij + Ļ Ā· Reward 31

Page 30: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisACO Metaheuristic

Population-based method in which artificial ants iteratively constructcandidate solutions.Solution construction is probabilistically biased bypheromone trail information, heuristic information andpartial candidate solution of each ant (memory).Pheromone trails are modified during the search processto reflect collective experience.

Ant Colony Optimization (ACO):initialize pheromone trailswhile termination criterion is not satisfied do

generate population P of candidate solutionsusing subsidiary randomized constructive search

apply subsidiary local search on Pupdate pheromone trails based on P

32

Page 31: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Note

In each cycle, each ant creates one candidate solutionusing a constructive search procedure.

Ants build solutions by performing randomized walks on a constructiongraph G = (V,E) where V are solution components and G is fullyconnected.

All pheromone trails are initialized to the same value, Ļ„0.

Pheromone update typically comprises uniform decrease ofall trail levels (evaporation) and increase of some trail levelsbased on candidate solutions obtained from construction + local search.

Subsidiary local search is (often) applied to individual candidatesolutions.

Termination criterion can include conditions on make-up of currentpopulation, e.g., variation in solution quality or distance betweenindividual candidate solutions.

33

Page 32: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysis

Example: A simple ACO algorithm for the TSP (Revised)

Search space and solution set: all Hamiltonian cycles in given graph G.

Associate pheromone trails Ļ„ij with each edge (i, j) in G.

Use heuristic values Ī·ij := 1cij

Initialize all weights to a small value Ļ„0 (Ļ„0 = 1).

Constructive search: Each ant starts with randomly chosenvertex and iteratively extends partial round trip Ļ€k by selectingvertex not contained in Ļ€k with probability

pij =[Ļ„ij ]

Ī± Ā· [Ī·ij ]Ī²āˆ‘lāˆˆNki

[Ļ„il]Ī± Ā· [Ī·il]Ī²

Ī± and Ī² are parameters.34

Page 33: Ant Colony Optimization - SDU

Example: A simple ACO algorithm for the TSP (2)

Subsidiary local search: Perform iterative improvementbased on standard 2-exchange neighborhood on eachcandidate solution in population (until local minimum is reached).

Update pheromone trail levels according to

Ļ„ij := (1āˆ’ Ļ) Ā· Ļ„ij +āˆ‘sāˆˆspā€²

āˆ†ij(s)

where āˆ†ij(s) := 1/Cs if edge (i, j) is contained in the cycle representedby sā€², and 0 otherwise.

Motivation: Edges belonging to highest-quality candidate solutionsand/or that have been used by many ants should be preferably used insubsequent constructions.

Termination: After fixed number of cycles(= construction + local search phases).

Page 34: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisOutline

1. Adaptive Iterated Construction Search

2. Ant Colony OptimizationContextInspiration from Nature

3. The Metaheuristic

4. ACO Variants

5. AnalysisTheoreticalExperimental

36

Page 35: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisACO Variants

Variants of ACO tested on the TSP

Ant System AS (Dorigo et al., 1991)

Elitist AS (EAS)(Dorigo et al., 1991; 1996)The iteration best solution adds more pheromone

Rank-Based AS (ASrank)(Bullnheimer et al., 1997; 1999)Only best ranked ants can add pheromonePheromone added is proportional to rank

Max-Min AS (MMAS)(StĆ¼tzle & Hoos, 1997)

Ant Colony System (ACS) (Gambardella & Dorigo, 1996; Dorigo &Gambardella, 1997)

Approximate Nondeterministic Tree Search ANTS (Maniezzo 1999)

Hypercube AS (Blum, Roli and Dorigo, 2001)

37

Page 36: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisAnt System

Initialization:Ļ„ij = Ļ„o =

m

CNN

Motivation: sligthly more than what evaporatesConstruction: m ants in m randomly chosen cities

pij =[Ļ„ij ]

Ī± Ā· [Ī·ij ]Ī²āˆ‘lāˆˆNki

[Ļ„il]Ī± Ā· [Ī·il]Ī², Ī± and Ī² parameters

UpdateĻ„ij ā† (1āˆ’ Ļ) Ā· Ļ„ij to all the edges

Ļ„ij ā† Ļ„ij +māˆ‘k=1

āˆ†kij to the edges visited by the ants, āˆ†k

ij = 1Ck

38

Page 37: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisElitist Ant System

Update

Ļ„ij ā† (1āˆ’ Ļ) Ā· Ļ„ij to all the edges

Ļ„ij ā† Ļ„ij +

māˆ‘k=1

āˆ†kij + e Ā·āˆ†bs

ij to the edges visited by the ants

āˆ†bsij =

{1Cbs

(ij) in tour k, bs best-so-far0 otherwise

39

Page 38: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisRank-based Ant System

Update: only w āˆ’ 1 best ranked ants + the best-so-far solution depositpheromone:

Ļ„ij ā† (1āˆ’ Ļ) Ā· Ļ„ij to all the edges

Ļ„ij ā† Ļ„ij +wāˆ’1āˆ‘k=1

āˆ†kij + w Ā·āˆ†bs

ij to the edges visited by the ants

āˆ†kij =

1

Ck

āˆ†bsij =

1

Cbs

40

Page 39: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisMAXMAXMAX -MINMINMIN Ant System

(MMMMMMAS)

Peculiarities in pheromone management:Update

Ļ„ij ā† (1āˆ’ Ļ) Ā· Ļ„ij to all the edgesĻ„ij ā† Ļ„ij + āˆ†bs

ij only to the edges visited by the best ant

Meaning of best alternates during the search between:best-so-fariteration best

bounded values Ļ„min and Ļ„maxĻ„max = 1

ĻCāˆ— and Ļ„min = Ļ„maxa

Reinitialization of Ļ„ if:stagnation occursidle iterations

Results obtained are better than AS, EAS, and ASrank, and of similar qualityto ACSā€™s

41

Page 40: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisAnt Colony System (ACS)

Three main ideas:Different state transition rule

j =

arg maxlāˆˆNki {Ļ„ilĪ·

Ī²il} if q ā‰¤ q0

pij =[Ļ„ij ]

Ī±Ā·[Ī·ij ]Ī²āˆ‘lāˆˆNk

i

[Ļ„il]Ī±Ā·[Ī·il]Ī² otherwise

Global pheromone update

Ļ„ij ā† (1āˆ’ Ļ) Ā· Ļ„ij + Ļāˆ†bsij (s)

to only (ij) in best-so-far tour (O(n) complexity)Local pheromone update: happens during tour construction to avoidother ants to make the same choices:

Ļ„ij ā† (1āˆ’ Īµ) Ā· Ļ„ij + ĪµĻ„0 Īµ = 0.1, Ļ„0 =1

nCNN

Parallel construction preferred to sequential construction42

Page 41: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisApproximate Nondeterministic Tree Search

Use of lower bound to compute heuristic valueAdd an arc to the current partial solution and estimate LB of completesolution

Different solution construction rule

pkij =Ī±Ļ„ij + (1āˆ’ Ī±)Ī·ijāˆ‘

lāˆˆNki

Ī±Ļ„il + (1āˆ’ Ī±)Ī·il

Different pheromone trail update rule

Ļ„ij ā† Ļ„ij +

kāˆ‘i=1

āˆ†kij āˆ†k

ij =

{Īø(1āˆ’ Ckāˆ’LB

Lavgāˆ’LB if (ij) in belongs to T k

0 otherwise

43

Page 42: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisStrongly Invariant ACO

Considers instances which are equivalent up to a linear transformation ofunits.

The siACO is an algorithm that enjoy the property of that its internal state ateach iteration is the same on equivalent instances.

For AS:Use heuristic values Ī·ij := CNN

nĀ·cij

Update according to

Ļ„ij := (1āˆ’ Ļ) Ā· Ļ„ij +āˆ‘sāˆˆspā€²

āˆ†ij(s)

where āˆ†ij(s) := CNN

mĀ·Csif edge (i, j) is contained in the cycle represented by sā€², and 0 otherwise.

Can be extended to other ACO versions and to other problems: QAP andScheduling

44

Page 43: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisOutline

1. Adaptive Iterated Construction Search

2. Ant Colony OptimizationContextInspiration from Nature

3. The Metaheuristic

4. ACO Variants

5. AnalysisTheoreticalExperimental

45

Page 44: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisAnalytical studies

[Gutjahr, Future Generation Computer Systems, 2000, Information ProcessingLetters 2002] and [StĆ¼tzle and Dorigo, IEEE Trans. on EvolutionaryComputation, 2002] have proved convergence with prob 1 to the optimalsolution of different versions of ACO

Runtime analysis of Different MMAS ACO algorithms on UnimodalFunctions and Plateaus [Neumann, Sudholt and Witt, Swarm Intelligence,2009]

[Meuleau and Dorigo, Artificial Life Journal, 2002] have shown that thereare strong relations between ACO and stochastic gradient descent in thespace of pheromone trails, which converges to a local optimum withprob 1

[Zlochin et al. TR, 2001] have shown the tight relationship between ACOand estimation of distribution algorithms

Studies on pheromone dynamics [Merkle and Middendorf, EvolutionaryComputation, 2002]

47

Page 45: Ant Colony Optimization - SDU

Experimental Analysis

Things to checkParameter Tuning

Synergy

Pheromone Development

Strength of local search (exploitation vs exploration)

Heuristic Information (linked to parameter Ī²)Results show that with Ī² = 0 local search can still be enough

Lamarkian vs Darwinian Pheromone Updates

Run Time impact

Page 46: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisParameter tuning

50

Page 47: Ant Colony Optimization - SDU

Adaptive Iterated Construction SearchAnt Colony OptimizationThe MetaheuristicACO VariantsAnalysisHow Many Ants?

Number of tours generated to find the optimal solution as a function of thenumber m of ants used

51