SlideShare a Scribd company logo
6
Most read
8
Most read
9
Most read
A presentation by Rajorshi Mukherjee
CSE 4th Year
Academic Batch : 2011-2015

 Introduction
 Details
 Algorithm
 Flowchart
 Real Life applications
 Conclusion
 Bibliography
Contents

 Particle Swarm Optimization (P.S.O.) also known as
Swarm Intelligence is an algorithm developed by
James Kennedy and Russell Eberhart.
 It is a robust stochastic optimization technique based
on the movement and intelligence of swarms. PSO
applies the concept of social interaction for problem
solving.
Introduction

 There are a number of particles in this algorithm
which move around in space to search for the best or
optimum value. These particles are provided with
initial velocities and certain constants and values at
the beginning.
 Each particle of the system has a certain velocity and
learning constants. It then moves in the space,
randomly and then adjusts according to the
experience collected from other particles.
Introduction contd..

 Each particle is swarming for the optimum.
 Each particle is moving and hence has a velocity.
 Each particle remembers the position it was in where
it had best results so far (its personal best).
 But this would not be enough, particles would need
help in figuring out where to search.
Introductioncontd…

 The main motivation of this form of algorithm came
from real life examples.
 Swarming is a natural phenomenon.
 Swarming helps to get work done better.
Details

 In real life we take the example of birds as observed
by Craig Reynolds and proposed in 1995.
 He observed three main properties that the birds
behaved.
 Separation – Each bird is an individual particle and
do not collide with other birds.
 Alignment – They move in the same general
direction.
 Cohesion – They do not move away from the flock
and try to stick together.
Details contd…

 In this method each particle in space keeps track of
their position, and also of their neighbors. This
knowledge is used further to know a better position
(optimization of solution), this method combines
self-experiences and social experiences.
 In every iteration each particle keeps track of their
personal best attempt, known as pbest.
Details contd…

 In every iteration each particle also keeps track of
their neighboring best and global best performance
in finding the optimum solution. This is known as
gbest.
 The main concept of PSO lies in the essence that each
particle in the space is accelerated towards the pbest
and gbest locations with a random weighted
acceleration in each iteration.
Details contd…

 Each particle adjusts its travelling speed dynamically
corresponding to the flying experiences of itself and
its colleagues.
 Each particle modifies its position according to :
 Its current position
 Its current velocity
 The distance between its current position and pbest.
 The distance between its current position and gbest.
Details contd…

 The PSO algorithm may be written in pseudo code as
follows.
 Algorithm Parameters
 A: Population of events.
 pi: position of agent ai in solution space.
 f: Objective function.
 vi: Velocity of agents ai.
 V(ai) : Neighborhood of agent ai (fixed)
Algorithm

[x*] = PSO()
p=Particle_Initialization();
For i=1 to it_max
For each particle p in P do
fp=f(p);
if fp beter than f(pbest)
pbest = p;
end
end Continued on Next Slide
Algorithm contd…

gbest = best p in P;
For each particle p in P do
vi = vi + c1*rand()*(pbest - p) + c2*rand()*(gbest - p);
p=p+v;
end
end algorithm
Algorithm contd…

 Particle update rule
 p=p+v
 with
 v=v+c1*rand()*(pbest-p)+c2*rand()(gbest-p)
 where
 p: particle position
 v: path direction
 c1: cognitive learning constant
 c2: social learning constant (Continued on Next Slide)
Algorithm contd…

 pbest: best position of the particle.
 gbest: best position of the swarm
 rand: a random variable
Algorithm contd…

 Here c1 is the cognitive learning rate and its value
determines the importance of how much necessary it
is to learn from own experience.
 C2 is the social learning constant. This parameter is
places the importance of learning through experience
of others.
 Vi is the velocity of a particle of the swarm, this
value is very important, too high a value will make
the system unstable. Too low a value will make the
algorithm very slow.
Algorithm contd…

1. First we create a population of agents or particles to
make a swarm, uniformly distributed over a space
X.
2. Evaluate the position of each particle according to
objective function.
3. If a particle’s current position is better than its initial
position, then update it.
4. Determine best particle (according to particle’s
previous best position)
Algorithm contd…

5. Update particles position
6. Move particles to new positions.
7. Goto step 2 until stopping criteria are met.
Algorithm contd…

Flowchart of PSO

 Nature is the best teacher.
 Ant colonies thrive due to this phenomenon.
 Birds also use swarm intelligence to survive.
 Fishes also exhibit this kind of behavior.
 PSO is used in computer science to optimize certain
