SlideShare una empresa de Scribd logo
1 de 20
Scientific Research Group in Egypt (SRGE)

Swarm Intelligence (I)
Particle swarm optimization
Dr. Ahmed Fouad Ali
Suez Canal University,
Dept. of Computer Science, Faculty of Computers and informatics
Member of the Scientific Research Group in Egypt

Company

LOGO
Company

LOGO

Scientific Research Group in Egypt
www.egyptscience.net
Company

LOGO

Meta-heuristics techniques
Company

LOGO

Outline
1. Swarm intelligence (Main idea)
2. History of Particle swarm optimization
3. Particle swarm optimization (PSO)
4. PSO Algorithm
5. Advantage / disadvantage

6. Comparison with Genetic algorithm
7. References
Company

LOGO

Swarm intelligence (Main Idea)

•Suppose you and a group of friends
are on a treasure finding mission.
Each one in the group has a metal
detector and can communicate the
signal and current position to the n
nearest neighbors.
•Each person therefore knows
whether one of his neighbors is
nearer to the treasure than him. If this
is the case, you can move closer to
that neighbor. In doing so, your
chances are improved to find the
treasure. Also, the treasure may be
found more quickly than if you were
on your own.
Company

LOGO

Swarm intelligence (Main Idea)

•A swarm can be defined as a structured collection of interacting
organisms (or agents).
•Within
the
computational
study
of
swarm
intelligence,
individual
organisms
have
included
ants, bees, wasps, termites, fish (in schools) and birds (in flocks).
Company

LOGO

Swarm intelligence (Main Idea)

•The global behavior of a swarm of
social organisms therefore emerges
in a nonlinear manner from the
behavior of the individuals in that
swarm
•The interaction among individuals
plays a vital role in shaping the
swarm's behavior.
•Interaction among individuals aids
in refining experiential knowledge
about the environment, and enhances
the progress of the swarm toward
optimality.
Company

LOGO

History of particle swarm optimization

• Proposed by James Kennedy &
Russell Eberhart in 1995
•Inspired by simulation social
behavior Related to bird flocking,
fish schooling and swarming theory
- steer toward the center
- match neighbors’ velocity
- avoid collisions
• Combines self-experience with
social experience
• Population-based optimization
Company

LOGO

Particle swarm optimization (concepts)

• Set of agents (particles) that
constitute a swarm moving around
in the search space looking for the
best solution

• Each particle in search space adjusts
its ―flying‖ according to its own
flying experience as well as the flying

experience of other particles
Company

LOGO

Particle swarm optimization (concepts)

• Movement towards a promising area

to get the global optimum
•Each particle keeps track:
• Its best solution, personal best,
pbest
• The best value of any particle,

global best, gbest
Company

LOGO
•

Particle swarm optimization (concepts)

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
Company

LOGO

Particle swarm optimization (concepts)

• Swarm: a set of particles (S)
• Particle: a potential solution
•

Position, Velocity:

• Each particle maintains
•

Individual best position (PBest)

• Swarm maintains its global best
(GBest)
Company

LOGO

Particle swarm optimization Algorithm

P = Particle_Initialization();
For i=1 to it_max
For each particle p in P do
fp = f(p);
If fp is better than f(pBest)
pBest = p;
end
end
gBest = best p in P;
For each particle p in P do
v = v + c1*rand*(pBest – p) + c2*rand*(gBest – p);
p = p + v;
end
end
Company

LOGO

Particle swarm optimization Algorithm
Personal influences

Inertia

vi(t+1) = vi (t)+ c1*rand*(pBest(t) – p(t)) +
c2*rand*(gBest(t) – p(t));
Social influence

Particle’s velocity
Company

LOGO

PSO Algorithm (parameter setting)

•Number of particles
(10—50) are reported as usually
sufficient.
•C1 (importance of personal best)
•C2 (importance of neighborhood
best)
•Usually C1+C2 = 4.

•Vmax – too low: too slow
too high: too unstable.
Company

LOGO

Advantage / disadvantage

Advantage

Disadvantage

Simple
implementation

Slow convergence in
refined search stage

Few parameters to
adjust
Efficient in global
search

Weak local search ability
Company

LOGO

Comparison with genetic algorithm (GA)

• Commonalities
•

•

•

•

•

PSO and GA are both population based stochastic
optimization
Both algorithms start with a group of a randomly
generated population,
Both have fitness values to evaluate the population.
Both update the population and search for the
optimium with random techniques.
Both systems do not guarantee success.
Company

LOGO

Comparison with genetic algorithm (GA)

• Differences
•

•

•

•

