SlideShare una empresa de Scribd logo
1 de 15
Butterfly Optimization Algorithm
DR. AHMED FOUAD ALI
FACULTY OF COMPUTERS AND INFORMATICS
SUEZ CANAL UNIVERSITY
Outline
 Butterfly Optimization Algorithm (BOA) (History and main idea)
 Biological and natural behaviors.
 Magnitude of fragrance.
 Butteries movement (Global and local search).
 The BOA algorithm.
 References.
Butterfly Optimization Algorithm (BOA)
(History and main idea)
 Butterfly Optimization Algorithm
(BOA) is a population based natural
inspired algorithm.
 It Proposed by S. Arora et al. in 2018.
 The BOA mimics the foraging and the
social behavior of the butteries.
Biological and natural behaviors.
 Butteries are insects belong to
Lepidoptera.
 They have five senses (smell, sight,
taste, touch and hearing).
 They used these senses for finding
foods, searching for mating partner,
immigration from one place to another
and escaping from enemies.
 Although these senses are very
important for butteries, smell sense
considers the most important sense
which help them for finding food.
Biological and natural behaviors (Cont.)
 In the mating process, male buttery can
identify the female buttery through her
pheromone.
 When buttery moves from one place to
another, it generates a fragrance with
intensity which is propagate over the
distance.
 The other butteries can sense this
fragrance and attracted to the buttery
according to the intensity of its
fragrance.
Biological and natural behaviors (Cont.)
 When a buttery senses the best
buttery's fragrance it moves toward
it.
 This process is called global search,
while when it fails to sense the
fragrance of any buttery, it moves
randomly to a new position in the
search space. This process is called
local search.
Magnitude of fragrance.
 Buttery emits a fragrance with intensity
when it moves.
 The other butteries attracted to the buttery
according to its magnitude of fragrance.
 The fragrance of each buttery can be defined
as follow.
Where pfi represents the perceived magnitude
of fragrance, c , I are the sensor modality and
fragrance intensity, respectively. The parameter
a is a power exponent which represents the
degree of the fragrance absorption.
Butteries movement (Global search).
 The movement of butteries are based on
three phases as follow.
 {Global search phase.} Each buttery emits
fragrance when it moves and the other
butteries attracted to it according to its
magnitude of fragrance.
 This process is called a global search and
can be defined as follow
Where xti is a vector which represent the
buttery (solution) at iteration t, g is the overall
best solution, r is a random number in [0, 1]
and fi is a fragrance of ith buttery.
Butteries movement (local search).
 {Local search phase}. When the
butteries fail to sense the fragrance of
the other butteries, they move
randomly in the search space.
 The process is called local search and
it can be defined as follow.
Where xjt, xkt are two vectors that
represent two different butteries in the
same population.
Butteries movement (Solution evaluation).
 The fragrance intensity of the buttery
represents its objective function.
 The buttery attracts the other butteries
