SlideShare a Scribd company logo
Nature-Inspired Optimization Algorithms
Xin-She Yang
Middlesex University London
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 1 / 44
Live in Nature and Inspired by Nature
At the Gates of Nature and Inspired by Nature
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 2 / 44
The Essence of an Algorithm The Essence of an Algorithm
The Essence of an Algorithm
Essence of an Optimization Algorithm
To move to a new, better point x(t+1) from an existing location x(t).
x1
x2
x(t)
x(t+1)
?
Population-based algorithms use multiple, interacting paths.
Different algorithms
Different strategies/approaches in generating these moves!
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 3 / 44
The Essence of an Algorithm The Essence of an Algorithm
The Essence of an Algorithm
In essence, an algorithm can be written (mathematically) as
xt+1
= A(xt
, α),
For any given xt, the algorithm will generate a new solution xt+1.
Functional or a Dynamical System?
We can view the above equation as
an iterative functional (with fixed points),
or a dynamical system (with attractors),
or a self-organization system (with organized structures),
or a Markov chain (e.g., Markov chain Monte Carlo).
The behavoir of the system (algorithm) can be controlled by A and α.
For details, please refer to: Xin-She Yang et al., Swarm Intelligence and
Bio-Inspired Computation: Theory and Applications, Elsevier, (2013).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 4 / 44
The Essence of an Algorithm What’s Wrong with Traditional Algorithms?
What’s Wrong with Traditional Algorithms?
Some issues with traditional optimization algorithms such as the
Newton-Raphson Method, pattern search, quadratic programming, etc.
Traditional algorithms are mostly local search, thus cannot guarantee
global optimality (except for linear programming and convex
optimization).
Results often depend on the initial starting points (except linear and
convex problems).
Methods tend to be problem-specific (e.g., k-opt, branch and bound).
Cannot deal with highly nonlinear optimization problems efficiently.
Struggle to cope problems with discontinuity.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 5 / 44
The Essence of an Algorithm Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
Almost all nature-inspired metaheuristic optimization algorithms (heuristic
or metaheuristic algorithms, as a global optimizer) strive to
Increase the probability of finding the global optimality (as a global
search tool);
Solve a wider class of problems (treating them as a black-box);
Try to deal with highly nonlinear problems, problems with
discontinuity, and even NP-hard combinatorial problems;
Draw design inspiration from Nature.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 6 / 44
Nature-Inspired Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
Genetic algorithms (1960s/1970s), evolutionary strategy (Rechenberg
& Swefel 1960s), evolutionary programming (Fogel et al. 1960s).
Simulated annealing (Kirkpatrick et al. 1983), Tabu search (Glover
1980s), ant colony optimization (Dorigo 1992), genetic programming
(Koza 1992), particle swarm optimization (Kennedy & Eberhart
1995), differential evolution (Storn & Price 1996/1997), harmony
search (Geem et al. 2001), honeybee algorithm (Nakrani & Tovey
2004), artificial bee colony (Karaboga, 2005).
Firefly algorithm (Yang 2008), cuckoo search (Yang & Deb 2009), bat
algorithm (Yang, 2010), flower pollination algorithm (2012), ...
For details, please refer to:
Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, (2014).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 7 / 44
Swarm Intelligence Seeking Inspiration in Nature: Swarm Intelligence
Seeking Inspiration in Nature: Swarm Intelligence
Swarm Intelligence
Ants, bees, birds, fish ...
Simple rules lead to complex behaviour.
Swarming Starlings
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 8 / 44
Swarm Intelligence PSO
PSO
Particle Swarm Optimization (Kennedy and Eberhart, 1995)
xi
g∗
xj
vt+1
i = vt
i + αǫ1(g∗
− xt
i ) + βǫ2(x∗
i − xt
i ),
xt+1
i = xt
i + vt+1
i .
α, β = learning parameters, ǫ1, ǫ2=random numbers.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 9 / 44
Swarm Intelligence PSO Demo and Disadvantages
PSO Demo and Disadvantages
The updating equations in PSO form a linear system:


xi
vi


t+1
=


1 1
−(αǫ1 + βǫ2) 1




xi
vi


t
+


0
αǫ1g∗ + βǫ2x∗
i