functions.
Real Life applications

 These are some functions used for optimization.
Real Life applications
contd…
Griewank Rastrigin
Rosenbrock

 In all we can use particle swarm optimization for
finding optimum solutions to problems.
 Constraints to be kept in mind are that velocity
should have and optimum value, as too less will be
too slow, and if the velocity is too high then the
method will become unstable.
Conclusion

 A presentation on Swarm Intelligence – from Natural
to Artificial Systems. - Ukradnuté kde sa dalo, a
adaptované
 A presentation on PSO by Maurice Clerk.
 The Particle Swarm Optimization Algorithm by
Andry Pinto, Hugo Alves, Inês Domingues, Luís
Rocha, Susana Cruz
Bibliography

More Related Content

PDF
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
PPTX
Particle swarm optimization
Hanya Mohammed
 
PPTX
Particle swarm optimization
anurag singh
 
PPT
Particle Swarm Optimization - PSO
Mohamed Talaat
 
PPTX
Particle swarm optimization
Suman Chatterjee
 
PPTX
Particle Swarm Optimization.pptx
NatiTilahun1
 
PDF
Particle Swarm Optimization
Stelios Petrakis
 
PDF
Pso introduction
rutika12345
 
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
Particle swarm optimization
Hanya Mohammed
 
Particle swarm optimization
anurag singh
 
Particle Swarm Optimization - PSO
Mohamed Talaat
 
Particle swarm optimization
Suman Chatterjee
 
Particle Swarm Optimization.pptx
NatiTilahun1
 
Particle Swarm Optimization
Stelios Petrakis
 
Pso introduction
rutika12345
 

What's hot (20)

PPSX
Particle Swarm optimization
midhulavijayan
 
PPTX
Particle swarm optimization
Mahesh Tibrewal
 
PPT
PSO and Its application in Engineering
Prince Jain
 
PPTX
Metaheuristics
ossein jain
 
PPT
Artificial bee colony (abc)
quadmemo
 
PPTX
Particle swarm optimization
Abhishek Agrawal
 
PDF
Metaheuristic Optimization: Algorithm Analysis and Open Problems
Xin-She Yang
 
PDF
Metaheuristic Algorithms: A Critical Analysis
Xin-She Yang
 
PPTX
Optimization and particle swarm optimization (O & PSO)
Engr Nosheen Memon
 
PPT
Bees algorithm
Amrit Kaur
 
PDF
Nature-Inspired Optimization Algorithms
Xin-She Yang
 
PPTX
Optimization Using Evolutionary Computing Techniques
Siksha 'O' Anusandhan (Deemed to be University )
 
PPTX
Cuckoo search algorithm
Ritesh Kumar
 
PPTX
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
PPT
PSO.ppt
grssieee
 
PPT
Ant colony optimization
vk1dadhich
 
PPT
Swarm intelligence algorithms
Aboul Ella Hassanien
 
PPTX
Genetic algorithm raktim
Raktim Halder
 
PPTX
Ant colony optimization (aco)
gidla vinay
 
Particle Swarm optimization
midhulavijayan
 
Particle swarm optimization
Mahesh Tibrewal
 
PSO and Its application in Engineering
Prince Jain
 
Metaheuristics
ossein jain
 
Artificial bee colony (abc)
quadmemo
 
Particle swarm optimization
Abhishek Agrawal
 
Metaheuristic Optimization: Algorithm Analysis and Open Problems
Xin-She Yang
 
Metaheuristic Algorithms: A Critical Analysis
Xin-She Yang
 
Optimization and particle swarm optimization (O & PSO)
Engr Nosheen Memon
 
Bees algorithm
Amrit Kaur
 
Nature-Inspired Optimization Algorithms
Xin-She Yang
 
Optimization Using Evolutionary Computing Techniques
Siksha 'O' Anusandhan (Deemed to be University )
 
Cuckoo search algorithm
Ritesh Kumar
 
Practical Swarm Optimization (PSO)
khashayar Danesh Narooei
 
PSO.ppt
grssieee
 
Ant colony optimization
vk1dadhich
 
Swarm intelligence algorithms
Aboul Ella Hassanien
 
Genetic algorithm raktim
Raktim Halder
 
Ant colony optimization (aco)
gidla vinay
 
Ad

Similar to Particle Swarm Optimization by Rajorshi Mukherjee (20)

