SlideShare une entreprise Scribd logo
1  sur  52
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization Ahmed Fouad Ali
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationStelios Petrakis
 
Pso introduction
Pso introductionPso introduction
Pso introductionrutika12345
 
Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeRajorshi Mukherjee
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationAbhishek Agrawal
 
Optimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping AlgorithmOptimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping AlgorithmUday Wankar
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisXin-She Yang
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationQasimRehman
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationanurag singh
 
Particle Swarm Optimization.pptx
Particle Swarm Optimization.pptxParticle Swarm Optimization.pptx
Particle Swarm Optimization.pptxNatiTilahun1
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
Bat algorithm and applications
Bat algorithm and applicationsBat algorithm and applications
Bat algorithm and applicationsMd.Al-imran Roton
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 

Tendances (20)

Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Pso introduction
Pso introductionPso introduction
Pso introduction
 
Particle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi MukherjeeParticle Swarm Optimization by Rajorshi Mukherjee
Particle Swarm Optimization by Rajorshi Mukherjee
 
Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)Practical Swarm Optimization (PSO)
Practical Swarm Optimization (PSO)
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Optimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping AlgorithmOptimization Shuffled Frog Leaping Algorithm
Optimization Shuffled Frog Leaping Algorithm
 
Metaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical AnalysisMetaheuristic Algorithms: A Critical Analysis
Metaheuristic Algorithms: A Critical Analysis
 
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.pptx
Particle Swarm Optimization.pptxParticle Swarm Optimization.pptx
Particle Swarm Optimization.pptx
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
BAT Algorithm
BAT AlgorithmBAT Algorithm
BAT Algorithm
 
Bat algorithm and applications
Bat algorithm and applicationsBat algorithm and applications
Bat algorithm and applications
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
PSO
PSOPSO
PSO
 
PSO.ppt
PSO.pptPSO.ppt
PSO.ppt
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 

Similaire à Pso kota baru parahyangan 2017

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
 
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 OPTIMIZERijsc
 
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
 
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 spacesZubin 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) ALGORITHMIAEME Publication
 
PSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptxPSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptxJAYRAJSINGH85
 
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.pptxpawansher2002
 
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 .pptxnaveen356604
 
11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptx11-Optimization algorithm with swarm.pptx
11-Optimization algorithm with swarm.pptxabbas miry
 
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...ijaia
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testingFrancisco de Melo Jr
 
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-SpacesZubin Bhuyan
 

Similaire à Pso kota baru parahyangan 2017 (20)

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
 
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
 
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
 
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...
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testing
 
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
 

Dernier

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
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.docxRamakrishna Reddy Bijjam
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
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 POSCeline George
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
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_.pdfSherif Taha
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
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Ữ Â...Nguyen Thanh Tu Collection
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Dernier (20)

PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
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
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
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Ữ Â...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

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