SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Company
LOGO
Scientific Research Group in Egypt (SRGE)
Swarm Intelligence (4)
Artificial Bee Colony (ABC)
Dr. Ahmed Fouad Ali
Suez Canal University,
Dept. of Computer Science, Faculty of Computers and informatics
Member of the Scientific Research Group in Egypt
Company
LOGO Scientific Research Group in Egypt
www.egyptscience.net
Company
LOGO Meta-heuristics techniques
Company
LOGO Outline
1. Artificial Bee Colony(ABC)(History and main idea)
4. Advantage and disadvantage
3. ABC control parameters
5. Example
2. Artificial Bee Colony(ABC ) Algorithm
6. References
Company
LOGO Artificial Bee Colony (ABC) (History)
• Artificial Bee Colony (ABC) is one
of the most recently defined
algorithms by Dervis Karaboga in
2005, motivated by the intelligent
behavior of honey bees.
•Since 2005, D. Karaboga and his
research group have studied on ABC
algorithm and its applications to real
world-problems.
Company
LOGO Artificial Bee Colony (ABC) (Main idea)
• The ABC algorithm is a swarm
based meta-heuristics algorithm.
•It based on the foraging behavior of
honey bee colonies.
•The artificial bee colony contains
three groups:
Scouts
Onlookers
Employed bees
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
•The ABC generates a randomly
distributed initial population of SN
solutions (food source positions), where
SN denotes the size of population.
•Each solution xi (i = 1, 2, ..., SN) is a D-
dimensional vector.
•After initialization, the population
of the positions (solutions) is subjected
to repeated cycles, C = 1, 2, ...,MCN, of
the search processes of the employed
bees, the onlooker bees and scout bees.
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
•An employed bee produces a
modification on the position (solution)
in her memory depending on the nectar
amount (fitness value) of the new
source (new solution).
•Provided that the nectar amount of the
new one is higher than that of the
previous one, the bee memorizes the
new position and forgets the old one.
•After all employed bees complete the
search process, they share the nectar
information of the food sources and
their position information with the
onlooker bees on the dance area.
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
•An onlooker bee evaluates the nectar
information taken from all employed
bees and chooses a food source with a
probability related to its nectar amount.
•As in the case of the employed bee, it
produces a modification on the position
in its memory and checks the nectar
amount of the candidate source.
•Providing that its nectar is higher than
that of the previous one, the bee
memorizes the new position and forgets
the old one.
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
•An artificial onlooker bee chooses a
food source depending on the
probability value associated with that
food source, pi ,
fiti is the fitness value of the
solution i
SN is the number of food
sources which is equal to the
number of employed bees (BN).
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
•In order to produce a candidate food
position from the old one in memory,
the ABC uses the following expression
where k ∈ {1, 2,..., SN} and j ∈ {1, 2,...,D}
are randomly chosen indexes.
k is determined randomly, it has to be
different from i.
φi,j is a random number between [-1, 1].
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
•The food source of which the nectar
is abandoned by the bees is replaced
with a new food source by the scouts.
•In ABC, providing that a position can
not be improved further through a
predetermined number of cycles,
which is called “limit” then that food
source is assumed to be abandoned.
Company
LOGO Artificial Bee Colony(ABC ) Algorithm
Company
LOGO ABC control parameters
•Swarm size
•Employed bees(50% of swarm)
•Onlookers(50% of swarm)
•Scouts(1)
•Limit
•Dimension
Company
LOGO Advantage and disadvantage
Advantages
Few control parameters
Fast convergence
Both exploration & exploitation
Disadvantages
Search space limited by initial
solution (normal distribution
sample should use in initialize
step)
Company
LOGO Example
•Consider the optimization problem as follows:
Minimize f (x) = x2
1 + x2
2 -5≤x1,x2≤5
Control Parameters of ABC Algorithm are set as:
Colony size, CS = 6
Limit for scout, L = (CS*D)/2 = 6
Dimension of the problem, D = 2
Company
LOGO Example
First, we initialize the positions of 3 food sources (CS/2) of
employed bees, randomly using uniform distribution in the
range (-5, 5).
x = 1.4112 -2.5644
0.4756 1.4338
-0.1824 -1.0323
f(x) values are: 8.5678
2.2820
1.0990
Company
LOGO Example
Initial fitness vector is:
0.1045
0.3047
0.4764
Company
LOGO Example
Maximum fitness value is 0.4764, the quality of the best food
source.
Cycle=1
Employed bees phase
•1st employed bee
with this formula, produce a new solution.
k=1 k is a random selected index.
j=0 j is a random selected index.
Company
LOGO Example
Φ = 0.8050 Φ is randomly produced number in the range
[-1, 1].
υ0= 2.1644 -2.5644
Calculate f(υ0) and the fitness of υ0.
f(υ0) = 11.2610 and the fitness value is 0.0816.
Apply greedy selection between x0 and υ0
0.0816 < 0.1045, the solution 0 couldn’t be improved, increase
its trial counter.
Company
LOGO Example
2nd employed bee
with this formula produce a new solution.
k=2 k is a random selected solution in the neighborhood of i.
j=1 j is a random selected dimension of the problem.
Φ = 0.0762 Φ is randomly produced number in the range
[-1, 1].
υ1= 0.4756 1.6217
Calculate f(υ1) and the fitness of υ1.
f(υ1) = 2.8560 and the fitness value is 0.2593.
Apply greedy selection between x1 and υ1
0.2593 < 0.3047, the solution 1 couldn’t be improved, increase
its trial counter.
Company
LOGO Example
3rd employed bee
with this formula produce a new solution.
k=0 //k is a random selected solution in the neighborhood
of i.
j=0 //j is a random selected dimension of the problem.
Φ = -0.0671 // Φ is randomly produced number in the range
[-1, 1].
υ2= -0.0754 -1.0323
Calculate f(υ2) and the fitness of υ2.
f(υ2) = 1.0714 and the fitness value is 0.4828.
Apply greedy selection between x2 and υ2.
0.4828 > 0.4764, the solution 2 was improved, set its trial
counter as 0 and replace the solution x2 with υ2.
Company
LOGO Example
x =
1.4112 -2.5644
0.4756 1.4338
-0.0754 -1.0323
f(x) values are;
8.5678
2.2820
1.0714
fitness vector is:
0.1045
0.3047
0.4828
Company
LOGO Example
Calculate the probability values p for the solutions x by
means of their fitness values by using the formula;
p = 0.1172
0.3416
0.5412
Company
LOGO Example
Onlooker bees phase
Produce new solutions υi for the onlookers from the
solutions xi selected
depending on pi and evaluate them.
1st onlooker bee
i=2
υ2= -0.0754 -2.2520
Calculate f(υ2) and the fitness of υ2.
f(υ2) = 5.0772 and the fitness value is 0.1645.
Apply greedy selection between x2 and υ2
0.1645 < 0.4828, the solution 2 couldn’t be improved, increase
its trial counter.
Company
LOGO Example
2nd onlooker bee
i=1
υ1= 0.1722 1.4338
Calculate f(υ1) and the fitness of υ1.
f(υ1) = 2.0855 and the fitness value is 0.3241.
Apply greedy selection between x1 and υ1
0.3241 > 0.3047, the solution 1 was improved, set its trial
counter as 0 and replace the solution x1 with υ1.
Company
LOGO Example
x =
1.4112 -2.5644
0.1722 1.4338
-0.0754 -1.0323
f(x) values are
8.5678
2.0855
1.0714
fitness vector is:
0.1045
0.3241
0.4828
Company
LOGO Example
3rd onlooker bee
i=2
υ2= 0.0348 -1.0323
Calculate f(υ2) and the fitness of υ2.
f(υ2) = 1.0669 and the fitness value is 0.4838.
Apply greedy selection between x2 and υ2
0.4838 > 0.4828, the solution 2 was improved, set its trial
counter as 0 and replace the solution x2 with υ2.
Company
LOGO Example
x =
1.4112 -2.5644
0.1722 1.4338
0.0348 -1.0323
f(x) values are
8.5678
2.0855
1.0669
fitness vector is:
0.1045
0.3241
0.4838
Company
LOGO Example
Memorize best
Best = 0.0348 -1.0323
Scout bee phase
Trial Counter =
1
0
0
There is no abandoned solution since L = 6
If there is an abandoned solution (the solution of which the
trial counter value is higher than L = 6);
Generate a new solution randomly to replace with the
abandoned one.
Cycle = Cycle+1
The procedure is continued until the termination criterion is
attained.
Company
LOGO References
D. Karaboga and B. Basturk, “Artificial Bee Colony (ABC)
Optimization Algorithm for Solving Constrained
Optimization Problems”, IFSA 2007, LNAI 4529, pp. 789–
798, 2007. Springer-Verlag Berlin Heidelberg 2007
Company
LOGO
Thank you
http://www.egyptscience.net
Ahmed_fouad@ci.suez.edu.eg