PDF
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
PPT
SI and PSO --Machine Learning
Md. Shafiul Alam Sagor
 
PPTX
Particle Swarm Optimization
QasimRehman
 
PPT
Swarm intelligence pso and aco
satish561
 
PPTX
Particle Swarm Optimization
Vikas Kumar Sinha
 
PDF
Pso kota baru parahyangan 2017
Iwan Sofana
 
PPTX
Particle swarm optimization
Mahyar Mohaghegh
 
PPTX
PSO.pptx
SulmanShahzad
 
DOC
Pso notes
Darshan Sharma
 
PPTX
PSO-ACO-Presentation Particle Swarm Optimization (PSO)
talibhussain508642
 
PPTX
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
Zubin Bhuyan
 
PDF
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
ijaia
 
PDF
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
IAEME Publication
 
PDF
Spike timing dependent plasticity to make robot navigation more intelligent. ...
Lietuvos kompiuterininkų sąjunga
 
PPTX
11-Optimization algorithm with swarm.pptx
abbas miry
 
PPTX
Metaheuristics for software testing
Francisco de Melo Jr
 
PDF
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
ijsc
 
PDF
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
ijsc
 
PDF
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
Zubin Bhuyan
 
PPTX
Bio-inspired computing Algorithms.pptx
pawansher2002
 
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
SI and PSO --Machine Learning
Md. Shafiul Alam Sagor
 
Particle Swarm Optimization
QasimRehman
 
Swarm intelligence pso and aco
satish561
 
Particle Swarm Optimization
Vikas Kumar Sinha
 
Pso kota baru parahyangan 2017
Iwan Sofana
 
Particle swarm optimization
Mahyar Mohaghegh
 
PSO.pptx
SulmanShahzad
 
Pso notes
Darshan Sharma
 
PSO-ACO-Presentation Particle Swarm Optimization (PSO)
talibhussain508642
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
Zubin Bhuyan
 
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
ijaia
 
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
IAEME Publication
 
Spike timing dependent plasticity to make robot navigation more intelligent. ...
Lietuvos kompiuterininkų sąjunga
 
11-Optimization algorithm with swarm.pptx
abbas miry
 
Metaheuristics for software testing
Francisco de Melo Jr
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
ijsc
 
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
ijsc
 
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
Zubin Bhuyan
 
Bio-inspired computing Algorithms.pptx
pawansher2002
 
Ad

Recently uploaded (20)

PDF
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
PDF
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PDF
Zero Carbon Building Performance standard
BassemOsman1
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PPT
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
PPTX
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
PDF
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PDF
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PDF
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PDF
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
PDF
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
PPTX
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
Machine Learning All topics Covers In This Single Slides
AmritTiwari19
 
CAD-CAM U-1 Combined Notes_57761226_2025_04_22_14_40.pdf
shailendrapratap2002
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
Zero Carbon Building Performance standard
BassemOsman1
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Understanding the Key Components and Parts of a Drone System.ppt
Siva Reddy
 
sunil mishra pptmmmmmmmmmmmmmmmmmmmmmmmmm
singhamit111
 
AI-Driven IoT-Enabled UAV Inspection Framework for Predictive Maintenance and...
ijcncjournal019
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
EVS+PRESENTATIONS EVS+PRESENTATIONS like
saiyedaqib429
 
Information Retrieval and Extraction - Module 7
premSankar19
 
STUDY OF NOVEL CHANNEL MATERIALS USING III-V COMPOUNDS WITH VARIOUS GATE DIEL...
ijoejnl
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
LEAP-1B presedntation xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
hatem173148
 
2010_Book_EnvironmentalBioengineering (1).pdf
EmilianoRodriguezTll
 
MULTI LEVEL DATA TRACKING USING COOJA.pptx
dollysharma12ab
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 

