SlideShare a Scribd company logo
Iwan Sofana (iwansofana@gmail.com)
Kota Baru Parahyangan
Bandung West Java Indonesia
2017
•This slides adapted from many related
slides, papers, & books.
•Special thanks to:
 James Kennedy & Russell Eberhart
 Maurice Clerc
 Riccardo Poli, Tim Blackwell, Andry Pinto, Hugo Alves
 Inês Domingues, Luís Rocha, Susana Cruz
 Jaco F. Schutte
 Matthew Settles
 Satyobroto Talukder
 and many more
 Optimization
 Basic PSO
 PSO Algorithm
Optimization
Optimization determines the best-suited solution to
a problem under given circumstances.

Non Linear Optimization problems are generally
very difficult to solve.

Linear/Non Linear problems are equivalent with
Linear/Non Linear function.
Optimization
Function Example
 Please find the maxima/minima of the following
functions:
– f(x)=x2
+2
– h(t)=3 + 14t − 5t2
– g(y)=5y3
+ 2x2
− 3x
 How do we know it is a minimum or maximum?
 Clue: use derivatives & math tools.
Case study
 Quadratic
 Solution
Case study
 Derivative
Case study
 Derivative rules
Case study
 Base on problem charecteristics:

Unconstrained Optimization.

Constrained Optimization.

Dynamic Optimization.
Optimization
Many optimization problems place no restrictions on
the values of that can be assigned to variables of
the problem.
Unconstrained Optimization
The process of optimizing an objective function with
respect to some variables in the presence of
constraints on those variables.
Constrained Optimization
Many optimization problems have objective
functions that change over time and such
changes in objective function cause changes in
the position of optima.
Dynamic Optimization
There are two types of optimization techniques.
 Global optimization technique
 Local optimization technique
Optimization Techniques
Global optimization technique seek to find a global
minimum or lowest function value and its
corresponding global minimizer
 Global minimizer (X*)
Global Opt. Technique
Local optimization technique try to find a local
minimum and its corresponding local minimizer
 Local minimizer (XL
*)
Local Opt. Technique
Case Study
XL
*
X*

For a known (differentiable) function f , calculus
can fairly easily provide us with the minima and
maxima of f .

However, in real-life optimization tasks, this
objective function f is often not directly known.

The objective function is a “black box”.
Real-Life
Basic PSO
 Inspired from the nature social behavior and
dynamic movements with communications of
insects, birds and fish
 In 1986, Craig Reynolds (a biologist) studied the
flocking behavior of birds.
 He described this process in 3 simple behaviors:
Separation
avoid crowding local
flockmates
(neighbors)
Alignment
move towards the
average heading of
local flockmates
(neighbors)
Cohesion
move toward the
average position of
local flockmates
(neighbors)
 In 1990, Heppner and Grenander: research of bird
flocks searching for corn.
 In 1995, James Kennedy (a social psychologist) &
Russell Eberhart (an electrical engineer):
influenced by Heppner and Grenander’s work
developed a powerful optimization method Particle
Swarm Optimization (PSO).
 I believe there are many more researcher... :-)

Kennedy and Eberhart first introduce The
Particle Swarm Optimization (PSO) algorithm for
a solution to the complex non-linear optimization
problem by imitating the behavior of bird flocks.

The Particle Swarm Optimization (PSO)
algorithm is a multi-agent parallel search
technique which maintains a swarm of particles
and each particle represents a potential solution
in the swarm.
PSO Origins

All particles fly through a multidimensional
search space where each particle is adjusting its
position according to its own experience and that
of neighbors.
Basic Idea

Each particle adjusts its travelling
speed dynamically corresponding to
the flying experiences of itself and its
neighbors.
PSO Algorithm

Basically, there are two type of PSO algorithm:
– + Local Best (lbest) PSO.
– + Global Best (gbest)

