Cuckoo Search Algorithm An Introduction
Cuckoo Search Algorithm An Introduction
Xin-She Yang
Mathematical Optimization
Objectives: maximize or minimize f (x) = [f1 (x), f2 (x), ..., fm (x)],
x = (x1 , x2 , ..., xD ) ∈ RD ,
hi (x) = 0, (i = 1, 2, ..., M ),
gj (x) ≤ 0, (j = 1, 2, ..., N ).
In case of m = 1, it becomes a single-objective optimization problem.
Algorithm
Select Handle
Optimization
Solutions Constraints
Evaluate
Objectives
Optimization Techniques
There are a wide spectrum of optimization techniques and tools.
Traditional techniques
Linear programming (LP) and mixed integer programming.
Convex optimization and quadratic programming.
Nonlinear programming: Newton’s method, trust-region method, interior
point method, ..., barrier Method, ... etc.
But most real-world problems are not linear or convex, thus traditional techniques
often struggle to cope, or simply do not work...
x(1)
x(t)
?
x(0) x(t+1)
Different algorithms
Different ways for generating new solutions!
Cuckoo Search
Cuckoo search (CS) was developed by Xin-She Yang and Suash Deb in 2009.
Search Domain
Nest (Host)
Lévy flight
Nest (New location)
xt+1
i = xti + α L(s, λ).
Here, xi is the solution vector (or position of nest i) in the search space at iteration t,
and α is a scaling factor. L(s, λ) is the step size to be drawn from the Lévy distribution
with an exponent λ.
Xin-She Yang Book/Slides 9 / 16
The Essence of an Algorithm Cuckoo Search (CS) (Yang and Deb, 2009)
The switch between these two search mechanisms is governed by the discovery
probability pa = 0.25.
√
Diffusion distance: d(t) ∼ t d(t) ∼ t(3−λ)/2 (for 1 ≤ λ ≤ 2)
where ‘∼’ means ‘to draw’ random numbers from the probability distribution on the
right-hand side. The variance σ 2 is calculated by
h Γ(1 + λ) sin(πλ/2) i1/λ
σ2 = · ,
Γ((1 + λ)/2) λ2(λ−1)/2
CS is very efficient
Cuckoo Search Demo: Highly Efficient!
ln[1+f (x,y)]
=⇒
Some References
Xin-She Yang and Suash Deb, Cuckoo search via Lévy flights, In: Proceedings of the World Congress on
Nature & Biologically Inspired Computing (NaBIC 2009), IEEE Publications, pp.210-214 (2009).
Xin-She Yang and Suash Deb, Engineering optimisation by cuckoo search, Int. J. Mathematical
Modelling and Numerical Optimisation, vol. 1, no. 4, 330–343 (2010).
Xin-She Yang and Suash Deb, Multiobjective cuckoo search for design optimization, Computers &
Operations Research, vol. 40, no. 6, 1616–1624 (2013).
Xin-She Yang and Suash Deb, Cuckoo search: recent advances and applications, Neural Computing and
Applications, vol. 24, no. 1, 169–174 (2014).
Xin-She Yang, Cuckoo Search and Firefly Algorithm: Theory and Applications, Springer, (2013).
Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier Insights, (2014).