.
PSO Demo Premature convergence
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 10 / 44
Swarm Intelligence Firefly Algorithm
Firefly Algorithm
Firefly Video
Firefly Behaviour and Idealization (Yang, 2008)
Fireflies are unisex and brightness varies with distance.
Less bright ones will be attracted to bright ones.
If no brighter firefly can be seen, a firefly will move randomly.
xt+1
i = xt
i + β0e−γr2
ij (xj − xi ) + α ǫt
i .
⋄ The objective landscape maps to a light-based landscape, and fireflies
swarm into the brightest points/regions.
⋄ There is no g∗, therefore, there is no leader. Also, a highly nonlinear
iterative system, so subdivision into multiswarms is possible.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 11 / 44
Swarm Intelligence FA Demo and Advantages
FA Demo and Advantages
Paths of fireflies for 3D Rosenbrock function (Husselmann, 2014).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 12 / 44
Swarm Intelligence Why is FA so efficient?
Why is FA so efficient?
FA Demo Multimodal optimality
Advantages of Firefly Algorithm
Automatically subdivide the whole population into subgroups, and
each subgroup swarms around a local mode/optimum.
Control modes/ranges by varying γ.
Control randomization by tuning parameters such as α.
Suitable for multimodal, nonlinear, global optimization problems.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 13 / 44
Swarm Intelligence Variants of Firefly Algorithm
Variants of Firefly Algorithm
More than 2000 papers about firefly algorithm since 2008. Its literature is
dramatically expanding (Fister et al., 2013)
[http://www.sciencedirect.com/science/article/pii/S2210650213000461 ]
Variants for specific applications:
Continuous optimization, mixed integer programming, ...
Discrete firefly algorithm for scheduling, travelling-salesman problem,
combinatorial optimization ...
Image processing and compression ...
Clustering, classifications and feature selection ...
Chaotic firefly algorithm ...
Hybrid firefly algorithm with other algorithms ...
Multiobjective firefly algorithm.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 14 / 44
Swarm Intelligence Cuckoo Breeding Behaviour
Cuckoo Breeding Behaviour
Evolutionary Advantages
Dumps eggs in the nests of host birds and let these host birds raise their
chicks, so minimum efforts and maximum success.
Cuckoo Video (BBC)
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 15 / 44
Swarm Intelligence Cuckoo Search (Yang and Deb, 2009)
Cuckoo Search (Yang and Deb, 2009)
Cuckoo Behaviour and Idealization
Each cuckoo lays one egg (solution) at a time, and dumps its egg in a
randomly chosen nest.
The best nests with high-quality eggs (solutions) will carry out to the
next generation.
The egg laid by a cuckoo can be discovered by the host bird with a
probability pa and a nest will then be built.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 16 / 44
Swarm Intelligence Cuckoo Search
Cuckoo Search
Local random walk:
xt+1
i = xt
i + s ⊗ H(pa − ǫ) ⊗ (xt
j − xt
k).
[xi , xj , xk are 3 different solutions, H(u) is a Heaviside function, ǫ is a
random number drawn from a uniform distribution, and s is the step size.
Global random walk via L´evy flights:
xt+1
i = xt
i + αL(s, λ), L(s, λ) =
λΓ(λ) sin(πλ/2)
π
1
s1+λ
, (s ≫ s0).
Generation of new moves by L´evy flights, random walk and elitism.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 17 / 44
Swarm Intelligence
The normal distribution
p(x; µ, σ2
) =
1
σ
√
2π
exp[−
(x − µ)2
2σ2
], −∞ < x < ∞.
Isotropic Random Walks
SN =
N
i=1
Xi = X1 + ... + XN = SN−1 + XN,
s
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 18 / 44
Swarm Intelligence L´evy Distribution and L´evy Flights
L´evy Distribution and L´evy Flights
L(s) =
1
π
∞
0
cos(τs)e−α τγ
dτ, (0 < γ ≤ 2),
=
γ
2π
exp −
γ
2(s − µ)
1
(s − µ)3/2
, 0 < µ < s < ∞ (for steps µ > 0).
s
Self-similar, multi-scale, global random walks.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 19 / 44
Swarm Intelligence CS Demo: Highly Efficient!
CS Demo: Highly Efficient!
In essence, CS is a multiscale global optimizer.
More than 1000 papers about cuckoo search since 2009. Its literature is
dramatically expanding.
CS Demo Efficient search with a focus
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 20 / 44
Swarm Intelligence Bat Algorithm (Yang, 2010)
Bat Algorithm (Yang, 2010)
BBC Video
Microbats use echolocation for hunting
Ultrasonic short pulses as loud as 110dB with a short period of 5 to
20 ms. Frequencies of 25 kHz to 100 kHz.
Speed up pulse-emission rate and increase loudness when homing at a
prey.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 21 / 44
Swarm Intelligence Bat Algorithm
Bat Algorithm
Acoustics of bat echolocation
λ =
v
f
∼ 2 mm to 14 mm.
Rules used in the bat algorithm (updating equations):
fi = fmin + (fmax − fmin)β, β ∈ [0, 1],
vt+1
i = vt
i + (xt
i − x∗)fi , xt+1
i = xt
i + vt
i .
x∗=best solution found so far.
Variations of Loudness and Pulse Rate
At+1
i ← αAt
i , α ∈ (0, 1], rt+1
i = r0
i [1 − exp(−γt)].
Such variations are linked with the updating equations by a stochastic
switch (by comparing with a uniformly distributed random number),
controlling the balance between exploration and exploitation.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 22 / 44
Swarm Intelligence Other Algorithms
Other Algorithms
Genetic algorithms
Differential evolution
Artificial immune system
Harmony search
Flower pollination algorithm
Memetic algorithm
...
Reviews
Yang et al., Swarm Intelligence and Bio-Inspired Computation:
Theory and Applications, Elsevier, (2013).
Yang, X. S., Nature-Inspired Optimization Algorithms, Elsevier,
(2014).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 23 / 44
Applications Applications
Applications
Design optimization: structural engineering, product design ...
Scheduling, routing and planning: discrete, combinatorial problems ...
Image processing and data Mining: image segmentation, feature
selection ...
Applications in almost all areas (e.g., finance, economics, engineering,
industry, ...)
10 Examples in Science and Engineering
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 24 / 44
Applications Pressure Vessel Design Optimization (Example 1)
Pressure Vessel Design Optimization (Example 1)
r
d1
r
L d2
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 25 / 44
Applications Pressure Vessel Design
Pressure Vessel Design
This is a well-known test problem for optimization (e.g., see Cagnina et al.
2008) and it can be written as
minimize f (x) = 0.6224d1rL + 1.7781d2r2
+ 3.1661d2
1 L + 19.84d2
1 r,
subject to



g1(x) = −d1 + 0.0193r ≤ 0
g2(x) = −d2 + 0.00954r ≤ 0
g3(x) = −πr2L − 4π
3 r3 + 1296000 ≤ 0
g4(x) = L − 240 ≤ 0.
The simple bounds are
0.0625 ≤ d1, d2 ≤ 99 × 0.0625, 10.0 ≤ r, L ≤ 200.0.
The best solution (Yang, 2010; Gandomi and Yang, 2011)
f∗ = 6059.714, x∗ = (0.8125, 0.4375, 42.0984, 176.6366).
Now we have a set of analytical solutions (Yang et al., 2013).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 26 / 44
Applications Speed Reducer/Gear Box Design (Example 2)
Speed Reducer/Gear Box Design (Example 2)
Mixed-Integer Programming:
Continuous variables and integers.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 27 / 44
Applications
f (x1, x2, x3, x4, x5, x6, x7) = 0.7854x1x2
2 (3.3333x2
3 + 14.9334x3 − 43.0934)
−1.508x1(x2
6 + x2
7 ) + 7.4777(x3
6 + x3
7 ) + 0.7854(x4x2
6 + x5x2
7 ),
subject to
g1 = 27
x1x2
2 x3
− 1 ≤ 0, g2 = 397.5
x1x2
2 x2
3
− 1 ≤ 0,
g3 =
1.93x3
4
x2x3d4
1
− 1 ≤ 0, g4 =
1.93x3
5
x2x3d4
2
− 1 ≤ 0,
g5 = 1
110x3
6
(745x4
hx3
)2 + 16.9 × 106 − 1 ≤ 0,
g6 = 1
85x3
7
(745x5
hx3
)2 + 157.5 × 106 − 1 ≤ 0,
g7 = x2x3
40 − 1 ≤ 0, g8 = 5x2
x1
− 1 ≤ 0,
g9 = x1
12x2
− 1 ≤ 0, g10 = 1.5x6+1.9
x4
− 1 ≤ 0,
g11 = 1.1x7+1.9
x5
− 1 ≤ 0.
Simple bounds are 2.6 ≤ x1 ≤ 3.6, 0.7 ≤ h ≤ 0.8, 17 ≤ x3 ≤ 28,
7.3 ≤ x4 ≤ 8.3, 7.8 ≤ x5 ≤ 8.3, 2.9 ≤ x6 ≤ 3.9, and 5.0 ≤ x7 ≤ 5.5. z
must be integers.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 28 / 44
Applications Dome Design (Example 3)
Dome Design (Example 3)
120-bar dome: Divided into 7 groups, 120 design elements, about 200 constraints
(Gandomi and Yang 2011; Yang et al. 2012).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 29 / 44
Applications Tower Design (Example 4)
Tower Design (Example 4)
26-storey tower: 942 design elements, 244 nodal links, 59 groups/types, > 4000
nonlinear constraints (Yang et al. 2011; Gandomi & Yang 2012).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 30 / 44
Applications Car Door Design (Example 5)
Car Door Design (Example 5)
Design better, safer and energy-efficient cars
Minimize weight, low crash deflection (< 32 mm), lower impact force (< 4
kN), .... Even a side barrier has 11 design variables!
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 31 / 44
Applications Scheduling(Example 6)
Scheduling(Example 6)
MK Marichelvam, T Prabaharan, XS Yang, Improved cuckoo search algorithm for hybrid flow
shop scheduling problems to minimize makespan, Applied Soft Computing, vol. 19, no. 1,pp.
93-101 (2014).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 32 / 44
Applications Soft Testing and Path Generation
Soft Testing and Path Generation
Srivastava, Mallikarjun, Yang (2013). Optimal test sequence generation
using firefly algorithm, Swarm and Evolutionary Computation, 8(2013)
44-53.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 33 / 44
Applications Travel Salesman Problem (Example 7)
Travel Salesman Problem (Example 7)
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 34 / 44
Applications Cuckoo Search for TSP
Cuckoo Search for TSP
Aziz Ouaarab, Belad Ahiod, Xin-She Yang, Discrete cuckoo search algorithm for the travelling
salesman problem, Neural Computing and Applications, (2013).
http://link.springer.com/article/10.1007/s00521-013-1402-2.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 35 / 44
Applications Data Mining: Feature Selection (Example 8)
Data Mining: Feature Selection (Example 8)
Bat algorithm and cuckoo search are very competitive (Papa et al, 2013; 2014).
Also effective at dimension reduction (in terms of number of key features).
Dataset # samples #features #classes
Diabetes 768 8 2
DNA 2000 180 3
Mushrooms 8124 112 2
OPF BA CS FA ICS PSO0
10
20
30
40
50
60
70
80
Accuracy[%]
61 61 59
61 61 6160 61 61 62 6263 62 62 62 61
Mushrooms
Baseline
Binary
Sigmoid
Hyperbolic Tangent
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 36 / 44
Applications Image Processing (Example 9)
Image Processing (Example 9)
Satellite images and flooding estimates (Senthilnath & Yang, 2014)
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 37 / 44
Applications Satellite images
Satellite images
Three methods are compared, and FA obtained the best results.
Algorithms Optimal Worst Mean
GA 0.8044 0.7528 0.7824
PSO 0.8057 0.8009 0.8051
FA 0.8126 0.8019 0.8076
Also, Senthilnath et al. compared 14 different algorithms for classifications,
and they found that the firefly algorithm seems to be most efficient
among 14 different classification methods.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 38 / 44
Applications
See Fong et al. (2014) for details.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 39 / 44
Applications Classifications and Clustering (Example 10)
Classifications and Clustering (Example 10)
K-means clustering with nature-inspired algorithms can produce far better
results than K-means methods (Fong, Deb, Yang, Zhang, 2014).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 40 / 44
Applications
The combination of K-means methods with the bat algorithm (and other
algorithms) can indeed enhance the accuracy of clustering.
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 41 / 44
Some Open Problems Some Open Problems
Some Open Problems
Mathematical Analysis: A unified mathematical framework (e.g.,
Markov chain theory, dynamical systems) is needed.
Comparison: What are the best/fair performance measures?
Parameter tuning: How to tune the algorithm-dependent
parameters so that an algorithm can achieve the best performance? Is
there a general framework for this?
Scalability: Can the algorithms that work for small-scale problems be
directly applied to large-scale/high-dimensional problems (for
d > 1000) ?
Intelligence: Smart algorithms may be a buzz word, but can truly
intelligent algorithms be developed?
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 42 / 44
Thank you :) Books on Nature-Inspired Algorithms
Books on Nature-Inspired Algorithms
Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, (2014).
Xin-She Yang, Cuckoo Search and Firefly Algorithm, Springer, (2014).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 43 / 44
Thank you :) Thank you :) Any questions?
Thank you :) Any questions?
Xin-She Yang et al., Swarm Intelligence and Bio-Inspired Computation:
Theory and Applications, Elsevier, (2013).
Xin-She Yang, Artificial Intelligence, Evolutionary Computing and
Metaheuristics, (2013).
Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 44 / 44