Weitere ähnliche Inhalte

Was ist angesagt?

Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACOMohamed Talaat
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationJoy Dutta
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSOMohamed Talaat
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationStelios Petrakis
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimizationmidhulavijayan
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization Ahmed Fouad Ali
 
Bee algorithm
Bee algorithmBee algorithm
Bee algorithmkousick
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applicationsadil raja
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceSahil Kumar
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationSuman Chatterjee
 

Was ist angesagt? (20)

Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Ant Colony Optimization - ACO
Ant Colony Optimization - ACOAnt Colony Optimization - ACO
Ant Colony Optimization - ACO
 
Swarm intelligence algorithms
Swarm intelligence algorithmsSwarm intelligence algorithms
Swarm intelligence algorithms
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Bee algorithm
Bee algorithmBee algorithm
Bee algorithm
 
Particle Swarm Optimization - PSO
Particle Swarm Optimization - PSOParticle Swarm Optimization - PSO
Particle Swarm Optimization - PSO
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
bat algorithm
bat algorithmbat algorithm
bat algorithm
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Bee algorithm
Bee algorithmBee algorithm
Bee algorithm
 
Tabu search
Tabu searchTabu search
Tabu search
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
Genetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial IntelligenceGenetic Algorithms - Artificial Intelligence
Genetic Algorithms - Artificial Intelligence
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 