They have been developed which differ in the
size of their neighborhoods.
PSO Algorithm
 The local best or personal best PSO (lbest/pbest
PSO) method only allows each particle to be
influenced by the best-fit particle chosen from
its neighborhood.
 The global best PSO (or gbest PSO) is a method
where the position of each particle is influenced
by the best-fit particle in the entire swarm.
Local vs Global

The larger particle interconnectivity of the
gbest PSO, sometimes it converges faster than
the lbest PSO.

Another is due to the larger diversity of the
lbest PSO, it is less susceptible to being
trapped in local minima.
Local vs Global
 Local best or personal best PSO (lbest/pbest
PSO) use ring social topology/structure.
 The global best PSO (or gbest PSO) use star
social network topology/structure.
ring social topology star social topology
Local vs Global
local
global
The PSO algorithm consists of just three steps :
1. Evaluate the fitness of each particle.
2. Update individual and global best fitnesses
and positions.
3. Update velocity and position of each particle.
which are repeated until some stopping condition
is met.
PSO Algorithm
PSO algorithm :
PSO Algorithm
………. Gbest PSO
………. Lbest PSO
PSO Algorithm

A uniform distribution (a rectangular
distribution), is a distribution where the
probability of occurrence is the same for all
values. It has constant probability.

For instance, if a die is thrown, then the
probability of obtaining any one of the six
possible outcomes is 1/6.
Uniform Distribution
Uniform Distribution
Geometrical Illustration
Geometrical Illustration
1. Number of particles usually between 20-60 or 10-
50.
2. C1 is the importance of personal best value.
3. C2 is the importance of neighborhood best value
Usually C1 + C2 = 4 or C1 = C2 = 2 (empirically chosen value). Wrong
initialization of C1 and C2 may result in divergent or cyclic behavior
4. If velocity is too low → algorithm too slow.
5. If velocity is too high → algorithm too unstable.
Charecteristic of PSO
●6. When C1,= C2 = 0 then all particles continue flying
at their current speed.
7.When C1 > 0 and C2 = 0 then all particles are
independent.
8. C2 > 0 and C1 = 0 then all particles are attracked
to single point (i.e Gbest).
9. When C1 = C2 then all particles attracked towards
the average Pbest and Gbest.
Charecteristic of PSO
●10. When C1 >> C2 each particle is more strongly
influenced by its Pbest position, resulting in excessive
wandering.
11.When C2 >> C1 and C2 = 0 then all particles are
much more influenced by the global best position,
which causes all particles to run prematurely to the
optima.
Charecteristic of PSO
Charecteristic of PSO
Inertia (memory) Personal influence Social influence
Diversification Intensification
+ Intensification:
explores the previous solutions, finds the best
solution of a given region
+ Diversification:
searches new solutions, finds the regions with
potentially the best solutions
Charecteristic of PSO
 Advantages
• Insensitive to scaling of design variables
• Simple implementation
• Easily parallelized for concurrent processing
• Derivative free
• Very few algorithm parameters
• Very efficient global search algorithm
 Disadvantages
• Tendency to a fast and premature convergence in mid
optimum points
• Slow convergence in refined search stage (weak local search
ability)
Charecteristic of PSO
 Please find the maxima/minima of the function:
– f(x)= -x2
+5x +20 ; -10 <= x <= 10
– Use 9 particles :
– X1
= -9,6 X2
= -6
– X3
= -2,6 X4
= -1,1
– X5
= 0,6 X6
= 2,3
– X7
= 2,8 X8
= 8,3 X9
= 10
–
Case study
Modified PSO
 Several approaches