More Related Content

What's hot (20)

PDF
Nature-inspired algorithms
Lars Marius Garshol
 
PPTX
Firefly algorithm
supriya shilwant
 
PPT
Genetic algorithms
zamakhan
 
PDF
Genetic Algorithms
Karthik Sankar
 
PDF
ADVANCED OPTIMIZATION TECHNIQUES META-HEURISTIC ALGORITHMS FOR ENGINEERING AP...
Ajay Kumar
 
PPTX
Bat algorithm and applications
Md.Al-imran Roton
 
PPSX
Perceptron (neural network)
EdutechLearners
 
PPTX
Firefly algorithm
Hasan Gök
 
PPTX
Bat algorithm
Rohit Gujar
 
PPTX
Particle swarm optimization
anurag singh
 
PPT
Genetic Algorithms - Artificial Intelligence
Sahil Kumar
 
PPTX
Whale optimizatio algorithm
Ahmed Fouad Ali
 
PDF
Deep Feed Forward Neural Networks and Regularization
Yan Xu
 
PPT
Genetic algorithm
garima931
 
PPTX
MACHINE LEARNING - GENETIC ALGORITHM
Puneet Kulyana
 
PPTX
Introduction to Genetic Algorithms
Dr. C.V. Suresh Babu
 
PPT
Ant Colony Optimization presentation
Partha Das
 
PPT
Artificial neural network
mustafa aadel
 
PPTX
Neural networks.ppt
SrinivashR3
 
PPTX
Artificial immune system
Tejaswini Jitta
 