Andere mochten auch

Networks community detection using artificial bee colony swarm optimization
Networks community detection using artificial bee colony swarm optimizationNetworks community detection using artificial bee colony swarm optimization
Networks community detection using artificial bee colony swarm optimizationAboul Ella Hassanien
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
ABC, an effective tool for selective harmonic elimination in multilevel inve...
ABC, an effective tool for selective  harmonic elimination in multilevel inve...ABC, an effective tool for selective  harmonic elimination in multilevel inve...
ABC, an effective tool for selective harmonic elimination in multilevel inve...Shridhar kulkarni
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithmHasan Gök
 
Backtraking optimziation algorithm
Backtraking optimziation algorithmBacktraking optimziation algorithm
Backtraking optimziation algorithmAhmed Fouad Ali
 
Spider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmSpider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmAhmed Fouad Ali
 
Social spider optimization
Social spider optimizationSocial spider optimization
Social spider optimizationAhmed Fouad Ali
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithmAhmed Fouad Ali
 
Karınca kolonisi algoritması
Karınca kolonisi algoritmasıKarınca kolonisi algoritması
Karınca kolonisi algoritmasıOrhan ERIPEK
 
Yapay arı kolonisi algoritması
Yapay arı kolonisi algoritmasıYapay arı kolonisi algoritması
Yapay arı kolonisi algoritmasıOrhan ERIPEK
 
An efficient and powerful advanced algorithm for solving real coded numerica...
An efficient and powerful advanced algorithm for solving real  coded numerica...An efficient and powerful advanced algorithm for solving real  coded numerica...
An efficient and powerful advanced algorithm for solving real coded numerica...IOSR Journals
 
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
 
seminar HBMO
seminar HBMOseminar HBMO
seminar HBMOavaninith
 
ABC in London, May 5, 2011
ABC in London, May 5, 2011ABC in London, May 5, 2011
ABC in London, May 5, 2011Christian Robert
 
The bee colony optimization (Persian)
The bee colony optimization (Persian)The bee colony optimization (Persian)
The bee colony optimization (Persian)mortezaT
 

Andere mochten auch (19)

Group search optimizer
Group search optimizerGroup search optimizer
Group search optimizer
 
Networks community detection using artificial bee colony swarm optimization
Networks community detection using artificial bee colony swarm optimizationNetworks community detection using artificial bee colony swarm optimization
Networks community detection using artificial bee colony swarm optimization
 
slide FYP 2
slide FYP 2slide FYP 2
slide FYP 2
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
ABC, an effective tool for selective harmonic elimination in multilevel inve...
ABC, an effective tool for selective  harmonic elimination in multilevel inve...ABC, an effective tool for selective  harmonic elimination in multilevel inve...
ABC, an effective tool for selective harmonic elimination in multilevel inve...
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 
Backtraking optimziation algorithm
Backtraking optimziation algorithmBacktraking optimziation algorithm
Backtraking optimziation algorithm
 
