SlideShare a Scribd company logo
1 of 25
Particle Swarm Optimization
• Swarm Intelligence.
• Particle Swarm Optimization
• The procedure for implementation of PSO.
• modifications in the basic structure of PSO.
• PSO features.
• Parameter selection in PSO.
Agenda
• The term swarm is used to represent an
aggregation of the animals or insects which
work collectively to accomplish their day to
day tasks in an intelligent and efficient
manner.
• Swarm may be school of fishes, flocks of
birds and social insects like ants, bees etc.
Swarm Intelligence
• Swarms are capable of performing tasks which
are complex enough to be performed by an
individual animal or insect.
 example of Ants
Ants are capable of finding the shortest path
for their food and they do it by
communicating through their environment
using a chemical substance called pheromones
as they can’t communicate directly.
• The PSO algorithm is a population-based
optimization technique. In a PSO system, multiple
candidate solutions coexist and collaborate
simultaneously.
• Each solution called a particle, flies in the problem
search space looking for the optimal position to
land.
• A particle, during the generations, adjusts its
position according to its own experience as well
as the experience of neighboring particles.
Particle swarm optimization
• A particle status on the search space is
characterized by two factors:
– its position (Xi)
– and velocity(Vi).
And will be updated according to the following
equations:
• Eq. (1)
• first part , Vi [k], represents particle’s previous
velocity.
• It stores previous flight direction .
• to prevent the particle from drastically changing its
direction and alignment it to its current direction.
• second part, C1 Rand (.)(pbesti [k]-Xi[k]),
• is called cognition part and resembles individual
memoryof the position that was best for the particle.
• its effect is to linearly attract the particle towards its
own best experience .
• third part, C2rand (.) (gbest [k] -Xi [k]), is called
social or cooperation component
• resembles a group standard which individuals seek to
attain.
• The effect of this term is to attract the particle towards
the best experience of the all particles in the swarm
scaled by random weight .
a. Initialize each particle with a random velocity
and position.
b. Calculate the objective value of all particles .
c. Set the position and objective of each particle as
Pi and Pbest ,respectively.
d. Set the position and objective of the particle
with the best fitness (least objective) as Pg and
gbest, respectively.
The procedure for
implementation of PSO
e. Update Particles’ Vi and Xi according to
Equations (1) and (2).
f. Update each particle’s Pbest and Pi, that is, if the
current Pbest of the particle is better(less) than its
Pbest, then Pbest and Pi are replaced with current
objective value and position vector, respectively.
g. Update Pg and gbest, that is,
if the current gbest of the whole swarm is fitter than
gbest, then gbest and Pg are replaced with current best
objective and its corresponding position
vector, respectively.
h. Steps e –g are repeated until stopping criterion
(usually a prespecified number of iterations or a
quality threshold for objective value) is reached.
1. Selection of maximum velocity:
the velocities may become too high so that the particles
become uncontrolled and exceed search space.
Therefore, velocities are bounded to a maximum value
Vmax, that is
important modifications in the
basic structure of PSO
• Large value of Vmax increases the convergence
speed and convergence to a local minimum .
• small value of Vmax decreases the efficiency of
the algorithm.
Notes,
2. Adding inertia weight:
a new parameter w for the PSO, named inertia
Weight is added in order to better control the scope of the
search .
So, Eq. (1) is now becomes:
• high value large velocities find the global
optimum neighborhood in a fast way.
• low value narrow the particles’ search region.
Notes,
3. Constriction factor:
if running algorithm without restraining the
velocity, so the system will explodes after a few
iterations .
so, induce a constriction coefficient in
order to control the convergence properties.
• with the constriction factor , the PSO equation
for computing the velocity is:
• Note that ,
– if C = 5 then = 0.38 from Eq. (4), will cause a very
pronounced damping effect.
– But , if C is set to 4 then is thus 0.729, which works
fine.
• The advantage of using this factor is that
– there is no need to use Vmax nor to guess the values for
any parameters which govern the convergence and
prevent explosion.
Notes,
• has less parameters to be tuned by user,compared
with other heuristics.
• Simple and coding is very easy.
• provides fast convergence.
• provides high accuracy.
• less affected by initial solutions,compared with
other heuristics.
• ...........,other features.
PSO features
1. Using PSO variants with fixed parameters,so
parameter values (accepted values , set on trial-
and-error basis).
2. Using PSO variants with dynamic or adaptive
parameters.
3. Using parameter-free PSO variants which do
not require any parameter setting process.
4. Using composite PSO but,it have a big problem
that it will increase complexity of the problem.
Strategies for setting PSO
parameters
• Swarm size
– Too few particles the algorithm will trap in local
optima.
– too many particles slow down the algorithm.
– So no exact rule for selection of swarm size, But when the
dimension of problem increases, the swarm size should
also be increased.
Parameter selection in PSO
• Maximum velocity
– If it is too high , the particles move erratically and are
swiftly attracted to global best (gbest) without enough
exploration of search space and may exceed search space.
– if it is too small, the computational overhead increases
and the algorithm may be unable to converge.
– Value for Vmax
– NI is the number of intervals in the dth dimension.
– Xmax and Xmin are the maximum and minimum values of
particles .
• Inertia weight
– There are different procedures for setting inertia weight:
– fixed inertia weight.
– Linearly decreasing.
– linearly increasing.
– non-linear ,fuzzy adaptive, random....etc.
– Taking into account both simplicity and
efficiency, linearly decreasing inertia weight is the most
appropriate method for setting inertia weight.
Accepted values of w
• Acceleration coefficients(C1,C2)
– if too high the particles move abruptly and fall in
false optima.
– if too low the particles move too slowly and the
algorithm couldn’t converge.
– If C1 increases it could increase attraction to Pbest
and decrease attraction to Gbest.
– If C2 increases it could increase attraction to Gbest
and decrease attraction to Pbest.
– So, setting C1 ,C2 =2 for most of problems.
Any Questions ??

