SlideShare a Scribd company logo
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Artificial Bee Colony Algorithm
By:
Dr. Harish Sharma
Associate Professor
Department of Computer Engineering
Rajasthan Technical University, Kota
Email: hsharma@rtu.ac.in
Mob. No. 9461174365
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Nature-Inspired Algorithms
Swarm Intelligence
Nature-Inspired Algorithms I
Nature-Inspired Algorithms can be defined as population based stochastic
metaheuristic which imitate some natural phenomenon to find an optimum
solution of a problem.
The main idea of these algorithms is: individuals updates itself using:
1 The knowledge of the environment (its fitness value)
2 The individual’s previous history of states (its memory)
3 The previous history of states of the individual’s neighborhood
Often real world provides some complex optimization problems that can not be
easily dealt with available mathematical optimization methods. If the user is not
very conscious about the exact solution of the problem in hand then
nature-inspired algorithms may be used to solve these kind of problems.
Introduction
When We Use NIAs ??
If any deterministic method is available for the optimization problems, we do not
need to switch for NIAs.
But sometime complex optimization problems can not be easily deal with
available mathematical optimization methods.
So when the user is not very conscious about the exact solution of the problem
in hand, then nature-inspired algorithms may be used to solve these kind of
problems.
Introduction
Why We Use NIAs ??
Applicable to wider set of problems i.e. mathematical formation of function is not
required.
Use the stochastic or probabilistic approach i.e. random approach.
Gives near optimal solution to these problems.
Works on the basis of fitness evaluation.
Introduction
Optimization
An art of selecting the best alternative(s) amongst a given set of options or finding the
values of the variable that maximize or minimize the objective function while satisfying the
constraints.
F(X) = X2
1 + X2
2
Main components of an optimization problem
F(X) = Objective Function
X1 and X2 = Decision Variables
limit = −5 ≤ X1, X2 ≤ 5
Dimensions = 2
The main objective is to find the values of X1 and X2 Such that objective function F(X)
should be minimized.
Introduction
Local and Global Minima
Figure: Local and Global Minima
Introduction
Randomly initialization of Solutions
Figure: Randomly initialization of solutions in search space
Introduction
Representation of solutions in the search space
Figure: Solutions in the search space
Introduction
Convergence of solutions
Figure: Convergence of solutions towards global minima
Introduction
Some Basic Terminologies in NIA I
Exploration
Exploration is the process of visiting entirely new regions of a search space.
Exploitation
Exploitation is the process of visiting those regions of a search space within the neighborhood of
previously visited points.
Stagnation
Stagnation refers to a situation in which the optimum seeking process stagnates before finding a
globally optimal solution.
Premature Convergence
A population for an optimization problem converged too early, resulting in being suboptimal.
Introduction
Some Basic Terminologies in NIA
Stochastic Nature
Intelligence + Randomness + Previous Experience
Heuristic and Meta-heuristics
Heuristics are problem-dependent techniques and Meta-heuristics problem-independent
techniques.
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Nature-Inspired Algorithms
Swarm Intelligence
Nature-Inspired Algorithms
Important Classes ofPopulationbased
StochasticOptimizationAlgorithms
Evolutionary
Algorithms
Swarm-Intelligence
based Algorithms
Evolutionary algorithm (EA).
Swarm Intelligence: The definition given by Bonabeau is
Any attempt to design algorithms or distributed problem-solving devices inspired by the
collective behaviour of social insect colonies and other animal societies
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Bee Behaviour
Dance
Artificial Bee Colony algorithm (ABC), introduced by D.
Karaboga in 2005, is a swarm-intelligence based optimization
algorithm.
The minimal model of forage selection that leads to the
emergence of collective intelligence of honey bee swarms
consists of three essential components:
1 Food sources,
2 Employed foragers
3 Unemployed foragers
i Scouts
ii Onlookers
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Bee Behaviour
Dance
(a) (b) (c)
Food Sources: The value of a food source depends on its proximity to the nest, its richness,
and the ease of extracting nectar.
Employed foragers: They are associated with a particular food source which they are
currently exploiting or are “employed at. They carry with them information about this
particular source, its distance and direction from the nest and share this information with a
certain probability.
Unemployed foragers: They are continually at look out for a food source to exploit. There
are two types of unemployed foragers:
1 Scouts: searching the environment surrounding the nest for new food sources and
2 Onlookers: waiting in the nest and establishing a food source through the information shared by
employed foragers
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Bee Behaviour
Dance
After unloading the nectar, the forager bee which has found a rich source performs
special movements called dance on the area of the comb in order to share her
information about the food source such as how plentiful it is, its direction and distance
and recruits the other bees for exploiting that rich source.
While dancing, other bees touch her with their antenna and learn the scent and the
taste of the source she is exploiting. She dances on different areas of the comb in
order to recruit more bees and goes on to collect nectar from her source.
1 Round dance: If the distance of the source to the hive is less than 100 meters.
Round dance does not give direction information.
2 waggle dance: When the source is far away. In case of waggle dance, direction
of the source according to the sun is transferred to other bees. Longer distances
cause quicker dances.
3 Tremble dance: When the foraging bee perceives a long delay in unloading its
nectar.
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Bee Behaviour
Dance
Social behaviour of Honey Bees
Figure: Social behaviour of Honey Bees
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
Basic Step of position update of an individual
Position updated procedure is an important and crucial part of the nature inspired algorithms as it is
the step where members learn from society and update itself accordingly.
New Position = Persistence + Social Influence
The social learning/Social Influence of ABC is based on difference vectors i.e. variation component.
The generalized position updated equation of the algorithms is as follows:
xnext = xcurrent + B ×
Variation Component
z }| {
(x1 − x2)
| {z }
Step size
.
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
ABC I
Initialization of the population
Each food source is generated as follows:.
xij = xminj + rand[0, 1](xmaxj − xminj ) (1)
where xminj and xmaxj are bounds of xi in jth direction and rand[0, 1] is a uniformly
distributed random number in the range [0, 1].
Employed bee phase
The position update equation for ith candidate in this phase is
vij = xij + φij (xij − xkj ) (2)
where k ∈ {1, 2, ..., SN} and j ∈ {1, 2, ..., D} are randomly chosen indices. k must be
different from i. φij is a random number between [-1, 1].
Slide 10/ 17
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
ABC II
(a)
x1
x2
xij
vij
vij
'
vij
'
'
vij
'
'
'
(b)
Figure: (a) Illustrating a simple position update equation execution,
(b) Different possible new vectors formed in neighborhood of xij due
to position update equation in 2-D search space.
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Engineering Optimization Problems
ABC III
Onlooker bees phase
The probability pi may be calculated using following expression:
pi =
fiti
PSN
i=1 fiti
(3)
where fiti is the fitness value of the solution i.
Scout bees phase
If the position of a food source is not updated up to predetermined number of cycles,
then the food source is assumed to be abandoned and scout bees phase starts.
Harish Sharma
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Artificial Bee Colony Algorithm
Initialize the population of solutions, xi (i = 1, 2, ...; SN);
cycle = 1;
while cycle <> MCN do
Produce new solutions vi for the employed bees and evaluate them;
Apply the greedy selection process for the employed bees;
Calculate the probability values pi for the solutions xi ;
Produce the new solutions vi for the onlookers from the solutions xi selected
depending on pi and evaluate them;
Apply the greedy selection process for the onlookers;
Determine the abandoned solution for the scout, if exists, and replace it with a
new randomly produced solution xi ;
Memorize the best solution achieved so far;
cycle = cycle + 1;
end while
ABC Step by Step Example
Practical Assignement:1
Practical Assignement:2
Practical Assignement:3
Parameter Range
Introduction
Behaviour of Honey Bee Swarm
Position update process in NIAs
Artificial Bee Colony (ABC) algorithm
Thank You
Dr. Harish Sharma

More Related Content

Similar to ABC.pdf

ACO, Firefly, Modified Firefly, BAT, ABC algorithms
ACO, Firefly, Modified Firefly, BAT, ABC algorithmsACO, Firefly, Modified Firefly, BAT, ABC algorithms
ACO, Firefly, Modified Firefly, BAT, ABC algorithms
Velalar College of Engineering and Technology
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithm
Ahmed Fouad Ali
 
Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...
Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...
Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...
IJMER
 
Comparative analysis of abc and ics
Comparative analysis of abc and icsComparative analysis of abc and ics
Comparative analysis of abc and ics
Biswajit Panday
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testing
Francisco de Melo Jr
 
A Modified Bee Colony Optimization Algorithm for Nurse Rostering Problem
A Modified Bee Colony Optimization Algorithm for Nurse Rostering ProblemA Modified Bee Colony Optimization Algorithm for Nurse Rostering Problem
A Modified Bee Colony Optimization Algorithm for Nurse Rostering Problem
AM Publications
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
Ahmed Fouad Ali
 
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTICTWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
cscpconf
 
Solving np hard problem artificial bee colony algorithm
Solving np hard problem  artificial bee colony algorithmSolving np hard problem  artificial bee colony algorithm
Solving np hard problem artificial bee colony algorithm
IAEME Publication
 
Solving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithmSolving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithm
IAEME Publication
 
Solving np hard problem artificial bee colony algorithm
Solving np hard problem  artificial bee colony algorithmSolving np hard problem  artificial bee colony algorithm
Solving np hard problem artificial bee colony algorithm
IAEME Publication
 
Solving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithmSolving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithm
IAEME Publication
 
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
csandit
 
Cuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsCuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly Algorithms
Mustafa Salam
 
Optimal k-means clustering using artificial bee colony algorithm with variab...
Optimal k-means clustering using artificial bee colony  algorithm with variab...Optimal k-means clustering using artificial bee colony  algorithm with variab...
Optimal k-means clustering using artificial bee colony algorithm with variab...
IJECEIAES
 
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
cscpconf
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
inventionjournals
 
PSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptxPSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptx
JAYRAJSINGH85
 
Volume 14 issue 03 march 2014_ijcsms_march14_10_14_rahul
Volume 14  issue 03  march 2014_ijcsms_march14_10_14_rahulVolume 14  issue 03  march 2014_ijcsms_march14_10_14_rahul
Volume 14 issue 03 march 2014_ijcsms_march14_10_14_rahul
Deepak Agarwal
 
ABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSPABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSP
gauravon
 

Similar to ABC.pdf (20)

ACO, Firefly, Modified Firefly, BAT, ABC algorithms
ACO, Firefly, Modified Firefly, BAT, ABC algorithmsACO, Firefly, Modified Firefly, BAT, ABC algorithms
ACO, Firefly, Modified Firefly, BAT, ABC algorithms
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithm
 
Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...
Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...
Optimal Motion Planning For a Robot Arm by Using Artificial Bee Colony (ABC) ...
 
Comparative analysis of abc and ics
Comparative analysis of abc and icsComparative analysis of abc and ics
Comparative analysis of abc and ics
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testing
 
A Modified Bee Colony Optimization Algorithm for Nurse Rostering Problem
A Modified Bee Colony Optimization Algorithm for Nurse Rostering ProblemA Modified Bee Colony Optimization Algorithm for Nurse Rostering Problem
A Modified Bee Colony Optimization Algorithm for Nurse Rostering Problem
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTICTWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
 
Solving np hard problem artificial bee colony algorithm
Solving np hard problem  artificial bee colony algorithmSolving np hard problem  artificial bee colony algorithm
Solving np hard problem artificial bee colony algorithm
 
Solving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithmSolving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithm
 
Solving np hard problem artificial bee colony algorithm
Solving np hard problem  artificial bee colony algorithmSolving np hard problem  artificial bee colony algorithm
Solving np hard problem artificial bee colony algorithm
 
Solving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithmSolving np hard problem using artificial bee colony algorithm
Solving np hard problem using artificial bee colony algorithm
 
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
 
Cuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsCuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly Algorithms
 
Optimal k-means clustering using artificial bee colony algorithm with variab...
Optimal k-means clustering using artificial bee colony  algorithm with variab...Optimal k-means clustering using artificial bee colony  algorithm with variab...
Optimal k-means clustering using artificial bee colony algorithm with variab...
 
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
COMPARISON BETWEEN ARTIFICIAL BEE COLONY ALGORITHM, SHUFFLED FROG LEAPING ALG...
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
PSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptxPSO-ACO-Presentation.pptx
PSO-ACO-Presentation.pptx
 
Volume 14 issue 03 march 2014_ijcsms_march14_10_14_rahul
Volume 14  issue 03  march 2014_ijcsms_march14_10_14_rahulVolume 14  issue 03  march 2014_ijcsms_march14_10_14_rahul
Volume 14 issue 03 march 2014_ijcsms_march14_10_14_rahul
 
ABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSPABC-GSX:Hybrid method to solve TSP
ABC-GSX:Hybrid method to solve TSP
 

Recently uploaded

NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
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
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
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
 
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
 

Recently uploaded (20)

NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
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
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
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
 
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
 

ABC.pdf

  • 1. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Artificial Bee Colony Algorithm By: Dr. Harish Sharma Associate Professor Department of Computer Engineering Rajasthan Technical University, Kota Email: hsharma@rtu.ac.in Mob. No. 9461174365
  • 2. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Nature-Inspired Algorithms Swarm Intelligence Nature-Inspired Algorithms I Nature-Inspired Algorithms can be defined as population based stochastic metaheuristic which imitate some natural phenomenon to find an optimum solution of a problem. The main idea of these algorithms is: individuals updates itself using: 1 The knowledge of the environment (its fitness value) 2 The individual’s previous history of states (its memory) 3 The previous history of states of the individual’s neighborhood Often real world provides some complex optimization problems that can not be easily dealt with available mathematical optimization methods. If the user is not very conscious about the exact solution of the problem in hand then nature-inspired algorithms may be used to solve these kind of problems.
  • 3. Introduction When We Use NIAs ?? If any deterministic method is available for the optimization problems, we do not need to switch for NIAs. But sometime complex optimization problems can not be easily deal with available mathematical optimization methods. So when the user is not very conscious about the exact solution of the problem in hand, then nature-inspired algorithms may be used to solve these kind of problems.
  • 4. Introduction Why We Use NIAs ?? Applicable to wider set of problems i.e. mathematical formation of function is not required. Use the stochastic or probabilistic approach i.e. random approach. Gives near optimal solution to these problems. Works on the basis of fitness evaluation.
  • 5. Introduction Optimization An art of selecting the best alternative(s) amongst a given set of options or finding the values of the variable that maximize or minimize the objective function while satisfying the constraints. F(X) = X2 1 + X2 2 Main components of an optimization problem F(X) = Objective Function X1 and X2 = Decision Variables limit = −5 ≤ X1, X2 ≤ 5 Dimensions = 2 The main objective is to find the values of X1 and X2 Such that objective function F(X) should be minimized.
  • 6. Introduction Local and Global Minima Figure: Local and Global Minima
  • 7. Introduction Randomly initialization of Solutions Figure: Randomly initialization of solutions in search space
  • 8. Introduction Representation of solutions in the search space Figure: Solutions in the search space
  • 9. Introduction Convergence of solutions Figure: Convergence of solutions towards global minima
  • 10. Introduction Some Basic Terminologies in NIA I Exploration Exploration is the process of visiting entirely new regions of a search space. Exploitation Exploitation is the process of visiting those regions of a search space within the neighborhood of previously visited points. Stagnation Stagnation refers to a situation in which the optimum seeking process stagnates before finding a globally optimal solution. Premature Convergence A population for an optimization problem converged too early, resulting in being suboptimal.
  • 11. Introduction Some Basic Terminologies in NIA Stochastic Nature Intelligence + Randomness + Previous Experience Heuristic and Meta-heuristics Heuristics are problem-dependent techniques and Meta-heuristics problem-independent techniques.
  • 12. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Nature-Inspired Algorithms Swarm Intelligence Nature-Inspired Algorithms Important Classes ofPopulationbased StochasticOptimizationAlgorithms Evolutionary Algorithms Swarm-Intelligence based Algorithms Evolutionary algorithm (EA). Swarm Intelligence: The definition given by Bonabeau is Any attempt to design algorithms or distributed problem-solving devices inspired by the collective behaviour of social insect colonies and other animal societies
  • 13. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Bee Behaviour Dance Artificial Bee Colony algorithm (ABC), introduced by D. Karaboga in 2005, is a swarm-intelligence based optimization algorithm. The minimal model of forage selection that leads to the emergence of collective intelligence of honey bee swarms consists of three essential components: 1 Food sources, 2 Employed foragers 3 Unemployed foragers i Scouts ii Onlookers
  • 14. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Bee Behaviour Dance (a) (b) (c) Food Sources: The value of a food source depends on its proximity to the nest, its richness, and the ease of extracting nectar. Employed foragers: They are associated with a particular food source which they are currently exploiting or are “employed at. They carry with them information about this particular source, its distance and direction from the nest and share this information with a certain probability. Unemployed foragers: They are continually at look out for a food source to exploit. There are two types of unemployed foragers: 1 Scouts: searching the environment surrounding the nest for new food sources and 2 Onlookers: waiting in the nest and establishing a food source through the information shared by employed foragers
  • 15. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Bee Behaviour Dance After unloading the nectar, the forager bee which has found a rich source performs special movements called dance on the area of the comb in order to share her information about the food source such as how plentiful it is, its direction and distance and recruits the other bees for exploiting that rich source. While dancing, other bees touch her with their antenna and learn the scent and the taste of the source she is exploiting. She dances on different areas of the comb in order to recruit more bees and goes on to collect nectar from her source. 1 Round dance: If the distance of the source to the hive is less than 100 meters. Round dance does not give direction information. 2 waggle dance: When the source is far away. In case of waggle dance, direction of the source according to the sun is transferred to other bees. Longer distances cause quicker dances. 3 Tremble dance: When the foraging bee perceives a long delay in unloading its nectar.
  • 16. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Bee Behaviour Dance Social behaviour of Honey Bees Figure: Social behaviour of Honey Bees
  • 17. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems Basic Step of position update of an individual Position updated procedure is an important and crucial part of the nature inspired algorithms as it is the step where members learn from society and update itself accordingly. New Position = Persistence + Social Influence The social learning/Social Influence of ABC is based on difference vectors i.e. variation component. The generalized position updated equation of the algorithms is as follows: xnext = xcurrent + B × Variation Component z }| { (x1 − x2) | {z } Step size .
  • 18. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems ABC I Initialization of the population Each food source is generated as follows:. xij = xminj + rand[0, 1](xmaxj − xminj ) (1) where xminj and xmaxj are bounds of xi in jth direction and rand[0, 1] is a uniformly distributed random number in the range [0, 1]. Employed bee phase The position update equation for ith candidate in this phase is vij = xij + φij (xij − xkj ) (2) where k ∈ {1, 2, ..., SN} and j ∈ {1, 2, ..., D} are randomly chosen indices. k must be different from i. φij is a random number between [-1, 1]. Slide 10/ 17
  • 19. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems ABC II (a) x1 x2 xij vij vij ' vij ' ' vij ' ' ' (b) Figure: (a) Illustrating a simple position update equation execution, (b) Different possible new vectors formed in neighborhood of xij due to position update equation in 2-D search space.
  • 20. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Engineering Optimization Problems ABC III Onlooker bees phase The probability pi may be calculated using following expression: pi = fiti PSN i=1 fiti (3) where fiti is the fitness value of the solution i. Scout bees phase If the position of a food source is not updated up to predetermined number of cycles, then the food source is assumed to be abandoned and scout bees phase starts. Harish Sharma
  • 21. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Artificial Bee Colony Algorithm Initialize the population of solutions, xi (i = 1, 2, ...; SN); cycle = 1; while cycle <> MCN do Produce new solutions vi for the employed bees and evaluate them; Apply the greedy selection process for the employed bees; Calculate the probability values pi for the solutions xi ; Produce the new solutions vi for the onlookers from the solutions xi selected depending on pi and evaluate them; Apply the greedy selection process for the onlookers; Determine the abandoned solution for the scout, if exists, and replace it with a new randomly produced solution xi ; Memorize the best solution achieved so far; cycle = cycle + 1; end while ABC Step by Step Example
  • 25. Introduction Behaviour of Honey Bee Swarm Position update process in NIAs Artificial Bee Colony (ABC) algorithm Thank You Dr. Harish Sharma