You can edit almost every page by Creating an account and confirming your email.

Mayfly optimization algorithm: Difference between revisions

From EverybodyWiki Bios & Wiki
WikiMasterBot2 (talk | contribs)
 
WikiMasterBot2 (talk | contribs)
m automatic correction by IA
 
Line 1: Line 1:
<!-- Please do not remove or change this AfD message until the discussion has been closed. -->
{{Article for deletion/dated|page=Mayfly optimization algorithm|timestamp=20220412032620|year=2022|month=April|day=12|substed=yes}}
{{Article for deletion/dated|page=Mayfly optimization algorithm|timestamp=20220412032620|year=2022|month=April|day=12|substed=yes}}
<!-- Once discussion is closed, please place on talk page: {{Old AfD multi|page=Mayfly optimization algorithm|date=12 April 2022|result='''keep'''}} -->
<!-- End of AfD message, feel free to edit beyond this point -->
{{Multiple issues|
{{Multiple issues|
{{notability|date=April 2021}}
{{notability|date=April 2021}}
Line 18: Line 15:
MA pseudocode <ref>{{cite journal |doi=10.1016/j.cie.2020.106559 |title= A mayfly optimization algorithm |journal= Computers & Industrial Engineering |volume=145|year=2020 |last1= Zervoudakis |first1= Konstantinos |last2= Tsafarakis |first2= Stelios }}</ref>
MA pseudocode <ref>{{cite journal |doi=10.1016/j.cie.2020.106559 |title= A mayfly optimization algorithm |journal= Computers & Industrial Engineering |volume=145|year=2020 |last1= Zervoudakis |first1= Konstantinos |last2= Tsafarakis |first2= Stelios }}</ref>


Objective function f(x), x=(x_1,…,x_d )^T
Objective function f(x), x=(x_1,…,x_d )^T
Initialize the male mayfly population x_i (i=1,2,…,N) and velocities v_mi
Initialize the male mayfly population x_i (i=1,2,…,N) and velocities v_mi
Initialize the female mayfly population y_i (i=1,2,…,M) and velocities v_fi
Initialize the female mayfly population y_i (i=1,2,…,M) and velocities v_fi
Evaluate solutions
Evaluate solutions
Find global best gbest
Find global best gbest
Do While stopping criteria are not met
Do While stopping criteria are not met
    Update velocities and positions of males and females
    Update velocities and positions of males and females
    Evaluate solutions
    Evaluate solutions
    Rank the mayflies
    Rank the mayflies
    Mate the mayflies
    Mate the mayflies
    Evaluate offspring
    Evaluate offspring
    Separate offspring to male and female randomly
    Separate offspring to male and female randomly
    Replace worst solutions with the best new ones
    Replace worst solutions with the best new ones
    Update pbest and gbest
    Update pbest and gbest
end while
end while


===Multi Objective Mayfly Optimization Algorithm (MOMA)===
===Multi Objective Mayfly Optimization Algorithm (MOMA)===
MOMA pseudocode<ref>{{cite journal |doi=10.1016/j.cie.2020.106559 |title= A mayfly optimization algorithm |journal= Computers & Industrial Engineering |volume=145|year=2020 |last1= Zervoudakis |first1= Konstantinos |last2= Tsafarakis |first2= Stelios }}</ref>
MOMA pseudocode<ref>{{cite journal |doi=10.1016/j.cie.2020.106559 |title= A mayfly optimization algorithm |journal= Computers & Industrial Engineering |volume=145|year=2020 |last1= Zervoudakis |first1= Konstantinos |last2= Tsafarakis |first2= Stelios }}</ref>


Initialize the male mayfly population 𝑥𝑖
Initialize the male mayfly population 𝑥𝑖
(𝑖 = 1,2, … , 𝑁) and velocities 𝑣𝑚𝑖
(𝑖 = 1,2, … , 𝑁) and velocities 𝑣𝑚𝑖
Initialize the female mayfly population 𝑦𝑖
Initialize the female mayfly population 𝑦𝑖
(𝑖 = 1,2, … , 𝑀) and velocities 𝑣𝑓𝑖
(𝑖 = 1,2, … , 𝑀) and velocities 𝑣𝑓𝑖
Evaluate solutions using the predefined objective functions
Evaluate solutions using the predefined objective functions
Store the nondominated solutions found in an external repository
Store the nondominated solutions found in an external repository
Sort the mayflies
Sort the mayflies
Do While stopping criteria are not met
Do While stopping criteria are not met
    Update velocities and positions of males and females
    Update velocities and positions of males and females
    Evaluate solutions
    Evaluate solutions
    '''If''' a new mayfly dominates its personal best
    If a new mayfly dominates its personal best
        Replace personal best with the new solution
        Replace personal best with the new solution
    '''If''' no one dominates the other
    If no one dominates the other
        The new solution has a chance of 50% to replace the personal best
        The new solution has a chance of 50% to replace the personal best
    Rank the mayflies
    Rank the mayflies
    Mate the mayflies
    Mate the mayflies
    Evaluate offspring
    Evaluate offspring
    Separate offspring to male and female randomly
    Separate offspring to male and female randomly
    '''If''' an offspring dominates its same-sex parent
    If an offspring dominates its same-sex parent
        Replace parent with the offspring
        Replace parent with the offspring
    Insert all the new nondominated solutions found in the external repository
    Insert all the new nondominated solutions found in the external repository
    Sort the nondominated solutions and truncate the repository if needed
    Sort the nondominated solutions and truncate the repository if needed
end while
end while


== References ==
== References ==

Latest revision as of 15:04, 9 October 2025


In mathematical optimization, computer science and operations research, the Mayfly Optimization Algorithm (MA) was developed by Dr. Zervoudakis K. and Prof. Dr. Tsafarakis S. to address both continuous and discrete optimization problems and is inspired from the flight behavior and the mating process of mayflies. It is a hybrid algorithmic structure of particle swarm optimization, firefly algorithm and genetic algorithm. The processes of nuptial dance and random flight enhance the balance between the algorithm's exploration and exploitation properties and assist its escape from local optima. Its performance is superior to that of other popular metaheuristics like PSO, DE, GA and FA, in terms of convergence rate and convergence speed.[1]

Introduction

The MA was developed to address both single objective and multi objective optimization problems.[2] Since its first presentation the mayfly optimization algorithm has been used by researchers to address various optimization problems.[3][4][5][6][7]

Mayfly Optimization Algorithm pseudocodes

Simplified Matlab codes are provided here: [8][9]

Single Objective Mayfly Optimization Algorithm (MA)

MA pseudocode [10]

Objective function f(x), x=(x_1,…,x_d )^T Initialize the male mayfly population x_i (i=1,2,…,N) and velocities v_mi Initialize the female mayfly population y_i (i=1,2,…,M) and velocities v_fi Evaluate solutions Find global best gbest Do While stopping criteria are not met

   Update velocities and positions of males and females
   Evaluate solutions
   Rank the mayflies
   Mate the mayflies
   Evaluate offspring
   Separate offspring to male and female randomly
   Replace worst solutions with the best new ones
   Update pbest and gbest

end while

Multi Objective Mayfly Optimization Algorithm (MOMA)

MOMA pseudocode[11]

Initialize the male mayfly population 𝑥𝑖 (𝑖 = 1,2, … , 𝑁) and velocities 𝑣𝑚𝑖 Initialize the female mayfly population 𝑦𝑖 (𝑖 = 1,2, … , 𝑀) and velocities 𝑣𝑓𝑖 Evaluate solutions using the predefined objective functions Store the nondominated solutions found in an external repository Sort the mayflies Do While stopping criteria are not met

   Update velocities and positions of males and females
   Evaluate solutions
   If a new mayfly dominates its personal best
       Replace personal best with the new solution
   If no one dominates the other
       The new solution has a chance of 50% to replace the personal best
   Rank the mayflies
   Mate the mayflies
   Evaluate offspring
   Separate offspring to male and female randomly
   If an offspring dominates its same-sex parent
       Replace parent with the offspring
   Insert all the new nondominated solutions found in the external repository
   Sort the nondominated solutions and truncate the repository if needed

end while

References

  1. Zervoudakis, Konstantinos; Tsafarakis, Stelios (2020). "A mayfly optimization algorithm". Computers & Industrial Engineering. 145. doi:10.1016/j.cie.2020.106559.
  2. Zervoudakis, Konstantinos; Tsafarakis, Stelios (2020). "A mayfly optimization algorithm". Computers & Industrial Engineering. 145. doi:10.1016/j.cie.2020.106559.
  3. Elsisi, Mahmoud; Tran, Minh Quang; Mahmoud, Karar; Lehtonen, Matti; Darwish, Mohamed M.F. (2021). "Robust Design of ANFIS Based Blade Pitch Controller for Wind Energy Conversion Systems Against Wind Speed Fluctuations". IEEE Access. doi:10.1109/ACCESS.2021.3063053.
  4. Bhattacharyya, Trinav; Chatterjee, Bitanu; Singh, Pawan Kumar; Yoon, Jin Hee; Geem, Zong Woo; Sarkar, Ram (2020). "Mayfly in Harmony: A New Hybrid Meta-heuristic Feature Selection Algorithm". IEEE Access. doi:10.1109/access.2020.3031718.
  5. Zhao, J; Gao, Z (2020). "The improved mayfly optimization algorithm with Chebyshev map". Journal of Physics: Conference Series. 1684 (1). doi:10.1088/1742-6596/1684/1/012075.
  6. Ramasamy, Krishnakumar; Ravichandran, Coimbatore Subramanian (2021). "Optimal design of renewable sources of PV/wind/FC generation for power system reliability and cost using MA‐RBFNN approach". International Journal of Energy Research. doi:10.1002/er.6578.
  7. Liu, Z; Jiang, P; Wang, J; Zhang, L (2021). "Ensemble Forecasting System for Short-Term Wind Speed Forecasting Based on Optimal Sub-Model Selection and Multi-Objective Version of Mayfly Optimization Algorithm". Expert Systems with Applications. 177. doi:10.1016/j.eswa.2021.114974.
  8. https://www.mathworks.com/matlabcentral/fileexchange/76902-a-mayfly-optimization-algorithm
  9. https://www.mathworks.com/matlabcentral/fileexchange/85653-a-multiobjective-mayfly-optimization-algorithm
  10. Zervoudakis, Konstantinos; Tsafarakis, Stelios (2020). "A mayfly optimization algorithm". Computers & Industrial Engineering. 145. doi:10.1016/j.cie.2020.106559.
  11. Zervoudakis, Konstantinos; Tsafarakis, Stelios (2020). "A mayfly optimization algorithm". Computers & Industrial Engineering. 145. doi:10.1016/j.cie.2020.106559.


This article "Mayfly optimization algorithm" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Mayfly optimization algorithm. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.