Nature-inspired algorithms
Lars Marius Garshol
 
Firefly algorithm
supriya shilwant
 
Genetic algorithms
zamakhan
 
Genetic Algorithms
Karthik Sankar
 
ADVANCED OPTIMIZATION TECHNIQUES META-HEURISTIC ALGORITHMS FOR ENGINEERING AP...
Ajay Kumar
 
Bat algorithm and applications
Md.Al-imran Roton
 
Perceptron (neural network)
EdutechLearners
 
Firefly algorithm
Hasan Gök
 
Bat algorithm
Rohit Gujar
 
Particle swarm optimization
anurag singh
 
Genetic Algorithms - Artificial Intelligence
Sahil Kumar
 
Whale optimizatio algorithm
Ahmed Fouad Ali
 
Deep Feed Forward Neural Networks and Regularization
Yan Xu
 
Genetic algorithm
garima931
 
MACHINE LEARNING - GENETIC ALGORITHM
Puneet Kulyana
 
Introduction to Genetic Algorithms
Dr. C.V. Suresh Babu
 
Ant Colony Optimization presentation
Partha Das
 
Artificial neural network
mustafa aadel
 
Neural networks.ppt
SrinivashR3
 
Artificial immune system
Tejaswini Jitta
 

Viewers also liked (20)

PPTX
nature inspired algorithms
Gaurav Goel
 
PDF
Intelligent water drops (Persian)
mortezaT
 
PPTX
BAT Algorithm
Ayushi Gagneja
 
PPTX
INTELLIGENT WATER DROPLET
Swayoni Bandopadhyay
 
PPTX
Bio inspiring computing and its application in cheminformatics
abdelazim Galal
 
PPTX
Bat Algorithm
Arman Hemel
 
PDF
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
Xin-She Yang
 
PDF
Bat algorithm for Topology Optimization in Microelectronic Applications
Xin-She Yang
 
PDF
Metaheuristic Optimization: Algorithm Analysis and Open Problems
Xin-She Yang
 
PPTX
Methodological Issues in Bio-inspired Computing or How to Get a PhD in?
FET AWARE project - Self Awareness in Autonomic Systems
 
PDF
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
Xin-She Yang
 
PDF
Bio-Inspired Computation: Success and Challenges of IJBIC
Xin-She Yang
 
PDF
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Xin-She Yang
 
PDF
Analysis of Nature-Inspried Optimization Algorithms
Xin-She Yang
 
PDF
Nature-inspired metaheuristic algorithms for optimization and computional int...
Xin-She Yang
 
PPTX
Bat algorithm
Priya Kaushal
 
PDF
Monte Caro Simualtions, Sampling and Markov Chain Monte Carlo
Xin-She Yang
 
PPTX
Genetic Algorithm
SHIMI S L
 
PPT
Digital Forensic
Cleverence Kombe
 
nature inspired algorithms
Gaurav Goel
 
Intelligent water drops (Persian)
mortezaT
 
BAT Algorithm
Ayushi Gagneja
 
INTELLIGENT WATER DROPLET
Swayoni Bandopadhyay
 
Bio inspiring computing and its application in cheminformatics
abdelazim Galal
 
Bat Algorithm
Arman Hemel
 
Review of Metaheuristics and Generalized Evolutionary Walk Algorithm
Xin-She Yang
 
Bat algorithm for Topology Optimization in Microelectronic Applications
Xin-She Yang
 
Metaheuristic Optimization: Algorithm Analysis and Open Problems
Xin-She Yang
 
Methodological Issues in Bio-inspired Computing or How to Get a PhD in?
FET AWARE project - Self Awareness in Autonomic Systems
 
A Discrete Firefly Algorithm for the Multi-Objective Hybrid Flowshop Scheduli...
Xin-She Yang
 
Bio-Inspired Computation: Success and Challenges of IJBIC
Xin-She Yang
 
Applications and Analysis of Bio-Inspired Eagle Strategy for Engineering Opti...
Xin-She Yang
 
Analysis of Nature-Inspried Optimization Algorithms
Xin-She Yang
 
Nature-inspired metaheuristic algorithms for optimization and computional int...
Xin-She Yang
 
Bat algorithm
Priya Kaushal
 
Monte Caro Simualtions, Sampling and Markov Chain Monte Carlo
Xin-She Yang
 
Genetic Algorithm
SHIMI S L
 
Digital Forensic
Cleverence Kombe
 
Ad

Similar to Nature-Inspired Optimization Algorithms (20)

PDF
Cuckoo Search Algorithm: An Introduction
Xin-She Yang
 
PDF
Pso kota baru parahyangan 2017
Iwan Sofana
 
PPTX
Natural-Inspired_Amany_Final.pptx
amanyarafa1
 
PPTX
Optimization Shuffled Frog Leaping Algorithm
Uday Wankar
 
PDF
Parallel Optimization in Machine Learning
Fabian Pedregosa
 
PDF
Lecture17 xing fei-fei
Tianlu Wang
 
PPTX
Cuckoo Search & Firefly Algorithms
Mustafa Salam
 
PDF
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Association for Computational Linguistics
 
PDF
WSC 2011, advanced tutorial on simulation in Statistics
Christian Robert
 
PPTX
Abductive commonsense reasoning
San Kim
 
PDF
Useing PSO to optimize logit model with Tensorflow
Yi-Fan Liou
 
PPTX
Metaheuristics for software testing
Francisco de Melo Jr
 
PDF
Asynchronous Stochastic Optimization, New Analysis and Algorithms
Fabian Pedregosa
 
PDF
A Hybrid Bat Algorithm
Xin-She Yang
 
PDF
RuleML2015: Input-Output STIT Logic for Normative Systems
RuleML
 
PDF
MS CS - Selecting Machine Learning Algorithm
Kaniska Mandal
 
PPT
Topic_6
butest
 
PDF
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
PDF
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
The Statistical and Applied Mathematical Sciences Institute
 
PDF
block-mdp-masters-defense.pdf
Junghyun Lee
 
Cuckoo Search Algorithm: An Introduction
Xin-She Yang
 
Pso kota baru parahyangan 2017
Iwan Sofana
 
Natural-Inspired_Amany_Final.pptx
amanyarafa1
 
Optimization Shuffled Frog Leaping Algorithm
Uday Wankar
 
Parallel Optimization in Machine Learning
Fabian Pedregosa
 
Lecture17 xing fei-fei
Tianlu Wang
 
Cuckoo Search & Firefly Algorithms
Mustafa Salam
 