More Related Content

What's hot

Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
Stelios Petrakis
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in Engineering
Prince Jain
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
QasimRehman
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
vk1dadhich
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
Partha Das
 

What's hot (20)

Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi Mukherjee
 
PSO and Its application in Engineering
PSO and Its application in EngineeringPSO and Its application in Engineering
PSO and Its application in Engineering
 
Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Pso introduction
Pso introductionPso introduction
Pso introduction
 
Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO) Optimization and particle swarm optimization (O & PSO)
Optimization and particle swarm optimization (O & PSO)
 
PSO
PSOPSO
PSO
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Nature-inspired algorithms
Nature-inspired algorithmsNature-inspired algorithms
Nature-inspired algorithms
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Optimization Using Evolutionary Computing Techniques
Optimization Using Evolutionary Computing Techniques Optimization Using Evolutionary Computing Techniques
Optimization Using Evolutionary Computing Techniques
 
Swarm Intelligence - An Introduction
Swarm Intelligence - An IntroductionSwarm Intelligence - An Introduction
Swarm Intelligence - An Introduction
 
Particle Swarm Optimization Matlab code Using 50, 5000 Swarms
Particle Swarm Optimization Matlab code Using 50, 5000 SwarmsParticle Swarm Optimization Matlab code Using 50, 5000 Swarms
Particle Swarm Optimization Matlab code Using 50, 5000 Swarms
 
PSO.ppt
PSO.pptPSO.ppt
PSO.ppt
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
ant colony optimization
ant colony optimizationant colony optimization
ant colony optimization
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Ant Colony Optimization presentation
Ant Colony Optimization presentationAnt Colony Optimization presentation
Ant Colony Optimization presentation
 

Similar to Particle swarm optimization

Particle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power SystemParticle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power System
Ministry of New & Renewable Energy, Govt of India
 
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
sky chang
 
Particle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentationParticle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentation
LatestShorts
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
satish561
 

Similar to Particle swarm optimization (20)

Particle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power SystemParticle Swarm Optimization Application In Power System
Particle Swarm Optimization Application In Power System
 
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)TEXT FEUTURE SELECTION  USING PARTICLE SWARM OPTIMIZATION (PSO)
TEXT FEUTURE SELECTION USING PARTICLE SWARM OPTIMIZATION (PSO)
 
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
Feature Selection using Complementary Particle Swarm Optimization for DNA Mic...
 
IRJET- PSO based PID Controller for Bidirectional Inductive Power Transfer Sy...
IRJET- PSO based PID Controller for Bidirectional Inductive Power Transfer Sy...IRJET- PSO based PID Controller for Bidirectional Inductive Power Transfer Sy...
IRJET- PSO based PID Controller for Bidirectional Inductive Power Transfer Sy...
 
Pso notes
Pso notesPso notes
Pso notes
 