• 2-D Otsu PSO
• Active Target PSO
• Adaptive PSO
• Adaptive Mutation PSO
• Adaptive PSO Guided by Acceleration Information
• Attractive Repulsive Particle Swarm Optimization
• Binary PSO
• Cooperative Multiple PSO
• Dynamic and Adjustable PSO
• Extended Particle Swarms
• …
Davoud Sedighizadeh and Ellips Masehian, “Particle Swarm Optimization Methods, Taxonomy and
Applications”. International Journal of Computer Theory and Engineering, Vol. 1, No. 5, December 2009
+ Particle Swarm Optimization (PSO) and Ant Colony
Optimization (ACO) are part of Swarm Intelligence
(SI).
+ Swarm intelligence (SI) is the collective behavior
of decentralized, self-organized systems, natural or
artificial.
Key Concepts
1. PSO algorithm basically learned from animal’s
activity or behavior to solve optimization problems.
2. Each member of the population is called a particle
and the population is called a swarm.
3. It does not require any gradient information of the
function to be optimized and uses only primitive
mathematical operators.
Key Concepts
4. PSO is well suited to solve the non-linear, non-convex,
continuous, discrete, integer variable type problems.
5. In PSO, each particle flies through the
multidimensional space and adjusts its position in every
step with its own experience and that of peers toward an
optimum solution by the entire swarm.
6. It doesn’t always work well, still has room for
improvement.
Key Concepts
Pso kota baru parahyangan 2017

More Related Content

What's hot

Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA) Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA)
A. Bilal Özcan
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
QasimRehman
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
adil raja
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Mahesh Tibrewal
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
Stelios Petrakis
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
Ahmed Fouad Ali
 
Bees algorithm
Bees algorithmBees algorithm
Bees algorithm
Amrit Kaur
 
Multi-Verse Optimizer
Multi-Verse OptimizerMulti-Verse Optimizer
Multi-Verse Optimizer
Amir Mehr
 
Pso introduction
Pso introductionPso introduction
Pso introduction
rutika12345
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
Velmurugan Sivaraman
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
Aboul Ella Hassanien
 
Evolutionary Computing - Genetic Algorithms - An Introduction
Evolutionary Computing - Genetic Algorithms - An IntroductionEvolutionary Computing - Genetic Algorithms - An Introduction
Evolutionary Computing - Genetic Algorithms - An Introduction
martinp
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
Hanya Mohammed
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
Pratik Poddar
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
Karthik Sankar
 
Introduction to Optimization.ppt
Introduction to Optimization.pptIntroduction to Optimization.ppt
Introduction to Optimization.ppt
MonarjayMalbog1
 
MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...
MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...
MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...
AZOJETE UNIMAID
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
Suman Chatterjee
 
PSO
PSOPSO
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated Annealing
Jason Larsen
 

What's hot (20)

Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA) Differential Evolution Algorithm (DEA)
Differential Evolution Algorithm (DEA)
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
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 optimization Particle swarm optimization
Particle swarm optimization
 
Bees algorithm
Bees algorithmBees algorithm
Bees algorithm
 
Multi-Verse Optimizer
Multi-Verse OptimizerMulti-Verse Optimizer
Multi-Verse Optimizer
 
Pso introduction
Pso introductionPso introduction
Pso introduction
 
Swarm intelligence
Swarm intelligenceSwarm intelligence
Swarm intelligence
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
 
Evolutionary Computing - Genetic Algorithms - An Introduction
Evolutionary Computing - Genetic Algorithms - An IntroductionEvolutionary Computing - Genetic Algorithms - An Introduction
Evolutionary Computing - Genetic Algorithms - An Introduction
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Introduction to Optimization.ppt
Introduction to Optimization.pptIntroduction to Optimization.ppt
Introduction to Optimization.ppt
 
MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...
MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...
MPPT-Based Control Algorithm for PV System Using iteration-PSO under Irregula...
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
PSO
PSOPSO
PSO
 
Simulated Annealing
Simulated AnnealingSimulated Annealing
Simulated Annealing
 

Similar to Pso kota baru parahyangan 2017

Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
satish561
 
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
Yi-Fan Liou
 
Soft computing
Soft computingSoft computing
Soft computing
rohith attaluri
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERMARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
ijsc
 