Jindřich Libovický - 2017 - Attention Strategies for Multi-Source Sequence-...
Association for Computational Linguistics
 
WSC 2011, advanced tutorial on simulation in Statistics
Christian Robert
 
Abductive commonsense reasoning
San Kim
 
Useing PSO to optimize logit model with Tensorflow
Yi-Fan Liou
 
Metaheuristics for software testing
Francisco de Melo Jr
 
Asynchronous Stochastic Optimization, New Analysis and Algorithms
Fabian Pedregosa
 
A Hybrid Bat Algorithm
Xin-She Yang
 
RuleML2015: Input-Output STIT Logic for Normative Systems
RuleML
 
MS CS - Selecting Machine Learning Algorithm
Kaniska Mandal
 
Topic_6
butest
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
The Statistical and Applied Mathematical Sciences Institute
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
The Statistical and Applied Mathematical Sciences Institute
 
block-mdp-masters-defense.pdf
Junghyun Lee
 
Ad

More from Xin-She Yang (20)

PDF
A Biologically Inspired Network Design Model
Xin-She Yang
 
TXT
Multiobjective Bat Algorithm (demo only)
Xin-She Yang
 
TXT
Bat algorithm (demo)
Xin-She Yang
 
TXT
Firefly algorithm
Xin-She Yang
 
TXT
Flower Pollination Algorithm (matlab code)
Xin-She Yang
 
PDF
Nature-Inspired Metaheuristic Algorithms
Xin-She Yang
 
PDF
Metaheuristics and Optimiztion in Civil Engineering
Xin-She Yang
 
PDF
A Biologically Inspired Network Design Model
Xin-She Yang
 
PDF
Introduction to Computational Mathematics (2nd Edition, 2015)
Xin-She Yang
 
PDF
Memetic Firefly algorithm for combinatorial optimization
Xin-She Yang
 
PDF
Two-Stage Eagle Strategy with Differential Evolution
Xin-She Yang
 
PDF
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Xin-She Yang
 
PDF
Bat Algorithm for Multi-objective Optimisation
Xin-She Yang
 
PDF
Are motorways rational from slime mould's point of view?
Xin-She Yang
 
PDF
Test Problems in Optimization
Xin-She Yang
 
PDF
Engineering Optimisation by Cuckoo Search
Xin-She Yang
 
PDF
A New Metaheuristic Bat-Inspired Algorithm
Xin-She Yang
 
PDF
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
Xin-She Yang
 
PDF
Fractals in Small-World Networks With Time Delay
Xin-She Yang
 
PDF
Chaos in Small-World Networks
Xin-She Yang
 
A Biologically Inspired Network Design Model
Xin-She Yang
 
Multiobjective Bat Algorithm (demo only)
Xin-She Yang
 
Bat algorithm (demo)
Xin-She Yang
 
Firefly algorithm
Xin-She Yang
 
Flower Pollination Algorithm (matlab code)
Xin-She Yang
 
Nature-Inspired Metaheuristic Algorithms
Xin-She Yang
 
Metaheuristics and Optimiztion in Civil Engineering
Xin-She Yang
 
A Biologically Inspired Network Design Model
Xin-She Yang
 
Introduction to Computational Mathematics (2nd Edition, 2015)
Xin-She Yang
 
Memetic Firefly algorithm for combinatorial optimization
Xin-She Yang
 
Two-Stage Eagle Strategy with Differential Evolution
Xin-She Yang
 
Accelerated Particle Swarm Optimization and Support Vector Machine for Busine...
Xin-She Yang
 
Bat Algorithm for Multi-objective Optimisation
Xin-She Yang
 
Are motorways rational from slime mould's point of view?
Xin-She Yang
 
Test Problems in Optimization
Xin-She Yang
 
Engineering Optimisation by Cuckoo Search
Xin-She Yang
 
A New Metaheuristic Bat-Inspired Algorithm
Xin-She Yang
 
Eagle Strategy Using Levy Walk and Firefly Algorithms For Stochastic Optimiza...
Xin-She Yang
 
Fractals in Small-World Networks With Time Delay
Xin-She Yang
 
Chaos in Small-World Networks
Xin-She Yang
 

Recently uploaded (20)

PDF
The ALMA-CRISTAL survey: Gas, dust, and stars in star-forming galaxies when t...
Sérgio Sacani
 
PPTX
Q1 - W1 - D2 - Models of matter for science.pptx
RyanCudal3
 
DOCX
Paper - Suprasegmental Features (Makalah Presentasi)
Sahmiral Amri Rajagukguk
 
PDF
Carbonate formation and fluctuating habitability on Mars
Sérgio Sacani
 
PPTX
Bacillus thuringiensis.crops & golden rice
priyadharshini87125
 
PPTX
LESSON 2 PSYCHOSOCIAL DEVELOPMENT.pptx L
JeanCarolColico1
 
DOCX
Analytical methods in CleaningValidation.docx
Markus Janssen
 
PDF
Service innovation with AI: Transformation of value proposition and market se...
Selcen Ozturkcan
 
PDF
Annual report 2024 - Inria - English version.pdf
Inria
 
PPTX
770043401-q1-Ppt-pe-and-Health-7-week-1-lesson-1.pptx
AizaRazonado
 
PPTX
Neuroinflammation and microglial subtypes
KanakChaudhary10
 
PPTX
Phage Therapy and Bacteriophage Biology.pptx
Prachi Virat
 
DOCX
Paper - Taboo Language (Makalah Presentasi)
Sahmiral Amri Rajagukguk
 
PDF
Unit-3 ppt.pdf organic chemistry unit 3 heterocyclic
visionshukla007
 
PPTX
Diagnostic Features of Common Oral Ulcerative Lesions.pptx
Dr Palak borade
 
PDF
Carbon-richDustInjectedintotheInterstellarMediumbyGalacticWCBinaries Survives...
Sérgio Sacani
 
PDF
Unit-3 ppt.pdf organic chemistry - 3 unit 3
visionshukla007
 
PDF
BlackBody Radiation experiment report.pdf
Ghadeer Shaabna
 
PDF
The emergence of galactic thin and thick discs across cosmic history
Sérgio Sacani
 
PDF
Portable Hyperspectral Imaging (pHI) for the enhanced recording of archaeolog...
crabbn
 
The ALMA-CRISTAL survey: Gas, dust, and stars in star-forming galaxies when t...
Sérgio Sacani
 
Q1 - W1 - D2 - Models of matter for science.pptx
RyanCudal3
 