PSO does not have genetic operators like crossover and
mutation. Particles update themselves with the internal
velocity.
Particles do not die.
The information sharing mechanism in PSO is
significantly different
There is no selection in PSO
Company

LOGO

References

•Computational Intelligence An Introduction
Andries P. Engelbrecht, University of Pretoria South
Africa
•Some slides adapted from a presentation
“The Particle Swarm Optimization Algorithm” By
Andry Pinto, Hugo Alves, Inês Domingues, Luís Rocha
Susana Cruz.
Particle Swarm Optimization
http://www.particleswarm.info/
http://www.swarmintelligence.org
Company

LOGO

Thank you
Ahmed_fouad@ci.suez.edu.eg
http://www.egyptscience.net

Más contenido relacionado

La actualidad más candente

Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar dey roll  36.(swarm intelligence)Jyotishkar dey roll  36.(swarm intelligence)
Jyotishkar dey roll 36.(swarm intelligence)Jyotishkar Dey
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationSuman Chatterjee
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationStelios Petrakis
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimizationmidhulavijayan
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationvk1dadhich
 
Artificial fish swarm optimization
Artificial fish swarm optimizationArtificial fish swarm optimization
Artificial fish swarm optimizationAhmed Fouad Ali
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationHanya Mohammed
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationQasimRehman
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisXin-She Yang
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktimRaktim Halder
 
Artificial bee colony (abc)
Artificial bee colony (abc)Artificial bee colony (abc)
Artificial bee colony (abc)quadmemo
 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Mahmoud El-tayeb
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMPuneet Kulyana
 

La actualidad más candente (20)

Jyotishkar dey roll 36.(swarm intelligence)
Jyotishkar dey roll  36.(swarm intelligence)Jyotishkar dey roll  36.(swarm intelligence)
Jyotishkar dey roll 36.(swarm intelligence)
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Artificial fish swarm optimization
Artificial fish swarm optimizationArtificial fish swarm optimization
Artificial fish swarm optimization
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
Genetic algorithm raktim
Genetic algorithm raktimGenetic algorithm raktim
Genetic algorithm raktim
 
Artificial bee colony (abc)
Artificial bee colony (abc)Artificial bee colony (abc)
Artificial bee colony (abc)
 
Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)Ant Colony Optimization (ACO)
Ant Colony Optimization (ACO)
 
Introduction to Genetic Algorithms
Introduction to Genetic AlgorithmsIntroduction to Genetic Algorithms
Introduction to Genetic Algorithms
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 

Destacado

Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithmAhmed Fouad Ali
 
Latex symbols and commands
Latex symbols  and commandsLatex symbols  and commands
Latex symbols and commandsAhmed Fouad Ali
 
Social spider optimization
Social spider optimizationSocial spider optimization
Social spider optimizationAhmed Fouad Ali
 
Backtraking optimziation algorithm
Backtraking optimziation algorithmBacktraking optimziation algorithm
Backtraking optimziation algorithmAhmed Fouad Ali
 
Spider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmSpider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmAhmed Fouad Ali
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithmAhmed Fouad Ali
 
Harmony search algorithm
Harmony search algorithmHarmony search algorithm
Harmony search algorithmAhmed Fouad Ali
 
Inteligência de enxames - Cardume (PSO + AFSA)
Inteligência de enxames - Cardume (PSO + AFSA)Inteligência de enxames - Cardume (PSO + AFSA)
Inteligência de enxames - Cardume (PSO + AFSA)Pedro de Vasconcellos
 
Visualization of high dimensional data set
Visualization of high dimensional data setVisualization of high dimensional data set
Visualization of high dimensional data setAboul Ella Hassanien
 
Linear vs. quadratic classifier power point
Linear vs. quadratic classifier power pointLinear vs. quadratic classifier power point
Linear vs. quadratic classifier power pointAlaa Tharwat
 
Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...
Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...
Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...IJRES Journal
 
New Rough Set Attribute Reduction Algorithm based on Grey Wolf Optimization
New Rough Set Attribute Reduction Algorithm based on Grey Wolf OptimizationNew Rough Set Attribute Reduction Algorithm based on Grey Wolf Optimization
New Rough Set Attribute Reduction Algorithm based on Grey Wolf OptimizationAboul Ella Hassanien
 

Destacado (20)

Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
Grey wolf optimizer
Grey wolf optimizerGrey wolf optimizer
Grey wolf optimizer
 
Group search optimizer
Group search optimizerGroup search optimizer
Group search optimizer
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithm
 
Latex symbols and commands
Latex symbols  and commandsLatex symbols  and commands
Latex symbols and commands
 
Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 
Tabu search
Tabu searchTabu search
Tabu search
 