according to its magnitude of
fragrance.
The BOA algorithm
The BOA algorithm
{Parameter setting}. At the beginning, we initialize the algorithm's
parameter values such as the population size n, parameters a (power
exponent), c sensory modality, ρ switch probability , and the maximum
number of iterations Maxitr.
{Iteration initialization} . Set the initial value of the iteration counter t.
{Initial population}. The initial population n is generated randomly xt
i .
{Solutions evaluation}. Each buttery xt
i in the population is evaluated by
calculating its fitness function f(xt
i (.
The BOA algorithm
{Global best solution.} Assign the overall best buttery (solution) g in
the population.
{The main loop.} The following steps are repeated until the
termination criterion satisfied.
{Iteration increasing.} The iteration counter is increasing, t = t + 1.
{Random number generation.} We generate random number r, where r
ϵ [0, 1].
{Balancing between global and local search processes.} The global and
local search processes are applied according to the parameters value of
ρ and r.
The BOA algorithm
{Global search process.} The butteries update their position according to the
position of the overall best solution g as shown in Equation 2.
{ Local search process.} If the butteries fail to sense the fragrance of any buttery
in the population, they move randomly as shown in Equation 3.
{ Solutions evaluation.} Each buttery xt
i in the population is evaluated by
calculating its fitness function f(xt
i (.
{ Global best solution.} Assign the overall best buttery (solution) in the
population g.
{ Termination criteria satisfied.} The overall processes are repeated until
termination criteria satisfied, which is reaching to the maximum number of
iterations Maxitr in our case.
{ Produce the best solution.} Produce the best obtained buttery (solution) so far
g.
References
Arora, S., & Singh, S. (2018). Butterfly optimization
algorithm: a novel approach for global optimization. Soft
Computing, 1-20.

Más contenido relacionado

La actualidad más candente

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
 
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
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAsst.prof M.Gokilavani
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationanurag singh
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithmAhmed Fouad Ali
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms Syed Ahmed
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm OptimizationStelios Petrakis
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.N Vinayak
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimizationAbhishek Agrawal
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and acosatish561
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithmAhmed Fouad Ali
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMPuneet Kulyana
 
Spider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmSpider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmAhmed Fouad Ali
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMvikas dhakane
 

La actualidad más candente (20)

Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Particle swarm optimization
Particle swarm optimization Particle swarm optimization
Particle swarm optimization
 
Cuckoo search algorithm
Cuckoo search algorithmCuckoo search algorithm
Cuckoo search algorithm
 
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
 
bat algorithm
bat algorithmbat algorithm
bat algorithm
 
AI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptxAI_Session 7 Greedy Best first search algorithm.pptx
AI_Session 7 Greedy Best first search algorithm.pptx
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Whale optimizatio algorithm
Whale optimizatio algorithmWhale optimizatio algorithm
Whale optimizatio algorithm
 
Chicken swarm optimization (CSO)
Chicken swarm optimization (CSO)Chicken swarm optimization (CSO)
Chicken swarm optimization (CSO)
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Artificial Intelligence -- Search Algorithms
Artificial Intelligence-- Search Algorithms Artificial Intelligence-- Search Algorithms
Artificial Intelligence -- Search Algorithms
 
Particle Swarm Optimization
Particle Swarm OptimizationParticle Swarm Optimization
Particle Swarm Optimization
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
ABC Algorithm.
ABC Algorithm.ABC Algorithm.
ABC Algorithm.
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Swarm intelligence pso and aco
Swarm intelligence pso and acoSwarm intelligence pso and aco
Swarm intelligence pso and aco
 
Artificial Bee Colony algorithm
Artificial Bee Colony algorithmArtificial Bee Colony algorithm
Artificial Bee Colony algorithm
 
MACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHMMACHINE LEARNING - GENETIC ALGORITHM
MACHINE LEARNING - GENETIC ALGORITHM
 
Spider Monkey Optimization Algorithm
Spider Monkey Optimization AlgorithmSpider Monkey Optimization Algorithm
Spider Monkey Optimization Algorithm
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 

Más de 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
 
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
 
Backtraking optimziation algorithm
Backtraking optimziation algorithmBacktraking optimziation algorithm
Backtraking optimziation algorithmAhmed Fouad Ali
 
Social spider optimization
Social spider optimizationSocial spider optimization
Social spider optimizationAhmed Fouad Ali
 
Gravitational search algorithm
Gravitational search algorithmGravitational search algorithm
Gravitational 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
 

Más de Ahmed Fouad Ali (17)

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
 
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
 
Backtraking optimziation algorithm
Backtraking optimziation algorithmBacktraking optimziation algorithm
Backtraking optimziation algorithm
 
Social spider optimization
Social spider optimizationSocial spider optimization
Social spider optimization
 
Grey wolf optimizer
Grey wolf optimizerGrey wolf optimizer
Grey wolf optimizer
 
Gravitational search algorithm
Gravitational search algorithmGravitational search algorithm
Gravitational search algorithm
 
Flower pollination
Flower pollinationFlower pollination
Flower pollination
 
Latex symbols and commands
Latex symbols  and commandsLatex symbols  and commands
Latex symbols and commands
 
Tabu search
Tabu searchTabu search
Tabu search
 
Simulated annealing
Simulated annealingSimulated annealing
Simulated annealing
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood search
 
Group search optimizer
Group search optimizerGroup search optimizer
Group search optimizer
 
Ant colony algorithm
Ant colony algorithm Ant colony algorithm
Ant colony algorithm
 

Último

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

Butterfly optimization algorithm

  • 1. Butterfly Optimization Algorithm DR. AHMED FOUAD ALI FACULTY OF COMPUTERS AND INFORMATICS SUEZ CANAL UNIVERSITY
  • 2. Outline  Butterfly Optimization Algorithm (BOA) (History and main idea)  Biological and natural behaviors.  Magnitude of fragrance.  Butteries movement (Global and local search).  The BOA algorithm.  References.
  • 3. Butterfly Optimization Algorithm (BOA) (History and main idea)  Butterfly Optimization Algorithm (BOA) is a population based natural inspired algorithm.  It Proposed by S. Arora et al. in 2018.  The BOA mimics the foraging and the social behavior of the butteries.
  • 4. Biological and natural behaviors.  Butteries are insects belong to Lepidoptera.  They have five senses (smell, sight, taste, touch and hearing).  They used these senses for finding foods, searching for mating partner, immigration from one place to another and escaping from enemies.  Although these senses are very important for butteries, smell sense considers the most important sense which help them for finding food.
  • 5. Biological and natural behaviors (Cont.)  In the mating process, male buttery can identify the female buttery through her pheromone.  When buttery moves from one place to another, it generates a fragrance with intensity which is propagate over the distance.  The other butteries can sense this fragrance and attracted to the buttery according to the intensity of its fragrance.
  • 6. Biological and natural behaviors (Cont.)  When a buttery senses the best buttery's fragrance it moves toward it.  This process is called global search, while when it fails to sense the fragrance of any buttery, it moves randomly to a new position in the search space. This process is called local search.
  • 7. Magnitude of fragrance.  Buttery emits a fragrance with intensity when it moves.  The other butteries attracted to the buttery according to its magnitude of fragrance.  The fragrance of each buttery can be defined as follow. Where pfi represents the perceived magnitude of fragrance, c , I are the sensor modality and fragrance intensity, respectively. The parameter a is a power exponent which represents the degree of the fragrance absorption.
  • 8. Butteries movement (Global search).  The movement of butteries are based on three phases as follow.  {Global search phase.} Each buttery emits fragrance when it moves and the other butteries attracted to it according to its magnitude of fragrance.  This process is called a global search and can be defined as follow Where xti is a vector which represent the buttery (solution) at iteration t, g is the overall best solution, r is a random number in [0, 1] and fi is a fragrance of ith buttery.
  • 9. Butteries movement (local search).  {Local search phase}. When the butteries fail to sense the fragrance of the other butteries, they move randomly in the search space.  The process is called local search and it can be defined as follow. Where xjt, xkt are two vectors that represent two different butteries in the same population.
  • 10. Butteries movement (Solution evaluation).  The fragrance intensity of the buttery represents its objective function.  The buttery attracts the other butteries according to its magnitude of fragrance.
  • 12. The BOA algorithm {Parameter setting}. At the beginning, we initialize the algorithm's parameter values such as the population size n, parameters a (power exponent), c sensory modality, ρ switch probability , and the maximum number of iterations Maxitr. {Iteration initialization} . Set the initial value of the iteration counter t. {Initial population}. The initial population n is generated randomly xt i . {Solutions evaluation}. Each buttery xt i in the population is evaluated by calculating its fitness function f(xt i (.
  • 13. The BOA algorithm {Global best solution.} Assign the overall best buttery (solution) g in the population. {The main loop.} The following steps are repeated until the termination criterion satisfied. {Iteration increasing.} The iteration counter is increasing, t = t + 1. {Random number generation.} We generate random number r, where r ϵ [0, 1]. {Balancing between global and local search processes.} The global and local search processes are applied according to the parameters value of ρ and r.
  • 14. The BOA algorithm {Global search process.} The butteries update their position according to the position of the overall best solution g as shown in Equation 2. { Local search process.} If the butteries fail to sense the fragrance of any buttery in the population, they move randomly as shown in Equation 3. { Solutions evaluation.} Each buttery xt i in the population is evaluated by calculating its fitness function f(xt i (. { Global best solution.} Assign the overall best buttery (solution) in the population g. { Termination criteria satisfied.} The overall processes are repeated until termination criteria satisfied, which is reaching to the maximum number of iterations Maxitr in our case. { Produce the best solution.} Produce the best obtained buttery (solution) so far g.
  • 15. References Arora, S., & Singh, S. (2018). Butterfly optimization algorithm: a novel approach for global optimization. Soft Computing, 1-20.