Paper - Suprasegmental Features (Makalah Presentasi)
Sahmiral Amri Rajagukguk
 
Carbonate formation and fluctuating habitability on Mars
Sérgio Sacani
 
Bacillus thuringiensis.crops & golden rice
priyadharshini87125
 
LESSON 2 PSYCHOSOCIAL DEVELOPMENT.pptx L
JeanCarolColico1
 
Analytical methods in CleaningValidation.docx
Markus Janssen
 
Service innovation with AI: Transformation of value proposition and market se...
Selcen Ozturkcan
 
Annual report 2024 - Inria - English version.pdf
Inria
 
770043401-q1-Ppt-pe-and-Health-7-week-1-lesson-1.pptx
AizaRazonado
 
Neuroinflammation and microglial subtypes
KanakChaudhary10
 
Phage Therapy and Bacteriophage Biology.pptx
Prachi Virat
 
Paper - Taboo Language (Makalah Presentasi)
Sahmiral Amri Rajagukguk
 
Unit-3 ppt.pdf organic chemistry unit 3 heterocyclic
visionshukla007
 
Diagnostic Features of Common Oral Ulcerative Lesions.pptx
Dr Palak borade
 
Carbon-richDustInjectedintotheInterstellarMediumbyGalacticWCBinaries Survives...
Sérgio Sacani
 
Unit-3 ppt.pdf organic chemistry - 3 unit 3
visionshukla007
 
BlackBody Radiation experiment report.pdf
Ghadeer Shaabna
 
The emergence of galactic thin and thick discs across cosmic history
Sérgio Sacani
 
Portable Hyperspectral Imaging (pHI) for the enhanced recording of archaeolog...
crabbn
 