Spider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmSpider Monkey Optimization Algorithm
Spider Monkey Optimization Algorithm
 
Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 
Social spider optimization
Social spider optimizationSocial spider optimization
Social spider optimization
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithm
 
Karınca kolonisi algoritması
Karınca kolonisi algoritmasıKarınca kolonisi algoritması
Karınca kolonisi algoritması
 
Yapay arı kolonisi algoritması
Yapay arı kolonisi algoritmasıYapay arı kolonisi algoritması
Yapay arı kolonisi algoritması
 
An efficient and powerful advanced algorithm for solving real coded numerica...
An efficient and powerful advanced algorithm for solving real  coded numerica...An efficient and powerful advanced algorithm for solving real  coded numerica...
An efficient and powerful advanced algorithm for solving real coded numerica...
 
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
 
seminar HBMO
seminar HBMOseminar HBMO
seminar HBMO
 
ABC in London, May 5, 2011
ABC in London, May 5, 2011ABC in London, May 5, 2011
ABC in London, May 5, 2011
 
The bee colony optimization (Persian)
The bee colony optimization (Persian)The bee colony optimization (Persian)
The bee colony optimization (Persian)
 

Ähnlich wie Artificial Bee Colony algorithm

Comparative study of_hybrids_of_artificial_bee_colony_algorithm
Comparative study of_hybrids_of_artificial_bee_colony_algorithmComparative study of_hybrids_of_artificial_bee_colony_algorithm
Comparative study of_hybrids_of_artificial_bee_colony_algorithmDr Sandeep Kumar Poonia
 
Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...
Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...
Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...Duy Tân Nguyễn
 
An improved memetic search in artificial bee colony algorithm
An improved memetic search in artificial bee colony algorithmAn improved memetic search in artificial bee colony algorithm
An improved memetic search in artificial bee colony algorithmDr Sandeep Kumar Poonia
 
A novel hybrid crossover based abc algorithm
A novel hybrid crossover based abc algorithmA novel hybrid crossover based abc algorithm
A novel hybrid crossover based abc algorithmDr Sandeep Kumar Poonia
 
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 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
 
IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...
IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...
IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...IRJET Journal
 
Comparative analysis of abc and ics
Comparative analysis of abc and icsComparative analysis of abc and ics
Comparative analysis of abc and icsBiswajit Panday
 
session 3 OR_L1.pptx
session 3 OR_L1.pptxsession 3 OR_L1.pptx
session 3 OR_L1.pptxssuser28e8041
 
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
 
Evaluation the efficiency of cuckoo
Evaluation the efficiency of cuckooEvaluation the efficiency of cuckoo
Evaluation the efficiency of cuckooijcsa
 
Improved onlooker bee phase in artificial bee colony algorithm
Improved onlooker bee phase in artificial bee colony algorithmImproved onlooker bee phase in artificial bee colony algorithm
Improved onlooker bee phase in artificial bee colony algorithmDr Sandeep Kumar Poonia
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 012013901097
 

Ähnlich wie Artificial Bee Colony algorithm (20)

Comparative study of_hybrids_of_artificial_bee_colony_algorithm
Comparative study of_hybrids_of_artificial_bee_colony_algorithmComparative study of_hybrids_of_artificial_bee_colony_algorithm
Comparative study of_hybrids_of_artificial_bee_colony_algorithm
 
Enhanced abc algo for tsp
Enhanced abc algo for tspEnhanced abc algo for tsp
Enhanced abc algo for tsp
 
ABC.pdf
ABC.pdfABC.pdf
ABC.pdf
 
Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...
Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...
Duy Tan NGUYEN_Multi-objective optimization for inventory management systems ...
 
An improved memetic search in artificial bee colony algorithm
An improved memetic search in artificial bee colony algorithmAn improved memetic search in artificial bee colony algorithm
An improved memetic search in artificial bee colony algorithm
 
A novel hybrid crossover based abc algorithm
A novel hybrid crossover based abc algorithmA novel hybrid crossover based abc algorithm
A novel hybrid crossover based abc 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 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
 
IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...
IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...
IRJET- Modified BEE Swarming Algoritm to Emission Constrained Economic Dispat...
 