Social spider optimization
Social spider optimizationSocial spider optimization
Social spider optimization
 
Backtraking optimziation algorithm
Backtraking optimziation algorithmBacktraking optimziation algorithm
Backtraking optimziation algorithm
 
Spider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmSpider Monkey Optimization Algorithm
Spider Monkey Optimization Algorithm
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Harmony search algorithm
Harmony search algorithmHarmony search algorithm
Harmony search algorithm
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
Inteligência de enxames - Cardume (PSO + AFSA)
Inteligência de enxames - Cardume (PSO + AFSA)Inteligência de enxames - Cardume (PSO + AFSA)
Inteligência de enxames - Cardume (PSO + AFSA)
 
Visualization of high dimensional data set
Visualization of high dimensional data setVisualization of high dimensional data set
Visualization of high dimensional data set
 
Linear vs. quadratic classifier power point
Linear vs. quadratic classifier power pointLinear vs. quadratic classifier power point
Linear vs. quadratic classifier power point
 
Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...
Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...
Quantum-inspired artificial fish swarm algorithm based on the Bloch sphere se...
 
New Rough Set Attribute Reduction Algorithm based on Grey Wolf Optimization
New Rough Set Attribute Reduction Algorithm based on Grey Wolf OptimizationNew Rough Set Attribute Reduction Algorithm based on Grey Wolf Optimization
New Rough Set Attribute Reduction Algorithm based on Grey Wolf Optimization
 
Pca ppt
Pca pptPca ppt
Pca ppt
 

Similar a Particle swarm optimization

Discovery Hub: on-the-fly linked data exploratory search
Discovery Hub: on-the-fly linked data exploratory searchDiscovery Hub: on-the-fly linked data exploratory search
Discovery Hub: on-the-fly linked data exploratory searchFabien Gandon
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
Learning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic ProgrammingLearning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic ProgrammingVrije Universiteit Amsterdam
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Aleksander Stensby
 
Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Iwan Sofana
 
Introduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary ComputationIntroduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary ComputationAleksander Stensby
 
VET4SBO Level 2 module 2 - unit 2 - v1.0 en
VET4SBO Level 2   module 2 - unit 2 - v1.0 enVET4SBO Level 2   module 2 - unit 2 - v1.0 en
VET4SBO Level 2 module 2 - unit 2 - v1.0 enKarel Van Isacker
 
Developing in R - the contextual Multi-Armed Bandit edition
Developing in R - the contextual Multi-Armed Bandit editionDeveloping in R - the contextual Multi-Armed Bandit edition
Developing in R - the contextual Multi-Armed Bandit editionRobin van Emden
 
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Lionel Briand
 
The painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataThe painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataCSIRO
 
Artificial Inteligence for Games an Overview SBGAMES 2012
Artificial Inteligence for Games an Overview SBGAMES 2012Artificial Inteligence for Games an Overview SBGAMES 2012
Artificial Inteligence for Games an Overview SBGAMES 2012Bruno Duarte Corrêa
 
CMU Trecvid med13 nist
CMU Trecvid med13 nistCMU Trecvid med13 nist
CMU Trecvid med13 nistLu Jiang
 
University Course Timetabling by using Multi Objective Genetic Algortihms
University Course Timetabling by using Multi Objective Genetic AlgortihmsUniversity Course Timetabling by using Multi Objective Genetic Algortihms
University Course Timetabling by using Multi Objective Genetic AlgortihmsHalil Kaşkavalcı
 
Useing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with TensorflowUseing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with TensorflowYi-Fan Liou
 
Python for Ocean Science
Python for Ocean SciencePython for Ocean Science
Python for Ocean ScienceMEOPAR
 

Similar a Particle swarm optimization (20)

Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
Machine Learning Tools and Particle Swarm Optimization for Content-Based Sear...
 
Discovery Hub: on-the-fly linked data exploratory search
Discovery Hub: on-the-fly linked data exploratory searchDiscovery Hub: on-the-fly linked data exploratory search
Discovery Hub: on-the-fly linked data exploratory search
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
Learning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic ProgrammingLearning to assess Linked Data relationships using Genetic Programming
Learning to assess Linked Data relationships using Genetic Programming
 
Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014Introduction to Genetic Algorithms 2014
Introduction to Genetic Algorithms 2014
 
Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017Pso kota baru parahyangan 2017
Pso kota baru parahyangan 2017
 
Introduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary ComputationIntroduction to Genetic Algorithms and Evolutionary Computation
Introduction to Genetic Algorithms and Evolutionary Computation
 