Nature-Inspired Optimization Algorithms

  • 1. Nature-Inspired Optimization Algorithms Xin-She Yang Middlesex University London Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 1 / 44
  • 2. Live in Nature and Inspired by Nature At the Gates of Nature and Inspired by Nature Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 2 / 44
  • 3. The Essence of an Algorithm The Essence of an Algorithm The Essence of an Algorithm Essence of an Optimization Algorithm To move to a new, better point x(t+1) from an existing location x(t). x1 x2 x(t) x(t+1) ? Population-based algorithms use multiple, interacting paths. Different algorithms Different strategies/approaches in generating these moves! Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 3 / 44
  • 4. The Essence of an Algorithm The Essence of an Algorithm The Essence of an Algorithm In essence, an algorithm can be written (mathematically) as xt+1 = A(xt , α), For any given xt, the algorithm will generate a new solution xt+1. Functional or a Dynamical System? We can view the above equation as an iterative functional (with fixed points), or a dynamical system (with attractors), or a self-organization system (with organized structures), or a Markov chain (e.g., Markov chain Monte Carlo). The behavoir of the system (algorithm) can be controlled by A and α. For details, please refer to: Xin-She Yang et al., Swarm Intelligence and Bio-Inspired Computation: Theory and Applications, Elsevier, (2013). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 4 / 44
  • 5. The Essence of an Algorithm What’s Wrong with Traditional Algorithms? What’s Wrong with Traditional Algorithms? Some issues with traditional optimization algorithms such as the Newton-Raphson Method, pattern search, quadratic programming, etc. Traditional algorithms are mostly local search, thus cannot guarantee global optimality (except for linear programming and convex optimization). Results often depend on the initial starting points (except linear and convex problems). Methods tend to be problem-specific (e.g., k-opt, branch and bound). Cannot deal with highly nonlinear optimization problems efficiently. Struggle to cope problems with discontinuity. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 5 / 44
  • 6. The Essence of an Algorithm Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms Almost all nature-inspired metaheuristic optimization algorithms (heuristic or metaheuristic algorithms, as a global optimizer) strive to Increase the probability of finding the global optimality (as a global search tool); Solve a wider class of problems (treating them as a black-box); Try to deal with highly nonlinear problems, problems with discontinuity, and even NP-hard combinatorial problems; Draw design inspiration from Nature. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 6 / 44
  • 7. Nature-Inspired Algorithms Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms Genetic algorithms (1960s/1970s), evolutionary strategy (Rechenberg & Swefel 1960s), evolutionary programming (Fogel et al. 1960s). Simulated annealing (Kirkpatrick et al. 1983), Tabu search (Glover 1980s), ant colony optimization (Dorigo 1992), genetic programming (Koza 1992), particle swarm optimization (Kennedy & Eberhart 1995), differential evolution (Storn & Price 1996/1997), harmony search (Geem et al. 2001), honeybee algorithm (Nakrani & Tovey 2004), artificial bee colony (Karaboga, 2005). Firefly algorithm (Yang 2008), cuckoo search (Yang & Deb 2009), bat algorithm (Yang, 2010), flower pollination algorithm (2012), ... For details, please refer to: Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, (2014). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 7 / 44
  • 8. Swarm Intelligence Seeking Inspiration in Nature: Swarm Intelligence Seeking Inspiration in Nature: Swarm Intelligence Swarm Intelligence Ants, bees, birds, fish ... Simple rules lead to complex behaviour. Swarming Starlings Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 8 / 44
  • 9. Swarm Intelligence PSO PSO Particle Swarm Optimization (Kennedy and Eberhart, 1995) xi g∗ xj vt+1 i = vt i + αǫ1(g∗ − xt i ) + βǫ2(x∗ i − xt i ), xt+1 i = xt i + vt+1 i . α, β = learning parameters, ǫ1, ǫ2=random numbers. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 9 / 44
  • 10. Swarm Intelligence PSO Demo and Disadvantages PSO Demo and Disadvantages The updating equations in PSO form a linear system:   xi vi   t+1 =   1 1 −(αǫ1 + βǫ2) 1     xi vi   t +   0 αǫ1g∗ + βǫ2x∗ i  . PSO Demo Premature convergence Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 10 / 44
  • 11. Swarm Intelligence Firefly Algorithm Firefly Algorithm Firefly Video Firefly Behaviour and Idealization (Yang, 2008) Fireflies are unisex and brightness varies with distance. Less bright ones will be attracted to bright ones. If no brighter firefly can be seen, a firefly will move randomly. xt+1 i = xt i + β0e−γr2 ij (xj − xi ) + α ǫt i . ⋄ The objective landscape maps to a light-based landscape, and fireflies swarm into the brightest points/regions. ⋄ There is no g∗, therefore, there is no leader. Also, a highly nonlinear iterative system, so subdivision into multiswarms is possible. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 11 / 44
  • 12. Swarm Intelligence FA Demo and Advantages FA Demo and Advantages Paths of fireflies for 3D Rosenbrock function (Husselmann, 2014). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 12 / 44
  • 13. Swarm Intelligence Why is FA so efficient? Why is FA so efficient? FA Demo Multimodal optimality Advantages of Firefly Algorithm Automatically subdivide the whole population into subgroups, and each subgroup swarms around a local mode/optimum. Control modes/ranges by varying γ. Control randomization by tuning parameters such as α. Suitable for multimodal, nonlinear, global optimization problems. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 13 / 44
  • 14. Swarm Intelligence Variants of Firefly Algorithm Variants of Firefly Algorithm More than 2000 papers about firefly algorithm since 2008. Its literature is dramatically expanding (Fister et al., 2013) [http://www.sciencedirect.com/science/article/pii/S2210650213000461 ] Variants for specific applications: Continuous optimization, mixed integer programming, ... Discrete firefly algorithm for scheduling, travelling-salesman problem, combinatorial optimization ... Image processing and compression ... Clustering, classifications and feature selection ... Chaotic firefly algorithm ... Hybrid firefly algorithm with other algorithms ... Multiobjective firefly algorithm. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 14 / 44
  • 15. Swarm Intelligence Cuckoo Breeding Behaviour Cuckoo Breeding Behaviour Evolutionary Advantages Dumps eggs in the nests of host birds and let these host birds raise their chicks, so minimum efforts and maximum success. Cuckoo Video (BBC) Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 15 / 44
  • 16. Swarm Intelligence Cuckoo Search (Yang and Deb, 2009) Cuckoo Search (Yang and Deb, 2009) Cuckoo Behaviour and Idealization Each cuckoo lays one egg (solution) at a time, and dumps its egg in a randomly chosen nest. The best nests with high-quality eggs (solutions) will carry out to the next generation. The egg laid by a cuckoo can be discovered by the host bird with a probability pa and a nest will then be built. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 16 / 44
  • 17. Swarm Intelligence Cuckoo Search Cuckoo Search Local random walk: xt+1 i = xt i + s ⊗ H(pa − ǫ) ⊗ (xt j − xt k). [xi , xj , xk are 3 different solutions, H(u) is a Heaviside function, ǫ is a random number drawn from a uniform distribution, and s is the step size. Global random walk via L´evy flights: xt+1 i = xt i + αL(s, λ), L(s, λ) = λΓ(λ) sin(πλ/2) π 1 s1+λ , (s ≫ s0). Generation of new moves by L´evy flights, random walk and elitism. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 17 / 44
  • 18. Swarm Intelligence The normal distribution p(x; µ, σ2 ) = 1 σ √ 2π exp[− (x − µ)2 2σ2 ], −∞ < x < ∞. Isotropic Random Walks SN = N i=1 Xi = X1 + ... + XN = SN−1 + XN, s Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 18 / 44
  • 19. Swarm Intelligence L´evy Distribution and L´evy Flights L´evy Distribution and L´evy Flights L(s) = 1 π ∞ 0 cos(τs)e−α τγ dτ, (0 < γ ≤ 2), = γ 2π exp − γ 2(s − µ) 1 (s − µ)3/2 , 0 < µ < s < ∞ (for steps µ > 0). s Self-similar, multi-scale, global random walks. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 19 / 44
  • 20. Swarm Intelligence CS Demo: Highly Efficient! CS Demo: Highly Efficient! In essence, CS is a multiscale global optimizer. More than 1000 papers about cuckoo search since 2009. Its literature is dramatically expanding. CS Demo Efficient search with a focus Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 20 / 44
  • 21. Swarm Intelligence Bat Algorithm (Yang, 2010) Bat Algorithm (Yang, 2010) BBC Video Microbats use echolocation for hunting Ultrasonic short pulses as loud as 110dB with a short period of 5 to 20 ms. Frequencies of 25 kHz to 100 kHz. Speed up pulse-emission rate and increase loudness when homing at a prey. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 21 / 44
  • 22. Swarm Intelligence Bat Algorithm Bat Algorithm Acoustics of bat echolocation λ = v f ∼ 2 mm to 14 mm. Rules used in the bat algorithm (updating equations): fi = fmin + (fmax − fmin)β, β ∈ [0, 1], vt+1 i = vt i + (xt i − x∗)fi , xt+1 i = xt i + vt i . x∗=best solution found so far. Variations of Loudness and Pulse Rate At+1 i ← αAt i , α ∈ (0, 1], rt+1 i = r0 i [1 − exp(−γt)]. Such variations are linked with the updating equations by a stochastic switch (by comparing with a uniformly distributed random number), controlling the balance between exploration and exploitation. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 22 / 44
  • 23. Swarm Intelligence Other Algorithms Other Algorithms Genetic algorithms Differential evolution Artificial immune system Harmony search Flower pollination algorithm Memetic algorithm ... Reviews Yang et al., Swarm Intelligence and Bio-Inspired Computation: Theory and Applications, Elsevier, (2013). Yang, X. S., Nature-Inspired Optimization Algorithms, Elsevier, (2014). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 23 / 44
  • 24. Applications Applications Applications Design optimization: structural engineering, product design ... Scheduling, routing and planning: discrete, combinatorial problems ... Image processing and data Mining: image segmentation, feature selection ... Applications in almost all areas (e.g., finance, economics, engineering, industry, ...) 10 Examples in Science and Engineering Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 24 / 44
  • 25. Applications Pressure Vessel Design Optimization (Example 1) Pressure Vessel Design Optimization (Example 1) r d1 r L d2 Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 25 / 44
  • 26. Applications Pressure Vessel Design Pressure Vessel Design This is a well-known test problem for optimization (e.g., see Cagnina et al. 2008) and it can be written as minimize f (x) = 0.6224d1rL + 1.7781d2r2 + 3.1661d2 1 L + 19.84d2 1 r, subject to    g1(x) = −d1 + 0.0193r ≤ 0 g2(x) = −d2 + 0.00954r ≤ 0 g3(x) = −πr2L − 4π 3 r3 + 1296000 ≤ 0 g4(x) = L − 240 ≤ 0. The simple bounds are 0.0625 ≤ d1, d2 ≤ 99 × 0.0625, 10.0 ≤ r, L ≤ 200.0. The best solution (Yang, 2010; Gandomi and Yang, 2011) f∗ = 6059.714, x∗ = (0.8125, 0.4375, 42.0984, 176.6366). Now we have a set of analytical solutions (Yang et al., 2013). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 26 / 44
  • 27. Applications Speed Reducer/Gear Box Design (Example 2) Speed Reducer/Gear Box Design (Example 2) Mixed-Integer Programming: Continuous variables and integers. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 27 / 44
  • 28. Applications f (x1, x2, x3, x4, x5, x6, x7) = 0.7854x1x2 2 (3.3333x2 3 + 14.9334x3 − 43.0934) −1.508x1(x2 6 + x2 7 ) + 7.4777(x3 6 + x3 7 ) + 0.7854(x4x2 6 + x5x2 7 ), subject to g1 = 27 x1x2 2 x3 − 1 ≤ 0, g2 = 397.5 x1x2 2 x2 3 − 1 ≤ 0, g3 = 1.93x3 4 x2x3d4 1 − 1 ≤ 0, g4 = 1.93x3 5 x2x3d4 2 − 1 ≤ 0, g5 = 1 110x3 6 (745x4 hx3 )2 + 16.9 × 106 − 1 ≤ 0, g6 = 1 85x3 7 (745x5 hx3 )2 + 157.5 × 106 − 1 ≤ 0, g7 = x2x3 40 − 1 ≤ 0, g8 = 5x2 x1 − 1 ≤ 0, g9 = x1 12x2 − 1 ≤ 0, g10 = 1.5x6+1.9 x4 − 1 ≤ 0, g11 = 1.1x7+1.9 x5 − 1 ≤ 0. Simple bounds are 2.6 ≤ x1 ≤ 3.6, 0.7 ≤ h ≤ 0.8, 17 ≤ x3 ≤ 28, 7.3 ≤ x4 ≤ 8.3, 7.8 ≤ x5 ≤ 8.3, 2.9 ≤ x6 ≤ 3.9, and 5.0 ≤ x7 ≤ 5.5. z must be integers. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 28 / 44
  • 29. Applications Dome Design (Example 3) Dome Design (Example 3) 120-bar dome: Divided into 7 groups, 120 design elements, about 200 constraints (Gandomi and Yang 2011; Yang et al. 2012). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 29 / 44
  • 30. Applications Tower Design (Example 4) Tower Design (Example 4) 26-storey tower: 942 design elements, 244 nodal links, 59 groups/types, > 4000 nonlinear constraints (Yang et al. 2011; Gandomi & Yang 2012). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 30 / 44
  • 31. Applications Car Door Design (Example 5) Car Door Design (Example 5) Design better, safer and energy-efficient cars Minimize weight, low crash deflection (< 32 mm), lower impact force (< 4 kN), .... Even a side barrier has 11 design variables! Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 31 / 44
  • 32. Applications Scheduling(Example 6) Scheduling(Example 6) MK Marichelvam, T Prabaharan, XS Yang, Improved cuckoo search algorithm for hybrid flow shop scheduling problems to minimize makespan, Applied Soft Computing, vol. 19, no. 1,pp. 93-101 (2014). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 32 / 44
  • 33. Applications Soft Testing and Path Generation Soft Testing and Path Generation Srivastava, Mallikarjun, Yang (2013). Optimal test sequence generation using firefly algorithm, Swarm and Evolutionary Computation, 8(2013) 44-53. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 33 / 44
  • 34. Applications Travel Salesman Problem (Example 7) Travel Salesman Problem (Example 7) Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 34 / 44
  • 35. Applications Cuckoo Search for TSP Cuckoo Search for TSP Aziz Ouaarab, Belad Ahiod, Xin-She Yang, Discrete cuckoo search algorithm for the travelling salesman problem, Neural Computing and Applications, (2013). http://link.springer.com/article/10.1007/s00521-013-1402-2. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 35 / 44
  • 36. Applications Data Mining: Feature Selection (Example 8) Data Mining: Feature Selection (Example 8) Bat algorithm and cuckoo search are very competitive (Papa et al, 2013; 2014). Also effective at dimension reduction (in terms of number of key features). Dataset # samples #features #classes Diabetes 768 8 2 DNA 2000 180 3 Mushrooms 8124 112 2 OPF BA CS FA ICS PSO0 10 20 30 40 50 60 70 80 Accuracy[%] 61 61 59 61 61 6160 61 61 62 6263 62 62 62 61 Mushrooms Baseline Binary Sigmoid Hyperbolic Tangent Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 36 / 44
  • 37. Applications Image Processing (Example 9) Image Processing (Example 9) Satellite images and flooding estimates (Senthilnath & Yang, 2014) Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 37 / 44
  • 38. Applications Satellite images Satellite images Three methods are compared, and FA obtained the best results. Algorithms Optimal Worst Mean GA 0.8044 0.7528 0.7824 PSO 0.8057 0.8009 0.8051 FA 0.8126 0.8019 0.8076 Also, Senthilnath et al. compared 14 different algorithms for classifications, and they found that the firefly algorithm seems to be most efficient among 14 different classification methods. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 38 / 44
  • 39. Applications See Fong et al. (2014) for details. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 39 / 44
  • 40. Applications Classifications and Clustering (Example 10) Classifications and Clustering (Example 10) K-means clustering with nature-inspired algorithms can produce far better results than K-means methods (Fong, Deb, Yang, Zhang, 2014). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 40 / 44
  • 41. Applications The combination of K-means methods with the bat algorithm (and other algorithms) can indeed enhance the accuracy of clustering. Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 41 / 44
  • 42. Some Open Problems Some Open Problems Some Open Problems Mathematical Analysis: A unified mathematical framework (e.g., Markov chain theory, dynamical systems) is needed. Comparison: What are the best/fair performance measures? Parameter tuning: How to tune the algorithm-dependent parameters so that an algorithm can achieve the best performance? Is there a general framework for this? Scalability: Can the algorithms that work for small-scale problems be directly applied to large-scale/high-dimensional problems (for d > 1000) ? Intelligence: Smart algorithms may be a buzz word, but can truly intelligent algorithms be developed? Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 42 / 44
  • 43. Thank you :) Books on Nature-Inspired Algorithms Books on Nature-Inspired Algorithms Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier, (2014). Xin-She Yang, Cuckoo Search and Firefly Algorithm, Springer, (2014). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 43 / 44
  • 44. Thank you :) Thank you :) Any questions? Thank you :) Any questions? Xin-She Yang et al., Swarm Intelligence and Bio-Inspired Computation: Theory and Applications, Elsevier, (2013). Xin-She Yang, Artificial Intelligence, Evolutionary Computing and Metaheuristics, (2013). Xin-She Yang Nature-Inspired Optimization Algorithms Middlesex University London 44 / 44