In this research work we present two novel swarm heuristics based respectively on the ants and bees artificial colonies, called AS-GCP and ABC-GCP. The first is based mainly on the combination of Greedy Partitioning Crossover (GPX), and a local search approach that interact with the pheromone trails system; the last, instead, has as strengths three evolutionary operators, such as a mutation operator; an improved version of GPX and a Temperature mechanism. The aim of this work is to evaluate the efficiency and robustness of both developed swarm heuristics, in order to solve the classical Graph Coloring Problem (GCP). Many experiments have been performed in order to study what is the real contribution of variants and novelty designed both in AS-GCP and ABC-GCP.
A first study has been conducted with the purpose for setting the best parameters tuning, and analyze the running time for both algorithms. Once done that, both swarm heuristics have been compared with 15 different algorithms using the classical DIMACS benchmark. Inspecting all the experiments done is possible to say that AS-GCP and ABC-GCP are very competitive with all compared algorithms, demonstrating thus the goodness of the variants and novelty designed. Moreover, focusing only on the comparison among AS-GCP and ABC-GCP is possible to claim that, albeit both seem to be suitable to solve the GCP, they show different features: AS-GCP presents a quickly convergence towards good solutions, reaching often the best coloring; ABC-GCP, instead, shows performances more robust, mainly in graphs with a more dense, and complex topology. Finally, ABC-GCP in the overall has showed to be more competitive with all compared algorithms than AS-GCP as average of the best colors found.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Swarm Intelligence Heuristics for Graph Coloring Problem
1. Swarm Intelligence Heuristics for
Graph Coloring Problem
Piero Consoli 1 Alessio Collerà 2 Mario Pavone 2
1School of Computer Science,
University of Birmingham
Edgbaston, Birmingham, B15 2TT, UK
2Department of Mathematics and Computer Science,
University of Catania
Viale A. Doria 6, 95125 Catania, Italy
IEEE Congress on Evolutionary Computation – CEC 2013
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 1 / 24
2. Outline
1 Introduction & Aims
2 Graph Coloring Problem
3 Swarm Intelligence Heuristics
AS-GCP: an Ant Colony System
ABC-GCP: an Artificial Bee Colony
4 Results
Parameters Tuning
Running Time – ttt-plots
Experimental Comparisons
5 Conclusions
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 2 / 24
3. Introduction & Aims
Introduction & Aims
Two novel Swarm Heuristics: AS-GCP and ABC-GCP
Ant Systems: most efficient and robust of the family
Artificial Bee Colony: competitive in optimization tasks
[Karaboga et al., J. of Global Optimization, 39(3), 2007]
Graph Coloring Problem used for evaluate and compare
Aims:
1 evaluate performances of AS-GCP and ABC-GCP
2 quality of solutions: minimal colors number found; average colors
number found; success rate; and average evaluations number to
solution
3 impact factor of variants and novelties designed
4 search capabilities
5 efficiency and robustness
6 Which of the two is more suitable for coloring a graph
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 3 / 24
4. Graph Coloring Problem
Graph Coloring Problem – GCP
Classical combinatorial optimization problem that finds
applicability in many real-world problems
Given G = (V, E) assign one color C such that C(u) = C(v) for
any (u, v) ∈ E
Partitioning V into groups: every group is an independent set
Chromatic Number (χ): minimal number of colors
if |C| = k then G is said k-colorable
if k = χ G is said k-chromatic.
Computing χ is NP–complete problem [Garey and Johnson,1979]
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 4 / 24
5. Swarm Intelligence Heuristics AS-GCP: an Ant Colony System
an Ant Colony System – AS-GCP
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 5 / 24
6. Swarm Intelligence Heuristics AS-GCP: an Ant Colony System
AS-GCP
AS-GCP is based on ANTCOL [Costa et al., J. of Oper. Research Society, 49:295–305, 1997]
Randomized ANT_RLF: combines the good heuristic of RLF with the
pheromone trails
Pi,k =
τα
ik ηβ
ik
j∈W τα
ij ηβ
ij
Fitness function: takes account the number of colors, and length of each
color class
f(x) =
1
||V| − |Ck || · c(x)
Pheromone trail:
τv,k =
1, if Ck is empty
u∈Ck
Mu,v
|Ck | , otherwise.
Evaporation mechanism: Mr,s = (1 − ρ) Mr,s
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 6 / 24
7. Swarm Intelligence Heuristics AS-GCP: an Ant Colony System
AS-GCP
Any ant undergoes to Crossover Operator and Local Search
Greedy Partitioning Crossover (GPX): most important the set of
the vertices that belong to the same class [Jin-Kao Hao et al., J. of
Combinatorial Optimization, 3(4): 379–397, 1997]
Local Search: recursively tries to decrease the number of colors
of each solution
Depends on the parameters: minRec and maxRec
Integration among GPX and Local Search: avoid fragmentation of
the colorclasses
refinement via LS if the cardinality is below to partLim
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 7 / 24
9. Swarm Intelligence Heuristics ABC-GCP: an Artificial Bee Colony
an Artificial Bee Colony – ABC-GCP
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 9 / 24
10. Swarm Intelligence Heuristics ABC-GCP: an Artificial Bee Colony
ABC-GCP
Three different types of bees each with different task
Employed Bees: search for food, and store information on food
sources
tries to improve each solution using perturbation operators
Onlooker Bees: exploits the information in order to select good
food sources
choose the solution to exploit with a roulette wheel selection
Scout Bees: discover new food sources
all solutions without improvements are replaced by new ones
Initialization phase: RLF + random order
Strengths via three operators: mutation, crossover and
temperature mechanism
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 10 / 24
11. Swarm Intelligence Heuristics ABC-GCP: an Artificial Bee Colony
ABC-GCP
SmartSwap mutation operator: tries to reduce the number of
colorclasses handling the troublesome nodes
partLimit: maximum number of constraints unsatisfied allowed
optimized GPX: the cardinality of the color classes that can be
copied are handled by a parameter
generated conflicts are eliminated
Temperature mechanism: dynamically handles some parameters
during the evolutionary cycle
number of parents involved in GPX
number of the improvement trails needed to replace a solution
number of scout bees
percentage of solutions generated by RLF during the scout bees
phase
if we inhibit one of them the outcome will be negatively affected
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 11 / 24
23. Results Running Time – ttt-plots
Time-To-Target plots
Standard graphical methodology for data analysis
[Chambers et la., Chapman Hall, 1983]
A way to characterize the running time of stochastic algorithms
display the probability that an algorithm will find a solution as good as a
target within a given running time
a Perl program – tttplots.pl – to create time-to-target plots
[Resende et al., Optimization Letters, 2007] – [http://www2.research.att.com/˜mgcr/tttplots/]
Both swarm heuristics are run where the obtained mean is equal to the
optimal solution
Analysis conducted on: le450_15b and DSJC250.1 200 runs
termination criterion: until finding the target solution
larger is the number of runs closer is the empirical distribution to the
theoretical distribution
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 17 / 24
24. Results Running Time – ttt-plots
ttt-plots
0
0.2
0.4
0.6
0.8
1
400 450 500 550 600 650 700 750 800
cumulativeprobability
time to target solution
Ant Colony System
empirical
theoretical
0
0.2
0.4
0.6
0.8
1
0 30 60 90
cumulativeprobability
time to target solution
Artificial Bee Colony
empirical
theoretical
500
550
600
650
700
750
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
measuredtimes
exponential quantiles
Ant Colony System
empirical
estimated
+1 std dev range
-1 std dev range
46
48
50
52
54
56
58
60
62
64
66
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
measuredtimes
exponential quantiles
Artificial Bee Colony
empirical
estimated
+1 std dev range
-1 std dev range
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 18 / 24
27. Results Experimental Comparisons
AS-GCP ABC-GCP vs. Other Algorithms
instance IMMALG ANTCOL EVOLVE_AO HCA MACOL ABC-GCP AS-GCP
DSJC125.5 18.0 18.7 17.2 - 17.0 17.9 17.0
DSJC250.5 28.0 31.0 29.1 28.1 28.0 29.0 29.7
flat300_20 20.0 20.0 26.0 - 20.0 20.0 20.0
flat300_26 27.0 34.4 31.0 - 26.0 26.0 32.6
flat300_28 32.0 34.3 33.0 31.4 29.0 31.8 32.6
le450_15a 15.0 16.0 15.0 - 15.0 16.0 16.0
le450_15b 15.0 16.0 15.0 - 15.0 16.0 16.0
le450_15c 15.0 15.0 16.0 15.6 15.0 15.0 15.0
le450_15d 16.0 15.0 19.0 - 15.0 15.2 15.0
mulsol.i.1 49.0 - - - - 49.0 49.0
school1.nsh 15.0 - - - 14.0 14.0 14.0
IMMALG: [Cutello et al., Journal of Combinatorial Optimization, 14(1):9–33, 2007] and [Pavone et al., Journal of Global
Optimization, 53(4):769–808, 2012]
ANTCOL: [Costa et al., Journal of Operational Research Society, 49:295–305, 1997]
EVOLVE_AO: [Barbosa et al., Journal of Combinatorial Optimization, 8(1):41–63, 2004]
HCA: [Hao et al., Journal of Combinatorial Optimization, 3(4):379–397, 1999]
MACOL: [Hao et al., European Journal of Operational Research, 203(1):241–250, 2010]
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 21 / 24
28. Results Experimental Comparisons
AS-GCP ABC-GCP vs. Other Algorithms
instance HPSO GPB VNS VSS HANTCOL ABC-GCP AS-GCP
DSJC250.5 28 28 - - 28 29 29
flat300_26 26 - 31 - - 26 32
flat300_28 31 31 31 29 31 31 32
le450_15c 15 15 15 15 15 15 15
le450_15d 15 - 15 15 - 15 15
The results have been taken from [Qin et al., Journal of Computers, 6(6):1175–1182, 2011]
HPSO: [Qin et al., Journal of Computers, 6(6):1175–1182, 2011]
GPB: [Glass et al., Journal of Combinatorial Optimization, 7(3):229–236, 2003]
VNS: [Hertz et al., European Journal of Operational Research, 151(2):379–388, 2003]
VSS: [Hertz et al., Discrete Applied Mathematics, 156(13):2551–2560, 2008]
HANTCOL: [Thompson et al., Discrete Applied Mathematics, 156(3):313–324, 2008]
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 22 / 24
29. Conclusions
Conclusions (1/2)
A comparative study is presented between two swarm intelligence
heuristics
AS-GCP: based on the combination of GPX and LS
ABC-GCP: based on SmartSwap mutation operator; optimized
GPX; and Temperature mechanism
GCP has been tackled in order to evaluate the performances
Many experiments have been performed in order to:
find the best tuning of the parameters
analyze the running time via Time-To-Target plots
performed experimental comparisons
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 23 / 24
30. Conclusions
Conclusions (2/2)
Inspecting ttt-plots: ABC-GCP produces good approximations of
the theoretical distributions than AS-GCP
Analyzing experiments: both swarm heuristics are competitive
with all tested algorithms
The efficiency and robustness showed proves us the goodness of
the variants, and novelties designed
AS-GCP vs. ABC-GCP:
AS-GCP shows a quickly learning that helps in reaching the best
coloring in a few generations
ABC-GCP presents a behavior more robust and competitive than
AS-GCP
ABC-GCP seems to be more suitable on graphs with more dense,
and complex topology
Mario Pavone (mpavone@dmi.unict.it) http://www.dmi.unict.it/mpavone/ University of Catania 24 / 24