VET4SBO Level 2 module 2 - unit 2 - v1.0 en
VET4SBO Level 2   module 2 - unit 2 - v1.0 enVET4SBO Level 2   module 2 - unit 2 - v1.0 en
VET4SBO Level 2 module 2 - unit 2 - v1.0 en
 
Developing in R - the contextual Multi-Armed Bandit edition
Developing in R - the contextual Multi-Armed Bandit editionDeveloping in R - the contextual Multi-Armed Bandit edition
Developing in R - the contextual Multi-Armed Bandit edition
 
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
Efficient Online Testing for DNN-Enabled Systems using Surrogate-Assisted and...
 
The painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral dataThe painful removal of tiling artefacts in hypersprectral data
The painful removal of tiling artefacts in hypersprectral data
 
Bic pso
Bic psoBic pso
Bic pso
 
introduction pso.ppt
introduction pso.pptintroduction pso.ppt
introduction pso.ppt
 
Monomobile
MonomobileMonomobile
Monomobile
 
Recommender Systems and Linked Open Data
Recommender Systems and Linked Open DataRecommender Systems and Linked Open Data
Recommender Systems and Linked Open Data
 
Artificial Inteligence for Games an Overview SBGAMES 2012
Artificial Inteligence for Games an Overview SBGAMES 2012Artificial Inteligence for Games an Overview SBGAMES 2012
Artificial Inteligence for Games an Overview SBGAMES 2012
 
CMU Trecvid med13 nist
CMU Trecvid med13 nistCMU Trecvid med13 nist
CMU Trecvid med13 nist
 
University Course Timetabling by using Multi Objective Genetic Algortihms
University Course Timetabling by using Multi Objective Genetic AlgortihmsUniversity Course Timetabling by using Multi Objective Genetic Algortihms
University Course Timetabling by using Multi Objective Genetic Algortihms
 
Useing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with TensorflowUseing PSO to optimize logit model with Tensorflow
Useing PSO to optimize logit model with Tensorflow
 
Python for Ocean Science
Python for Ocean SciencePython for Ocean Science
Python for Ocean Science
 

Más de Ahmed Fouad Ali

Manta Ray Optimization.pptx
Manta Ray Optimization.pptxManta Ray Optimization.pptx
Manta Ray Optimization.pptxAhmed Fouad Ali
 
Harris hawks optimization
Harris hawks optimizationHarris hawks optimization
Harris hawks optimizationAhmed Fouad Ali
 
Sunflower optimization algorithm
Sunflower optimization algorithmSunflower optimization algorithm
Sunflower optimization algorithmAhmed Fouad Ali
 
Butterfly optimization algorithm
Butterfly optimization algorithmButterfly optimization algorithm
Butterfly optimization algorithmAhmed Fouad Ali
 
Grasshopper optimization algorithm
Grasshopper optimization algorithmGrasshopper optimization algorithm
Grasshopper optimization algorithmAhmed Fouad Ali
 
Gravitational search algorithm
Gravitational search algorithmGravitational search algorithm
Gravitational search algorithmAhmed Fouad Ali
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood searchAhmed Fouad Ali
 

Más de Ahmed Fouad Ali (11)

Manta Ray Optimization.pptx
Manta Ray Optimization.pptxManta Ray Optimization.pptx
Manta Ray Optimization.pptx
 
Harris hawks optimization
Harris hawks optimizationHarris hawks optimization
Harris hawks optimization
 
Sunflower optimization algorithm
Sunflower optimization algorithmSunflower optimization algorithm
Sunflower optimization algorithm
 
Crow search algorithm
Crow search algorithmCrow search algorithm
Crow search algorithm
 
Butterfly optimization algorithm
Butterfly optimization algorithmButterfly optimization algorithm
Butterfly optimization algorithm
 
Salp swarm algorithm
Salp swarm algorithmSalp swarm algorithm
Salp swarm algorithm
 
Grasshopper optimization algorithm
Grasshopper optimization algorithmGrasshopper optimization algorithm
Grasshopper optimization algorithm
 
Gravitational search algorithm
Gravitational search algorithmGravitational search algorithm
Gravitational search algorithm
 
Flower pollination
Flower pollinationFlower pollination
Flower pollination
 
bat algorithm
bat algorithmbat algorithm
bat algorithm
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood search
 