A survey on ant colony clustering papers
A survey on ant colony clustering papersA survey on ant colony clustering papers
A survey on ant colony clustering papers
 
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spacesDriP PSO- A fast and inexpensive PSO for drifting problem spaces
DriP PSO- A fast and inexpensive PSO for drifting problem spaces
 
Bic pso
Bic psoBic pso
Bic pso
 
Particle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentationParticle swarm optimization (PSO) ppt presentation
Particle swarm optimization (PSO) ppt presentation
 
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-SpacesA Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
A Fast and Inexpensive Particle Swarm Optimization for Drifting Problem-Spaces
 
introduction pso.ppt
introduction pso.pptintroduction pso.ppt
introduction pso.ppt
 
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
AN IMPROVED MULTIMODAL PSO METHOD BASED ON ELECTROSTATIC INTERACTION USING NN...
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
UNIT-5 Optimization (Part-1).ppt
UNIT-5 Optimization (Part-1).pptUNIT-5 Optimization (Part-1).ppt
UNIT-5 Optimization (Part-1).ppt
 
04 20259 real power loss
04 20259 real power loss04 20259 real power loss
04 20259 real power loss
 
Software Effort Estimation Using Particle Swarm Optimization with Inertia Weight
Software Effort Estimation Using Particle Swarm Optimization with Inertia WeightSoftware Effort Estimation Using Particle Swarm Optimization with Inertia Weight
Software Effort Estimation Using Particle Swarm Optimization with Inertia Weight
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
CS532L4_Backpropagation.pptx
CS532L4_Backpropagation.pptxCS532L4_Backpropagation.pptx
CS532L4_Backpropagation.pptx
 
Particle Swarm Optimization.pptx
Particle Swarm Optimization.pptxParticle Swarm Optimization.pptx
Particle Swarm Optimization.pptx
 
MPPT for Photovoltaic System Using Multi-objective Improved Particle Swarm Op...
MPPT for Photovoltaic System Using Multi-objective Improved Particle Swarm Op...MPPT for Photovoltaic System Using Multi-objective Improved Particle Swarm Op...
MPPT for Photovoltaic System Using Multi-objective Improved Particle Swarm Op...
 

Recently uploaded

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 

