Firefly Optimization by Endalew
Firefly Optimization by Endalew
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
ፋየርቢሮ
ፋየርቢሮ
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2 The Firefly Algorithm
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.1 Firefly Behavior
• Two fundamental functions of such flashes
• For any two flashing fireflies, the less brighter one will move
toward the brighter one.
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.3 Variations of Light Intensity and
Attractiveness
• There are two important issues
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.3 Variations of Light Intensity and
Attractiveness
• Light attenuation
• Light absorption
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.3 Variations of Light Intensity and
Attractiveness
distance r = 0
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.3 Variations of Light Intensity and
Attractiveness
I(r) = I0 e-γr2
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.3 Variations of Light Intensity and
Attractiveness
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.3 Firefly Algorithm Modeling and Position Update
(randomness reduction)
Where
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.4 Controlling Randomization
• A further improvement on the convergence of the
algorithm is to vary the randomization parameter-α so that
it decreases gradually as the optima are approaching
or
where θ ∈ (0, 1]
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.4 Controlling Randomization
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.5 Scaling and Limiting Cases
• In fact, any measure that can effectively characterize the
quantities of interest in the optimization problem can be
used as the “distance-r ” .
• The initial locations of these n fireflies distribute
relatively uniformly over the entire search space. As the
iterations proceed, the fireflies would converge into all
the local optima (including the global ones).
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.5 Scaling and Limiting Cases
Note: from position update equation
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.6 Implementation
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.6 Implementation
• α0 = 0.5, γ = 1 and β0 = 1
• 25 fireflies in 20 generations (iterations)
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.6 Implementation
(right)
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.7 Types of the Firefly Algorithm
• Discrete firefly algorithm (DFA)
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.8 Firefly Algorithms in Applications
• Non-convex economic dispatch problem with valve-loading
effect
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU
2.2.9 Why the Firefly Algorithm is
Efficient
• Second, this subdivision allows the fireflies to be able
to find all optima simultaneously if the population
size is sufficiently higher than the number of modes.
By Dr Endalew Ayenew
2023/5/4
EPCE, SoEEC, ASTU