SlideShare a Scribd company logo
1 of 25
Download to read offline
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

Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithmAhmed 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 icsBiswajit Panday
 
Metaheuristics for software testing
Metaheuristics for software testingMetaheuristics for software testing
Metaheuristics for software testingFrancisco 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 ProblemAM Publications
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithmAhmed 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 METAHEURISTICcscpconf
 
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 algorithmIAEME 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 algorithmIAEME 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 algorithmIAEME 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 algorithmIAEME 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 AlgorithmsMustafa 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.pptxJAYRAJSINGH85
 
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_rahulDeepak 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 TSPgauravon
 

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 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
 
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

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

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