SI and PSO --Machine Learning
SI and PSO --Machine Learning SI and PSO --Machine Learning
SI and PSO --Machine Learning
Md. Shafiul Alam Sagor
 
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)
IJERD Editor
 
Pso notes
Pso notesPso notes
Pso notes
Darshan Sharma
 
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
Zubin Bhuyan
 
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer  Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
ijsc
 
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHMA REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
IAEME Publication
 
PSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptxPSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptx
JAYRAJSINGH85
 
PSO.ppsx
PSO.ppsxPSO.ppsx
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptxPSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
SubhamGupta106798
 
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ijcsit
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
pawansher2002
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
Xin-She Yang
 
soft computing BTU MCA 3rd SEM unit 1 .pptx
soft computing BTU MCA 3rd SEM unit 1 .pptxsoft computing BTU MCA 3rd SEM unit 1 .pptx
soft computing BTU MCA 3rd SEM unit 1 .pptx
naveen356604
 
11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx
abbas miry
 
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...
Distinguished Lecturer Series - Leon The Mathematician
 
Bic pso
Bic psoBic pso
Bic pso
sudipta2511
 

Similar to Pso kota baru parahyangan 2017 (20)

Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
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
 
Soft computing
Soft computingSoft computing
Soft computing
 
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZERMARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
MARKOV CHAIN AND ADAPTIVE PARAMETER SELECTION ON PARTICLE SWARM OPTIMIZER
 
SI and PSO --Machine Learning
SI and PSO --Machine Learning SI and PSO --Machine Learning
SI and PSO --Machine Learning
 
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)
 
Pso notes
Pso notesPso notes
Pso notes
 
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
 
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer  Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
Markov Chain and Adaptive Parameter Selection on Particle Swarm Optimizer
 
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHMA REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
A REVIEW OF PARTICLE SWARM OPTIMIZATION (PSO) ALGORITHM
 
PSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptxPSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptx
 
PSO.ppsx
PSO.ppsxPSO.ppsx
PSO.ppsx
 
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptxPSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
PSO__AndryPinto_InesDomingues_LuisRocha_HugoAlves_SusanaCruz.pptx
 
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
 
Bio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptxBio-inspired computing Algorithms.pptx
Bio-inspired computing Algorithms.pptx
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
soft computing BTU MCA 3rd SEM unit 1 .pptx
soft computing BTU MCA 3rd SEM unit 1 .pptxsoft computing BTU MCA 3rd SEM unit 1 .pptx
soft computing BTU MCA 3rd SEM unit 1 .pptx
 
11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx
 
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...
 
Bic pso
Bic psoBic pso
Bic pso
 

Recently uploaded

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
Steve Thomason
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
JomonJoseph58
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 

Recently uploaded (20)

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
A Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two HeartsA Visual Guide to 1 Samuel | A Tale of Two Hearts
A Visual Guide to 1 Samuel | A Tale of Two Hearts
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Stack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 MicroprocessorStack Memory Organization of 8086 Microprocessor
Stack Memory Organization of 8086 Microprocessor
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 

