A Comparative Study of Continuous Multimodal Global Optimization Using PSO, FA and Bat Algorithms
A Comparative Study of Continuous Multimodal Global Optimization Using PSO, FA and Bat Algorithms
ISSN 2278-6856
PhD Scholar, Rashtrasant Tukdoji Maharaj Nagpur University, Nagpur, Maharashtra India
2
Abstract
This paper introduces the nature-inspired metaheuristic
algorithms for optimization of standard Benchmark function,
including Firefly algorithm, PSO algorithms and Bat
algorithm. We have implemented these algorithms in
MATLAB. We have considered here how this algorithms work
on continuous multimodal global optimization benchmark
function. All these are the evolutionary nature inspired
optimization metaheuristic algorithms and are inspired by the
nature. to find out optimal solutions of
continuous,
multimodel Benchmark function. The stimulation results of
this experiment were analyzed and compared to the best
solutions found and compare with time. So the Bat algorithm
in each continuous, multimodel
Benchmark function
optimization function seems to perform better and efficient.
1.Introduction
The goal of global optimization is to find the best possible
possible solution from the given
constraints. The
objective function is minimize or maximize and the
constraints are the relationships [10, 11, 13].
Optimization algorithms can be divided in two basic
classes: deterministic and stochastic (or probabilistic).
Deterministic algorithms are almost all local search
algorithms, and they are quite efficient and aim in finding
the local optima. Stochastic (or probabilistic) algorithms
are optimization methods that generate and use random
variables and have ability to local as well as global
solution. There are three Metaheuristic algorithms like
PSO, Firefly algorithm, Bat algorithms having aim to find
the optimal solution.
Optimization
algorithms
have exploration
and
exploitation problem. In the optimization term,
exploration means visiting new areas of the search space
which have not been investigated before. Exploration is a
procedure by which we try to find novel and better
solution states. Parameters such as convergence, elapse
time, stability of algorithms are considered
1(a)
Page 137
1(b)
PSO Algorithm
For each particle
Initialize particle
END
Do
For each particle
Calculate fitness value
If the fitness value is better than the best fitness value
(pbest) in history set current value as the new pbest
End
Choose the particle with the best fitness value of all the
particles as the gbest
For each particle
Calculate particle velocity according equation (a)
Update particle position according equation (b)
End
While maximum iterations or minimum error criteria is
not attained Particles' velocities on each dimension are
clamped to a maximum velocity Vmax. If the sum of
accelerations would cause the velocity on that dimension
to exceed Vmax, which is a parameter specified by the
user. Then the velocity on that dimension is limited to
Vmax.
Firfly Algorithm
Firefly algorithm is a population based algorithms, The
Firefly algorithm was developed by Xin-She [Yang XS
(2008) Nature-Inspired Metaheuristic Algorithms and it is
based on idealized behaviour of the flashing
characteristics of fireflies. For simplicity, we can
summarize these flashing characteristics as the following
three rules [2]:
a) All fireflies are unisex, so that one firefly is
attracted to other fireflies regardless of their sex.
b) Attractiveness is proportional to their brightness,
thus for any two flashing fireflies, the less bright one will
move towards the brighter one. The attractiveness is
proportional to the brightness and they both decrease as
their distance increases. If no one is brighter than a
particular firefly, it will move randomly.
c) The brightness of a firefly is affected or determined by
the landscape of the objective function to be optimized
For simplicity we can assume that the attractiveness of a
firefly is determined by its brightness or light intensity
which in turn is associated with the encoded objective
function. In the simplest case for an optimization problem,
the brightness I of a firefly at a particular position X can
be chosen as
. However the attractiveness
is relative, it should vary with the distance rij between
firefly i and firefly j. As light intensity decreases with the
distance from its source and light is also absorbed in the
ISSN 2278-6856
(4)
Step 3: Movement
The firefly i movement is attracted to another more
attractive (brighter) firefly j is determined by:
( 5)
Where the second term is due to the attraction while the
third term is randomization with being the
randomization parameter and r and is a random number
generator uniformly distributed in [0, 1].
Why firefly algorithms is special [4]
1.The first response that can be made regarding this
question is the moment strategy of the fireflies. Eqn (1) is
the moment equation and is consist of 2 main parts. We
can mention them as information based movement and
random moment. These two parts are responsible for
providing proper exploitation and the exploration over the
search space for finding optimal solutions.
Page 138
ISSN 2278-6856
(10)
Page 139
PSO
FA
Bat
4.3267
(34.1273)
7.136
(24.94)
Ackley function
8.881
(22.8763)
Rastrigin function
0
(31.4657)
Griewank
function
0.007396
(30.4459)
1.1878
(63.5433
)
8.8818
(18.1611
)
0
(36.9632
)
0
Rosenbrock
Function
0.2898
(47.1184)
Schwefel
Function
798.5128
(32.1073)
(0.03925
)
1.5731
(62.3811
)
801.3398
(31.4254
)
0.00216
(37.69)
57.7098
(42.49)
5.942
(32.11)
29.40
(46.25)
ISSN 2278-6856
PSO
FA
Bat
Ackley function
0
(110.3773)
8.8818e-16
Rastrigin
function
Griewank
function
Rosenbrock
Function
Schwefel
Function
0
(99.24.2)
0
(95.975335)
4.0364
(122.3400)
798.5128
(79.837988)
1.1671
(556.952)
8.8818(451.71
7)
0
(386.0997)
0
(0.3090)
1.2441
(560.4124)
808.3921
(279.2434)
4.7428
(30.10)
0.002579
(38.95)
43.7803
(43.35)
5.942
(32.11)
4.4691
(46.74)
5.7732
(49.64)
PSO
FA
Bat
0(136.2281)
Ackley function
8.8818(175.3
049)
0(151.844925
)
0.007396(30.
445990)
0.0729(222.7
411)
798.5128(167
.4429)
1.0810
(1560.2457)
8.8818
(451.7176)
0
(1319.7696)
0
(0.8410)
1.4270
(1533.43)
808.3333
(1557.870)
2.5845
(30.67)
0.002277
(41.56)
45.7697
(44.04)
5.0217
(34.77)
0.6223
(47.38)
2.8866
(49.66)
Rastrigin function
Griewank function
Rosenbrock
Function
Schwefel Function
3.2196
(48.50)
Page 140
ISSN 2278-6856
ISSN 2278-6856
Page 142