Último

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Último (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

Particle swarm optimization

  • 1. Scientific Research Group in Egypt (SRGE) Swarm Intelligence (I) Particle swarm optimization Dr. Ahmed Fouad Ali Suez Canal University, Dept. of Computer Science, Faculty of Computers and informatics Member of the Scientific Research Group in Egypt Company LOGO
  • 2. Company LOGO Scientific Research Group in Egypt www.egyptscience.net
  • 4. Company LOGO Outline 1. Swarm intelligence (Main idea) 2. History of Particle swarm optimization 3. Particle swarm optimization (PSO) 4. PSO Algorithm 5. Advantage / disadvantage 6. Comparison with Genetic algorithm 7. References
  • 5. Company LOGO Swarm intelligence (Main Idea) •Suppose you and a group of friends are on a treasure finding mission. Each one in the group has a metal detector and can communicate the signal and current position to the n nearest neighbors. •Each person therefore knows whether one of his neighbors is nearer to the treasure than him. If this is the case, you can move closer to that neighbor. In doing so, your chances are improved to find the treasure. Also, the treasure may be found more quickly than if you were on your own.
  • 6. Company LOGO Swarm intelligence (Main Idea) •A swarm can be defined as a structured collection of interacting organisms (or agents). •Within the computational study of swarm intelligence, individual organisms have included ants, bees, wasps, termites, fish (in schools) and birds (in flocks).
  • 7. Company LOGO Swarm intelligence (Main Idea) •The global behavior of a swarm of social organisms therefore emerges in a nonlinear manner from the behavior of the individuals in that swarm •The interaction among individuals plays a vital role in shaping the swarm's behavior. •Interaction among individuals aids in refining experiential knowledge about the environment, and enhances the progress of the swarm toward optimality.
  • 8. Company LOGO History of particle swarm optimization • Proposed by James Kennedy & Russell Eberhart in 1995 •Inspired by simulation social behavior Related to bird flocking, fish schooling and swarming theory - steer toward the center - match neighbors’ velocity - avoid collisions • Combines self-experience with social experience • Population-based optimization
  • 9. Company LOGO Particle swarm optimization (concepts) • Set of agents (particles) that constitute a swarm moving around in the search space looking for the best solution • Each particle in search space adjusts its ―flying‖ according to its own flying experience as well as the flying experience of other particles
  • 10. Company LOGO Particle swarm optimization (concepts) • Movement towards a promising area to get the global optimum •Each particle keeps track: • Its best solution, personal best, pbest • The best value of any particle, global best, gbest
  • 11. Company LOGO • Particle swarm optimization (concepts) 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
  • 12. Company LOGO Particle swarm optimization (concepts) • Swarm: a set of particles (S) • Particle: a potential solution • Position, Velocity: • Each particle maintains • Individual best position (PBest) • Swarm maintains its global best (GBest)
  • 13. Company LOGO Particle swarm optimization Algorithm P = Particle_Initialization(); For i=1 to it_max For each particle p in P do fp = f(p); If fp is better than f(pBest) pBest = p; end end gBest = best p in P; For each particle p in P do v = v + c1*rand*(pBest – p) + c2*rand*(gBest – p); p = p + v; end end
  • 14. Company LOGO Particle swarm optimization Algorithm Personal influences Inertia vi(t+1) = vi (t)+ c1*rand*(pBest(t) – p(t)) + c2*rand*(gBest(t) – p(t)); Social influence Particle’s velocity
  • 15. Company LOGO PSO Algorithm (parameter setting) •Number of particles (10—50) are reported as usually sufficient. •C1 (importance of personal best) •C2 (importance of neighborhood best) •Usually C1+C2 = 4. •Vmax – too low: too slow too high: too unstable.
  • 16. Company LOGO Advantage / disadvantage Advantage Disadvantage Simple implementation Slow convergence in refined search stage Few parameters to adjust Efficient in global search Weak local search ability
  • 17. Company LOGO Comparison with genetic algorithm (GA) • Commonalities • • • • • PSO and GA are both population based stochastic optimization Both algorithms start with a group of a randomly generated population, Both have fitness values to evaluate the population. Both update the population and search for the optimium with random techniques. Both systems do not guarantee success.
  • 18. Company LOGO Comparison with genetic algorithm (GA) • Differences • • • • PSO does not have genetic operators like crossover and mutation. Particles update themselves with the internal velocity. Particles do not die. The information sharing mechanism in PSO is significantly different There is no selection in PSO
  • 19. Company LOGO References •Computational Intelligence An Introduction Andries P. Engelbrecht, University of Pretoria South Africa •Some slides adapted from a presentation “The Particle Swarm Optimization Algorithm” By Andry Pinto, Hugo Alves, Inês Domingues, Luís Rocha Susana Cruz. Particle Swarm Optimization http://www.particleswarm.info/ http://www.swarmintelligence.org