Pso kota baru parahyangan 2017

  • 1. Iwan Sofana (iwansofana@gmail.com) Kota Baru Parahyangan Bandung West Java Indonesia 2017
  • 2. •This slides adapted from many related slides, papers, & books. •Special thanks to:  James Kennedy & Russell Eberhart  Maurice Clerc  Riccardo Poli, Tim Blackwell, Andry Pinto, Hugo Alves  Inês Domingues, Luís Rocha, Susana Cruz  Jaco F. Schutte  Matthew Settles  Satyobroto Talukder  and many more
  • 3.  Optimization  Basic PSO  PSO Algorithm
  • 5. Optimization determines the best-suited solution to a problem under given circumstances.  Non Linear Optimization problems are generally very difficult to solve.  Linear/Non Linear problems are equivalent with Linear/Non Linear function. Optimization
  • 7.  Please find the maxima/minima of the following functions: – f(x)=x2 +2 – h(t)=3 + 14t − 5t2 – g(y)=5y3 + 2x2 − 3x  How do we know it is a minimum or maximum?  Clue: use derivatives & math tools. Case study
  • 11.  Base on problem charecteristics:  Unconstrained Optimization.  Constrained Optimization.  Dynamic Optimization. Optimization
  • 12. Many optimization problems place no restrictions on the values of that can be assigned to variables of the problem. Unconstrained Optimization
  • 13. The process of optimizing an objective function with respect to some variables in the presence of constraints on those variables. Constrained Optimization
  • 14. Many optimization problems have objective functions that change over time and such changes in objective function cause changes in the position of optima. Dynamic Optimization
  • 15. There are two types of optimization techniques.  Global optimization technique  Local optimization technique Optimization Techniques
  • 16. Global optimization technique seek to find a global minimum or lowest function value and its corresponding global minimizer  Global minimizer (X*) Global Opt. Technique
  • 17. Local optimization technique try to find a local minimum and its corresponding local minimizer  Local minimizer (XL *) Local Opt. Technique
  • 19.  For a known (differentiable) function f , calculus can fairly easily provide us with the minima and maxima of f .  However, in real-life optimization tasks, this objective function f is often not directly known.  The objective function is a “black box”. Real-Life
  • 21.  Inspired from the nature social behavior and dynamic movements with communications of insects, birds and fish
  • 22.  In 1986, Craig Reynolds (a biologist) studied the flocking behavior of birds.  He described this process in 3 simple behaviors: Separation avoid crowding local flockmates (neighbors) Alignment move towards the average heading of local flockmates (neighbors) Cohesion move toward the average position of local flockmates (neighbors)
  • 23.  In 1990, Heppner and Grenander: research of bird flocks searching for corn.  In 1995, James Kennedy (a social psychologist) & Russell Eberhart (an electrical engineer): influenced by Heppner and Grenander’s work developed a powerful optimization method Particle Swarm Optimization (PSO).  I believe there are many more researcher... :-)
  • 24.  Kennedy and Eberhart first introduce The Particle Swarm Optimization (PSO) algorithm for a solution to the complex non-linear optimization problem by imitating the behavior of bird flocks.  The Particle Swarm Optimization (PSO) algorithm is a multi-agent parallel search technique which maintains a swarm of particles and each particle represents a potential solution in the swarm. PSO Origins
  • 25.  All particles fly through a multidimensional search space where each particle is adjusting its position according to its own experience and that of neighbors. Basic Idea  Each particle adjusts its travelling speed dynamically corresponding to the flying experiences of itself and its neighbors.
  • 27.  Basically, there are two type of PSO algorithm: – + Local Best (lbest) PSO. – + Global Best (gbest)  They have been developed which differ in the size of their neighborhoods. PSO Algorithm
  • 28.  The local best or personal best PSO (lbest/pbest PSO) method only allows each particle to be influenced by the best-fit particle chosen from its neighborhood.  The global best PSO (or gbest PSO) is a method where the position of each particle is influenced by the best-fit particle in the entire swarm. Local vs Global
  • 29.  The larger particle interconnectivity of the gbest PSO, sometimes it converges faster than the lbest PSO.  Another is due to the larger diversity of the lbest PSO, it is less susceptible to being trapped in local minima. Local vs Global
  • 30.  Local best or personal best PSO (lbest/pbest PSO) use ring social topology/structure.  The global best PSO (or gbest PSO) use star social network topology/structure. ring social topology star social topology Local vs Global
  • 31. local
  • 33. The PSO algorithm consists of just three steps : 1. Evaluate the fitness of each particle. 2. Update individual and global best fitnesses and positions. 3. Update velocity and position of each particle. which are repeated until some stopping condition is met. PSO Algorithm
  • 34. PSO algorithm : PSO Algorithm ………. Gbest PSO ………. Lbest PSO
  • 36.  A uniform distribution (a rectangular distribution), is a distribution where the probability of occurrence is the same for all values. It has constant probability.  For instance, if a die is thrown, then the probability of obtaining any one of the six possible outcomes is 1/6. Uniform Distribution
  • 40. 1. Number of particles usually between 20-60 or 10- 50. 2. C1 is the importance of personal best value. 3. C2 is the importance of neighborhood best value Usually C1 + C2 = 4 or C1 = C2 = 2 (empirically chosen value). Wrong initialization of C1 and C2 may result in divergent or cyclic behavior 4. If velocity is too low → algorithm too slow. 5. If velocity is too high → algorithm too unstable. Charecteristic of PSO
  • 41. ●6. When C1,= C2 = 0 then all particles continue flying at their current speed. 7.When C1 > 0 and C2 = 0 then all particles are independent. 8. C2 > 0 and C1 = 0 then all particles are attracked to single point (i.e Gbest). 9. When C1 = C2 then all particles attracked towards the average Pbest and Gbest. Charecteristic of PSO
  • 42. ●10. When C1 >> C2 each particle is more strongly influenced by its Pbest position, resulting in excessive wandering. 11.When C2 >> C1 and C2 = 0 then all particles are much more influenced by the global best position, which causes all particles to run prematurely to the optima. Charecteristic of PSO
  • 43. Charecteristic of PSO Inertia (memory) Personal influence Social influence Diversification Intensification
  • 44. + Intensification: explores the previous solutions, finds the best solution of a given region + Diversification: searches new solutions, finds the regions with potentially the best solutions Charecteristic of PSO
  • 45.  Advantages • Insensitive to scaling of design variables • Simple implementation • Easily parallelized for concurrent processing • Derivative free • Very few algorithm parameters • Very efficient global search algorithm  Disadvantages • Tendency to a fast and premature convergence in mid optimum points • Slow convergence in refined search stage (weak local search ability) Charecteristic of PSO
  • 46.  Please find the maxima/minima of the function: – f(x)= -x2 +5x +20 ; -10 <= x <= 10 – Use 9 particles : – X1 = -9,6 X2 = -6 – X3 = -2,6 X4 = -1,1 – X5 = 0,6 X6 = 2,3 – X7 = 2,8 X8 = 8,3 X9 = 10 – Case study
  • 48.  Several approaches • 2-D Otsu PSO • Active Target PSO • Adaptive PSO • Adaptive Mutation PSO • Adaptive PSO Guided by Acceleration Information • Attractive Repulsive Particle Swarm Optimization • Binary PSO • Cooperative Multiple PSO • Dynamic and Adjustable PSO • Extended Particle Swarms • … Davoud Sedighizadeh and Ellips Masehian, “Particle Swarm Optimization Methods, Taxonomy and Applications”. International Journal of Computer Theory and Engineering, Vol. 1, No. 5, December 2009
  • 49. + Particle Swarm Optimization (PSO) and Ant Colony Optimization (ACO) are part of Swarm Intelligence (SI). + Swarm intelligence (SI) is the collective behavior of decentralized, self-organized systems, natural or artificial. Key Concepts
  • 50. 1. PSO algorithm basically learned from animal’s activity or behavior to solve optimization problems. 2. Each member of the population is called a particle and the population is called a swarm. 3. It does not require any gradient information of the function to be optimized and uses only primitive mathematical operators. Key Concepts
  • 51. 4. PSO is well suited to solve the non-linear, non-convex, continuous, discrete, integer variable type problems. 5. In PSO, each particle flies through the multidimensional space and adjusts its position in every step with its own experience and that of peers toward an optimum solution by the entire swarm. 6. It doesn’t always work well, still has room for improvement. Key Concepts