Particle Swarm Optimization by Rajorshi Mukherjee

  • 1. A presentation by Rajorshi Mukherjee CSE 4th Year Academic Batch : 2011-2015
  • 2.   Introduction  Details  Algorithm  Flowchart  Real Life applications  Conclusion  Bibliography Contents
  • 3.   Particle Swarm Optimization (P.S.O.) also known as Swarm Intelligence is an algorithm developed by James Kennedy and Russell Eberhart.  It is a robust stochastic optimization technique based on the movement and intelligence of swarms. PSO applies the concept of social interaction for problem solving. Introduction
  • 4.   There are a number of particles in this algorithm which move around in space to search for the best or optimum value. These particles are provided with initial velocities and certain constants and values at the beginning.  Each particle of the system has a certain velocity and learning constants. It then moves in the space, randomly and then adjusts according to the experience collected from other particles. Introduction contd..
  • 5.   Each particle is swarming for the optimum.  Each particle is moving and hence has a velocity.  Each particle remembers the position it was in where it had best results so far (its personal best).  But this would not be enough, particles would need help in figuring out where to search. Introductioncontd…
  • 6.   The main motivation of this form of algorithm came from real life examples.  Swarming is a natural phenomenon.  Swarming helps to get work done better. Details
  • 7.   In real life we take the example of birds as observed by Craig Reynolds and proposed in 1995.  He observed three main properties that the birds behaved.  Separation – Each bird is an individual particle and do not collide with other birds.  Alignment – They move in the same general direction.  Cohesion – They do not move away from the flock and try to stick together. Details contd…
  • 8.   In this method each particle in space keeps track of their position, and also of their neighbors. This knowledge is used further to know a better position (optimization of solution), this method combines self-experiences and social experiences.  In every iteration each particle keeps track of their personal best attempt, known as pbest. Details contd…
  • 9.   In every iteration each particle also keeps track of their neighboring best and global best performance in finding the optimum solution. This is known as gbest.  The main concept of PSO lies in the essence that each particle in the space is accelerated towards the pbest and gbest locations with a random weighted acceleration in each iteration. Details contd…
  • 10.   Each particle adjusts its travelling speed dynamically corresponding to the flying experiences of itself and its colleagues.  Each particle modifies its position according to :  Its current position  Its current velocity  The distance between its current position and pbest.  The distance between its current position and gbest. Details contd…
  • 11.   The PSO algorithm may be written in pseudo code as follows.  Algorithm Parameters  A: Population of events.  pi: position of agent ai in solution space.  f: Objective function.  vi: Velocity of agents ai.  V(ai) : Neighborhood of agent ai (fixed) Algorithm
  • 12.  [x*] = PSO() p=Particle_Initialization(); For i=1 to it_max For each particle p in P do fp=f(p); if fp beter than f(pbest) pbest = p; end end Continued on Next Slide Algorithm contd…
  • 13.  gbest = best p in P; For each particle p in P do vi = vi + c1*rand()*(pbest - p) + c2*rand()*(gbest - p); p=p+v; end end algorithm Algorithm contd…
  • 14.   Particle update rule  p=p+v  with  v=v+c1*rand()*(pbest-p)+c2*rand()(gbest-p)  where  p: particle position  v: path direction  c1: cognitive learning constant  c2: social learning constant (Continued on Next Slide) Algorithm contd…
  • 15.   pbest: best position of the particle.  gbest: best position of the swarm  rand: a random variable Algorithm contd…
  • 16.   Here c1 is the cognitive learning rate and its value determines the importance of how much necessary it is to learn from own experience.  C2 is the social learning constant. This parameter is places the importance of learning through experience of others.  Vi is the velocity of a particle of the swarm, this value is very important, too high a value will make the system unstable. Too low a value will make the algorithm very slow. Algorithm contd…
  • 17.  1. First we create a population of agents or particles to make a swarm, uniformly distributed over a space X. 2. Evaluate the position of each particle according to objective function. 3. If a particle’s current position is better than its initial position, then update it. 4. Determine best particle (according to particle’s previous best position) Algorithm contd…
  • 18.  5. Update particles position 6. Move particles to new positions. 7. Goto step 2 until stopping criteria are met. Algorithm contd…
  • 20.   Nature is the best teacher.  Ant colonies thrive due to this phenomenon.  Birds also use swarm intelligence to survive.  Fishes also exhibit this kind of behavior.  PSO is used in computer science to optimize certain functions. Real Life applications
  • 21.   These are some functions used for optimization. Real Life applications contd… Griewank Rastrigin Rosenbrock
  • 22.   In all we can use particle swarm optimization for finding optimum solutions to problems.  Constraints to be kept in mind are that velocity should have and optimum value, as too less will be too slow, and if the velocity is too high then the method will become unstable. Conclusion
  • 23.   A presentation on Swarm Intelligence – from Natural to Artificial Systems. - Ukradnuté kde sa dalo, a adaptované  A presentation on PSO by Maurice Clerk.  The Particle Swarm Optimization Algorithm by Andry Pinto, Hugo Alves, Inês Domingues, Luís Rocha, Susana Cruz Bibliography