Particle swarm optimization

  • 2. • Swarm Intelligence. • Particle Swarm Optimization • The procedure for implementation of PSO. • modifications in the basic structure of PSO. • PSO features. • Parameter selection in PSO. Agenda
  • 3. • The term swarm is used to represent an aggregation of the animals or insects which work collectively to accomplish their day to day tasks in an intelligent and efficient manner. • Swarm may be school of fishes, flocks of birds and social insects like ants, bees etc. Swarm Intelligence
  • 4. • Swarms are capable of performing tasks which are complex enough to be performed by an individual animal or insect.  example of Ants Ants are capable of finding the shortest path for their food and they do it by communicating through their environment using a chemical substance called pheromones as they can’t communicate directly.
  • 5. • The PSO algorithm is a population-based optimization technique. In a PSO system, multiple candidate solutions coexist and collaborate simultaneously. • Each solution called a particle, flies in the problem search space looking for the optimal position to land. • A particle, during the generations, adjusts its position according to its own experience as well as the experience of neighboring particles. Particle swarm optimization
  • 6. • A particle status on the search space is characterized by two factors: – its position (Xi) – and velocity(Vi). And will be updated according to the following equations:
  • 7. • Eq. (1) • first part , Vi [k], represents particle’s previous velocity. • It stores previous flight direction . • to prevent the particle from drastically changing its direction and alignment it to its current direction. • second part, C1 Rand (.)(pbesti [k]-Xi[k]), • is called cognition part and resembles individual memoryof the position that was best for the particle. • its effect is to linearly attract the particle towards its own best experience .
  • 8. • third part, C2rand (.) (gbest [k] -Xi [k]), is called social or cooperation component • resembles a group standard which individuals seek to attain. • The effect of this term is to attract the particle towards the best experience of the all particles in the swarm scaled by random weight .
  • 9. a. Initialize each particle with a random velocity and position. b. Calculate the objective value of all particles . c. Set the position and objective of each particle as Pi and Pbest ,respectively. d. Set the position and objective of the particle with the best fitness (least objective) as Pg and gbest, respectively. The procedure for implementation of PSO
  • 10. e. Update Particles’ Vi and Xi according to Equations (1) and (2). f. Update each particle’s Pbest and Pi, that is, if the current Pbest of the particle is better(less) than its Pbest, then Pbest and Pi are replaced with current objective value and position vector, respectively. g. Update Pg and gbest, that is, if the current gbest of the whole swarm is fitter than gbest, then gbest and Pg are replaced with current best objective and its corresponding position vector, respectively.
  • 11. h. Steps e –g are repeated until stopping criterion (usually a prespecified number of iterations or a quality threshold for objective value) is reached.
  • 12. 1. Selection of maximum velocity: the velocities may become too high so that the particles become uncontrolled and exceed search space. Therefore, velocities are bounded to a maximum value Vmax, that is important modifications in the basic structure of PSO
  • 13. • Large value of Vmax increases the convergence speed and convergence to a local minimum . • small value of Vmax decreases the efficiency of the algorithm. Notes,
  • 14. 2. Adding inertia weight: a new parameter w for the PSO, named inertia Weight is added in order to better control the scope of the search . So, Eq. (1) is now becomes:
  • 15. • high value large velocities find the global optimum neighborhood in a fast way. • low value narrow the particles’ search region. Notes,
  • 16. 3. Constriction factor: if running algorithm without restraining the velocity, so the system will explodes after a few iterations . so, induce a constriction coefficient in order to control the convergence properties.
  • 17. • with the constriction factor , the PSO equation for computing the velocity is: • Note that , – if C = 5 then = 0.38 from Eq. (4), will cause a very pronounced damping effect. – But , if C is set to 4 then is thus 0.729, which works fine.
  • 18. • The advantage of using this factor is that – there is no need to use Vmax nor to guess the values for any parameters which govern the convergence and prevent explosion. Notes,
  • 19. • has less parameters to be tuned by user,compared with other heuristics. • Simple and coding is very easy. • provides fast convergence. • provides high accuracy. • less affected by initial solutions,compared with other heuristics. • ...........,other features. PSO features
  • 20. 1. Using PSO variants with fixed parameters,so parameter values (accepted values , set on trial- and-error basis). 2. Using PSO variants with dynamic or adaptive parameters. 3. Using parameter-free PSO variants which do not require any parameter setting process. 4. Using composite PSO but,it have a big problem that it will increase complexity of the problem. Strategies for setting PSO parameters
  • 21. • Swarm size – Too few particles the algorithm will trap in local optima. – too many particles slow down the algorithm. – So no exact rule for selection of swarm size, But when the dimension of problem increases, the swarm size should also be increased. Parameter selection in PSO
  • 22. • Maximum velocity – If it is too high , the particles move erratically and are swiftly attracted to global best (gbest) without enough exploration of search space and may exceed search space. – if it is too small, the computational overhead increases and the algorithm may be unable to converge. – Value for Vmax – NI is the number of intervals in the dth dimension. – Xmax and Xmin are the maximum and minimum values of particles .
  • 23. • Inertia weight – There are different procedures for setting inertia weight: – fixed inertia weight. – Linearly decreasing. – linearly increasing. – non-linear ,fuzzy adaptive, random....etc. – Taking into account both simplicity and efficiency, linearly decreasing inertia weight is the most appropriate method for setting inertia weight. Accepted values of w
  • 24. • Acceleration coefficients(C1,C2) – if too high the particles move abruptly and fall in false optima. – if too low the particles move too slowly and the algorithm couldn’t converge. – If C1 increases it could increase attraction to Pbest and decrease attraction to Gbest. – If C2 increases it could increase attraction to Gbest and decrease attraction to Pbest. – So, setting C1 ,C2 =2 for most of problems.

Editor's Notes

  1. Vi= [vi1,vi2, ...,vin] called the velocity for particlei.Xi= [xi1,xi2, ..., xin]represents the position of particle i.Pbest :represents thebest previous position of particle i(i.e., local-best positionor its experience)Gbest :represents the best positionamong all particles in the population X= [X1,X2, . . .,XN](i.e. global-best position)Rand(.)and rand(.): are two random variables between [0,1].C1and C2 : are positive numberscalled acceleration coefficients that guide eachparticle toward the individual best and the swarm bestpositions, respectively.
  2. Yi(t+1) :best position of the particleF: fitness functionX(t+1): current position of the particle.Y’(t):best position of the particle according to all particles.
  3. Vmax is set according to the characteristics of the problem.
  4. Abido (2001, 2002) has put forward the following valueforVmax