Comparative analysis of abc and ics
Comparative analysis of abc and icsComparative analysis of abc and ics
Comparative analysis of abc and ics
 
Optimization
OptimizationOptimization
Optimization
 
Optimization
OptimizationOptimization
Optimization
 
session 3 OR_L1.pptx
session 3 OR_L1.pptxsession 3 OR_L1.pptx
session 3 OR_L1.pptx
 
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
 
Evaluation the efficiency of cuckoo
Evaluation the efficiency of cuckooEvaluation the efficiency of cuckoo
Evaluation the efficiency of cuckoo
 
Improved onlooker bee phase in artificial bee colony algorithm
Improved onlooker bee phase in artificial bee colony algorithmImproved onlooker bee phase in artificial bee colony algorithm
Improved onlooker bee phase in artificial bee colony algorithm
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 

Mehr von Ahmed Fouad Ali

Manta Ray Optimization.pptx
Manta Ray Optimization.pptxManta Ray Optimization.pptx
Manta Ray Optimization.pptxAhmed Fouad Ali
 
Harris hawks optimization
Harris hawks optimizationHarris hawks optimization
Harris hawks optimizationAhmed Fouad Ali
 
Sunflower optimization algorithm
Sunflower optimization algorithmSunflower optimization algorithm
Sunflower optimization algorithmAhmed Fouad Ali
 
Butterfly optimization algorithm
Butterfly optimization algorithmButterfly optimization algorithm
Butterfly optimization algorithmAhmed Fouad Ali
 
Grasshopper optimization algorithm
Grasshopper optimization algorithmGrasshopper optimization algorithm
Grasshopper optimization algorithmAhmed Fouad Ali
 
Artificial fish swarm optimization
Artificial fish swarm optimizationArtificial fish swarm optimization
Artificial fish swarm optimizationAhmed Fouad Ali
 
Gravitational search algorithm
Gravitational search algorithmGravitational search algorithm
Gravitational search algorithmAhmed Fouad Ali
 
Harmony search algorithm
Harmony search algorithmHarmony search algorithm
Harmony search algorithmAhmed Fouad Ali
 
Latex symbols and commands
Latex symbols  and commandsLatex symbols  and commands
Latex symbols and commandsAhmed Fouad Ali
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood searchAhmed Fouad Ali
 

Mehr von Ahmed Fouad Ali (13)

Manta Ray Optimization.pptx
Manta Ray Optimization.pptxManta Ray Optimization.pptx
Manta Ray Optimization.pptx
 
Harris hawks optimization
Harris hawks optimizationHarris hawks optimization
Harris hawks optimization
 
Sunflower optimization algorithm
Sunflower optimization algorithmSunflower optimization algorithm
Sunflower optimization algorithm
 
Crow search algorithm
Crow search algorithmCrow search algorithm
Crow search algorithm
 
Butterfly optimization algorithm
Butterfly optimization algorithmButterfly optimization algorithm
Butterfly optimization algorithm
 
Salp swarm algorithm
Salp swarm algorithmSalp swarm algorithm
Salp swarm algorithm
 
Grasshopper optimization algorithm
Grasshopper optimization algorithmGrasshopper optimization algorithm
Grasshopper optimization algorithm
 
Artificial fish swarm optimization
Artificial fish swarm optimizationArtificial fish swarm optimization
Artificial fish swarm optimization
 
Gravitational search algorithm
Gravitational search algorithmGravitational search algorithm
Gravitational search algorithm
 
Flower pollination
Flower pollinationFlower pollination
Flower pollination
 
Harmony search algorithm
Harmony search algorithmHarmony search algorithm
Harmony search algorithm
 
Latex symbols and commands
Latex symbols  and commandsLatex symbols  and commands
Latex symbols and commands
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood search
 

Kürzlich hochgeladen

Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
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
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
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
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 

Kürzlich hochgeladen (20)

Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
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
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.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...
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.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Ữ Â...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 

