Week 5 - Evolutionary Optimization Algorithms
Week 5 - Evolutionary Optimization Algorithms
INTELLIGENCE &
EXPERT SYSTEMS
Evolutionary
Algorithms
By
Engr. Dr. Jawwad Ahmad
&
Dr. Nasir Uddin
1
Today’s Goal
Introduction
Point
Practice
Take second derivate
Multi-objective Optimization:
Classification/Modeling Optimization
Artificial Evolutionary
Fuzzy Classical
Neural Approaches
Logic Approaches
Networks
Evolution of the population then takes place after the repeated application
of the above operators.
Reference:
Step 7: Mutation
Genetic/Evolutionary Algorithms
characteristics.
And the best position visited by the whole swarm (gbest) denoted as
𝒙 𝒊 (𝒕 +𝟏)
𝒗 𝒊 (𝒕 )
g B es t
Engr. Dr. Jawwad Ahmad & Dr. Nasir Uddin 27
Implementation
Dissimilarity
However, unlike GA, PSO has no evolution operators such as crossover
and mutation.
In PSO, the potential solutions, called particles, fly through the problem
space by following the current optimum particles.
Particles update themselves with the internal velocity.
They also have memory, which is important to the algorithm.
Advantages
PSO is easy to implement and there are few parameters to adjust.
Compared with GA, all the particles tend to converge to the best solution
quickly even in the local version in most cases
Engr. Dr. Jawwad Ahmad & Dr. Nasir Uddin 29
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO) was inspired by the behaviors of
ants and has many successful applications in discrete optimization
problems. ACO was published in 1991.
Certain species of ants are able to find the shortest path to a food
source merely by laying and following chemical trails known as
pheromone – which then attracts other ants.
The colony’s efficient behavior emerges from the collective activity of
individuals following two very simple rules:
Lay pheromone
Follow the trails of others
𝝉 𝒊𝒋 ( 𝒕 + 𝒏) = 𝝆 𝝉 𝒊𝒋 ( 𝒕 )+ 𝚫 𝝉𝒊𝒋
𝒊𝒋 ∑
𝒌
𝑚𝚫 𝑚
𝝉 = 𝚫 𝝉 𝒊𝒋
𝜏 𝑘𝑖, 𝑗 =( 1−𝜏𝜌𝑘𝑖,) 𝑗𝜏=𝑖 ,∑
𝑗 ∑ 𝑖, 𝑗 𝑖, 𝑗
+ Δ 𝜏Δ𝑘𝒌=𝟏
𝜏 𝑘
With
Without
vaporization
vaporization
Where is the quantity𝑘=1
per
𝑘=1unit of length of trail substance (pheromone) laid
on the edge by the ant between and is given by
{
𝑄 𝒕𝒉
𝒌 , 𝒊𝒇 𝒌 𝒂𝒏𝒕 𝒖𝒔𝒆𝒔 ( 𝒊 , 𝒋 ) 𝒆𝒅𝒈𝒆 𝒊𝒏 𝒊𝒕𝒔 𝒕𝒐𝒖𝒓 𝒃𝒆𝒕𝒘𝒆𝒆𝒏𝒕 𝒂𝒏𝒅 𝒕+𝒏
𝚫 𝝉 𝒊𝒋 = 𝐿 𝐾
¿ 𝟎 , 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
Where is a constant and is the tour length of the ant.
Initialization of ACO
Evaluation Yes
Condition to Stop
Stop
No
36