Artificial Bee Colony algorithm

  • 1. Company LOGO Scientific Research Group in Egypt (SRGE) Swarm Intelligence (4) Artificial Bee Colony (ABC) Dr. Ahmed Fouad Ali Suez Canal University, Dept. of Computer Science, Faculty of Computers and informatics Member of the Scientific Research Group in Egypt
  • 2. Company LOGO Scientific Research Group in Egypt www.egyptscience.net
  • 4. Company LOGO Outline 1. Artificial Bee Colony(ABC)(History and main idea) 4. Advantage and disadvantage 3. ABC control parameters 5. Example 2. Artificial Bee Colony(ABC ) Algorithm 6. References
  • 5. Company LOGO Artificial Bee Colony (ABC) (History) • Artificial Bee Colony (ABC) is one of the most recently defined algorithms by Dervis Karaboga in 2005, motivated by the intelligent behavior of honey bees. •Since 2005, D. Karaboga and his research group have studied on ABC algorithm and its applications to real world-problems.
  • 6. Company LOGO Artificial Bee Colony (ABC) (Main idea) • The ABC algorithm is a swarm based meta-heuristics algorithm. •It based on the foraging behavior of honey bee colonies. •The artificial bee colony contains three groups: Scouts Onlookers Employed bees
  • 7. Company LOGO Artificial Bee Colony(ABC ) Algorithm •The ABC generates a randomly distributed initial population of SN solutions (food source positions), where SN denotes the size of population. •Each solution xi (i = 1, 2, ..., SN) is a D- dimensional vector. •After initialization, the population of the positions (solutions) is subjected to repeated cycles, C = 1, 2, ...,MCN, of the search processes of the employed bees, the onlooker bees and scout bees.
  • 8. Company LOGO Artificial Bee Colony(ABC ) Algorithm •An employed bee produces a modification on the position (solution) in her memory depending on the nectar amount (fitness value) of the new source (new solution). •Provided that the nectar amount of the new one is higher than that of the previous one, the bee memorizes the new position and forgets the old one. •After all employed bees complete the search process, they share the nectar information of the food sources and their position information with the onlooker bees on the dance area.
  • 9. Company LOGO Artificial Bee Colony(ABC ) Algorithm •An onlooker bee evaluates the nectar information taken from all employed bees and chooses a food source with a probability related to its nectar amount. •As in the case of the employed bee, it produces a modification on the position in its memory and checks the nectar amount of the candidate source. •Providing that its nectar is higher than that of the previous one, the bee memorizes the new position and forgets the old one.
  • 10. Company LOGO Artificial Bee Colony(ABC ) Algorithm •An artificial onlooker bee chooses a food source depending on the probability value associated with that food source, pi , fiti is the fitness value of the solution i SN is the number of food sources which is equal to the number of employed bees (BN).
  • 11. Company LOGO Artificial Bee Colony(ABC ) Algorithm •In order to produce a candidate food position from the old one in memory, the ABC uses the following expression where k ∈ {1, 2,..., SN} and j ∈ {1, 2,...,D} are randomly chosen indexes. k is determined randomly, it has to be different from i. φi,j is a random number between [-1, 1].
  • 12. Company LOGO Artificial Bee Colony(ABC ) Algorithm •The food source of which the nectar is abandoned by the bees is replaced with a new food source by the scouts. •In ABC, providing that a position can not be improved further through a predetermined number of cycles, which is called “limit” then that food source is assumed to be abandoned.
  • 13. Company LOGO Artificial Bee Colony(ABC ) Algorithm
  • 14. Company LOGO ABC control parameters •Swarm size •Employed bees(50% of swarm) •Onlookers(50% of swarm) •Scouts(1) •Limit •Dimension
  • 15. Company LOGO Advantage and disadvantage Advantages Few control parameters Fast convergence Both exploration & exploitation Disadvantages Search space limited by initial solution (normal distribution sample should use in initialize step)
  • 16. Company LOGO Example •Consider the optimization problem as follows: Minimize f (x) = x2 1 + x2 2 -5≤x1,x2≤5 Control Parameters of ABC Algorithm are set as: Colony size, CS = 6 Limit for scout, L = (CS*D)/2 = 6 Dimension of the problem, D = 2
  • 17. Company LOGO Example First, we initialize the positions of 3 food sources (CS/2) of employed bees, randomly using uniform distribution in the range (-5, 5). x = 1.4112 -2.5644 0.4756 1.4338 -0.1824 -1.0323 f(x) values are: 8.5678 2.2820 1.0990
  • 18. Company LOGO Example Initial fitness vector is: 0.1045 0.3047 0.4764
  • 19. Company LOGO Example Maximum fitness value is 0.4764, the quality of the best food source. Cycle=1 Employed bees phase •1st employed bee with this formula, produce a new solution. k=1 k is a random selected index. j=0 j is a random selected index.
  • 20. Company LOGO Example Φ = 0.8050 Φ is randomly produced number in the range [-1, 1]. υ0= 2.1644 -2.5644 Calculate f(υ0) and the fitness of υ0. f(υ0) = 11.2610 and the fitness value is 0.0816. Apply greedy selection between x0 and υ0 0.0816 < 0.1045, the solution 0 couldn’t be improved, increase its trial counter.
  • 21. Company LOGO Example 2nd employed bee with this formula produce a new solution. k=2 k is a random selected solution in the neighborhood of i. j=1 j is a random selected dimension of the problem. Φ = 0.0762 Φ is randomly produced number in the range [-1, 1]. υ1= 0.4756 1.6217 Calculate f(υ1) and the fitness of υ1. f(υ1) = 2.8560 and the fitness value is 0.2593. Apply greedy selection between x1 and υ1 0.2593 < 0.3047, the solution 1 couldn’t be improved, increase its trial counter.
  • 22. Company LOGO Example 3rd employed bee with this formula produce a new solution. k=0 //k is a random selected solution in the neighborhood of i. j=0 //j is a random selected dimension of the problem. Φ = -0.0671 // Φ is randomly produced number in the range [-1, 1]. υ2= -0.0754 -1.0323 Calculate f(υ2) and the fitness of υ2. f(υ2) = 1.0714 and the fitness value is 0.4828. Apply greedy selection between x2 and υ2. 0.4828 > 0.4764, the solution 2 was improved, set its trial counter as 0 and replace the solution x2 with υ2.
  • 23. Company LOGO Example x = 1.4112 -2.5644 0.4756 1.4338 -0.0754 -1.0323 f(x) values are; 8.5678 2.2820 1.0714 fitness vector is: 0.1045 0.3047 0.4828
  • 24. Company LOGO Example Calculate the probability values p for the solutions x by means of their fitness values by using the formula; p = 0.1172 0.3416 0.5412
  • 25. Company LOGO Example Onlooker bees phase Produce new solutions υi for the onlookers from the solutions xi selected depending on pi and evaluate them. 1st onlooker bee i=2 υ2= -0.0754 -2.2520 Calculate f(υ2) and the fitness of υ2. f(υ2) = 5.0772 and the fitness value is 0.1645. Apply greedy selection between x2 and υ2 0.1645 < 0.4828, the solution 2 couldn’t be improved, increase its trial counter.
  • 26. Company LOGO Example 2nd onlooker bee i=1 υ1= 0.1722 1.4338 Calculate f(υ1) and the fitness of υ1. f(υ1) = 2.0855 and the fitness value is 0.3241. Apply greedy selection between x1 and υ1 0.3241 > 0.3047, the solution 1 was improved, set its trial counter as 0 and replace the solution x1 with υ1.
  • 27. Company LOGO Example x = 1.4112 -2.5644 0.1722 1.4338 -0.0754 -1.0323 f(x) values are 8.5678 2.0855 1.0714 fitness vector is: 0.1045 0.3241 0.4828
  • 28. Company LOGO Example 3rd onlooker bee i=2 υ2= 0.0348 -1.0323 Calculate f(υ2) and the fitness of υ2. f(υ2) = 1.0669 and the fitness value is 0.4838. Apply greedy selection between x2 and υ2 0.4838 > 0.4828, the solution 2 was improved, set its trial counter as 0 and replace the solution x2 with υ2.
  • 29. Company LOGO Example x = 1.4112 -2.5644 0.1722 1.4338 0.0348 -1.0323 f(x) values are 8.5678 2.0855 1.0669 fitness vector is: 0.1045 0.3241 0.4838
  • 30. Company LOGO Example Memorize best Best = 0.0348 -1.0323 Scout bee phase Trial Counter = 1 0 0 There is no abandoned solution since L = 6 If there is an abandoned solution (the solution of which the trial counter value is higher than L = 6); Generate a new solution randomly to replace with the abandoned one. Cycle = Cycle+1 The procedure is continued until the termination criterion is attained.
  • 31. Company LOGO References D. Karaboga and B. Basturk, “Artificial Bee Colony (ABC) Optimization Algorithm for Solving Constrained Optimization Problems”, IFSA 2007, LNAI 4529, pp. 789– 798, 2007. Springer-Verlag Berlin Heidelberg 2007