| Literature DB >> 36006908 |
Abstract
The mayfly algorithm (MA), as a newly proposed intelligent optimization algorithm, is found that easy to fall into the local optimum and slow convergence speed. To address this, an improved mayfly algorithm based on dynamic elite strategy (DESMA) is proposed in this paper. Specifically, it first determines the specific space near the best mayfly in the current population, and dynamically sets the search radius. Then generating a certain number of elite mayflies within this range. Finally, the best one among the newly generated elite mayflies is selected to replace the best mayfly in the current population when the fitness value of elite mayfly is better than that of the best mayfly. Experimental results on 28 standard benchmark test functions from CEC2013 show that our proposed algorithm outperforms its peers in terms of accuracy speed and stability.Entities:
Mesh:
Year: 2022 PMID: 36006908 PMCID: PMC9409577 DOI: 10.1371/journal.pone.0273155
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.752
Fig 1Flow chart of the DESMA.
Standard benchmark 28 test functions.
| Function type | Function number | Function name | Ranges | Optimal value |
|---|---|---|---|---|
| Unimodal Function |
| Sphere function | [–100,100] | -1400 |
|
| Rotated high conditioned elliptic | [–100,100] | -1300 | |
|
| Rotated bent cigar function | [–100,100] | -1200 | |
|
| Rotated discus function | [–100,100] | -1100 | |
|
| Different powers function | [–100,100] | -1000 | |
| Basic Multimodal Function |
| Rotated rosenbrock’s function | [–100,100] | -900 |
|
| Rotated schaffers F7 function | [–100,100] | -800 | |
|
| Rotated Ackley’s function | [–100,100] | -700 | |
|
| Rotated weierstrass function | [–100,100] | -600 | |
|
| Rotated griewank’s function | [–100,100] | -500 | |
|
| Rastrigin’s function | [–100,100] | -400 | |
|
| Rotated rastrigin’s function | [–100,100] | -300 | |
|
| Non-continuous rotated rastrigin’s function | [–100,100] | -200 | |
|
| Schewefel’s function | [–100,100] | -100 | |
|
| Rotated schewefel’s function | [–100,100] | 100 | |
|
| Rotated kstsuura function | [–100,100] | 200 | |
|
| Lunacek Bi_Rastrigin function | [–100,100] | 300 | |
|
| Rotated lunacek Bi_Rastrigin function | [–100,100] | 400 | |
|
| Expanded griewank’s plus Rosenbrock’s function | [–100,100] | 500 | |
|
| Expanded scaffer’s F6 function | [–100,100] | 600 | |
| Composition Funtion |
| Composition function 1 (N = 5) | [–100,100] | 700 |
|
| Composition function 2 (N = 3) | [–100,100] | 800 | |
|
| Composition function 3 (N = 3) | [–100,100] | 900 | |
|
| Composition function 4 (N = 3) | [–100,100] | 1000 | |
|
| Composition function 5 (N = 3) | [–100,100] | 1100 | |
|
| Composition function 6 (N = 5) | [–100,100] | 1200 | |
|
| Composition function 7 (N = 5) | [–100,100] | 1300 | |
|
| Composition function 8 (N = 5) | [–100,100] | 1400 |
Comparison of the results of different elite mayfly numbers.
| Functions | |||||
|---|---|---|---|---|---|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| 7.41E+05/2 | 9.22E+05/3 | 1.47E+06/4 | 1.51E+06/5 |
|
|
| 6.73E+08/2 | 6.99E+08/3 | 8.43E+08/4 | 1.20E+09/5 |
|
|
| 6.06E+04/2 | 7.25E+04/5 | 6.41E+04/3 | 7.21E+04/4 |
|
|
|
|
|
|
|
|
|
| 2.58E+01/2 | 3.67E+01/5 | 3.05E+01/3 | 3.33E+01/4 |
|
| 1.33E+02/5 | 1.27E+02/2 |
| 1.29E+02/3 | 1.32E+02/4 |
|
|
|
|
|
|
|
|
| 2.99E+01/5 | 2.94E+01/2 |
| 2.96E+01/3 | 2.97E+01/4 |
|
| 1.71E-01/5 | 1.40E-01/3 |
| 1.50E-01/4 | 1.36E-01/2 |
|
|
| 5.66E-01/5 | 4.29E-01/3 | 4.22E-01/2 | 5.07E-01/4 |
|
| 1.68E+02/3 |
| 1.83E+02/5 | 1.73E+02/4 | 1.60E+02/2 |
|
| 2.30E+02/5 | 2.17E+02/2 | 2.19E+02/3 | 2.24E+02/4 |
|
|
| 9.16E+02/4 | 9.37E+02/5 | 9.12E+02/3 |
| 9.06E+02/2 |
|
| 4.46E+03/4 | 4.01E+03/2 | 4.47E+03/5 | 4.35E+03/3 |
|
|
| 1.67E+00/5 | 1.36E+00/4 |
| 9.76E-01/3 | 9.65E-01/2 |
|
|
| 3.39E+01/2 | 3.45E+01/3 | 3.47E+01/4 | 3.54E+01/5 |
|
| 1.66E+02/5 | 1.44E+02/4 |
| 1.37E+02/3 | 1.36E+02/2 |
|
| 3.26E+00/4 | 3.16E+00/3 | 3.70E+00/5 | 3.09E+00/2 |
|
|
| 1.32E+01/4 |
| 1.32E+01/4 | 1.30E+01/2 | 1.31E+01/3 |
|
| 2.98E+02/5 |
| 2.97E+02/4 | 2.95E+02/3 | 2.89E+02/2 |
|
| 6.99E+02/3 | 6.86E+02/2 |
| 7.14E+02/4 | 7.84E+02/5 |
|
| 4.95E+03/5 |
| 4.64E+03/3 | 4.56E+03/2 | 4.68E+03/4 |
|
| 2.86E+02/4 | 2.84E+02/3 | 2.86E+02/4 |
| 2.81E+02/2 |
|
| 2.97E+02/5 |
| 2.91E+02/2 | 2.95E+02/4 | 2.92E+02/3 |
|
| 3.14E+02/5 | 3.10E+02/4 |
| 3.03E+02/2 | 3.04E+02/3 |
|
| 1.09E+03/3 | 1.09E+03/3 | 1.07E+03/2 |
| 1.07E+03/2 |
|
| 5.23E+02/5 |
| 4.75E+02/3 | 4.32E+02/2 | 5.01E+02/4 |
|
| 3.32 |
| 2.68 | 2.64 | 2.82 |
Algorithm test results.
| Functions | MA | ISOS | EFWA | HHO | GBO | GWO | SMA | DESMA |
|---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
| |
|
|
|
| 7.82E-02/3 | 5.73E+00/4 |
| 1.92E+03/5 | 8.31E-04/2 |
|
|
| 7.39E+05/3 | 3.45E+06/6 | 5.09E+05/2 | 9.59E+06/7 |
| 2.13E+07/8 | 3.10E+06/5 | 7.41E+05/4 |
|
| 1.41E+09/5 | 1.55E+09/6 | 2.52E+08/2 | 1.67E+09/7 |
| 7.04E+09/8 | 5.84E+08/3 | 6.73E+08/4 |
|
| 6.11E+04/7 | 3.61E+01/3 |
| 7.09E+03/5 | 1.50E+01/2 | 314E+04/8 | 5.70E+01/4 | 6.06E+04/6 |
|
|
|
| 7.85E-02/3 | 2.23E+00/4 |
| 1.04E+03/5 | 7.54E-03/2 |
|
|
| 2.76E+01/4 | 4.73E+01/6 | 3.39E+01/5 | 6.36E+01/7 |
| 1.54E+02/8 | 2.73E+01/3 | 2.58E+01/2 |
|
| 1.32E+02/7 | 9.69E+01/2 | 1.28E+02/6 | 2.41E+03/8 | 1.22E+02/4 |
| 1.02E+02/3 | 1.27E+02/5 |
|
| 2.10E+01/2 | 2.10E+01/2 | 2.10E+01/2 |
|
|
|
| 2.10E+01/2 |
|
| 2.97E+01/5 | 2.63E+01/3 | 3.19E+01/7 | 3.63E+01/8 | 3.06E+01/6 |
| 2.16E+01/2 | 2.94E+01/4 |
|
| 1.06E-01/2 | 6.84E-01/5 | 8.31E-01/6 | 5.87E+00/7 |
| 3.93E+02/8 | 4.35E-01/4 | 1.40E-01/3 |
|
|
| 9.84E+01/4 | 4.26E+02/8 | 1.76E+02/7 | 1.29E+02/6 | 1.08E+02/5 | 1.02E+01/3 | 5.66E-01/2 |
|
| 1.71E+02/5 | 1.69E+02/4 | 6.13E+02/8 | 5.72E+02/7 | 2.13E+02/6 | 1.38E+02/3 | 1.19E+02/2 |
|
|
| 2.41E+02/5 | 2.37E+02/4 | 4.48E+02/7 | 5.95E+02/8 | 2.65E+02/6 |
| 2.04E+02/2 | 2.17E+02/3 |
|
|
| 1.34E+03/4 | 4.15E+03/8 | 2.87E+03/6 | 3.21E+03/7 | 2.74E+03/5 | 1.30E+03/3 | 9.37E+02/2 |
|
| 4.81E+03/8 | 4.24E+03/5 | 4.40E+03/6 | 4.73E+03/7 | 4.23E+03/4 |
| 4.02E+03/3 | 4.01E+03/2 |
|
| 2.61E+00/8 | 1.49E+00/5 |
| 1.71E+00/6 | 8.56E-01/3 | 2.47E+00/7 | 7.76E-01/2 | 1.36E+00/4 |
|
|
| 1.48E+02/4 | 3.15E+02/7 | 6.96E+02/8 | 1.65E+02/5 | 1.85E+02/6 | 5.07E+01/3 | 3.39E+01/2 |
|
| 2.02E+02/5 | 1.98E+02/4 | 1.75E+02/3 | 7.28E+02/7 | 1.69E+02/2 | 2.68E+02/6 |
|
|
|
| 2.95E+00/2 | 2.86E+01/6 | 1.09E+01/4 | 3.59E+01/7 | 1.26 E+01/5 | 2.30E+02/8 |
| 3.16E+00/3 |
|
| 1.30E+01/3 |
| 1.46E+01/5 | 1.49E+01/6 | 1.31E+01/4 |
| 1.50E+01/7 | 1.29E+01/2 |
|
| 3.03E+02/2 | 3.38E+02/6 | 3.11E+02/3 | 3.68E+02/7 | 3.37E+02/5 | 1.08E+03/8 | 3.19E+02/4 |
|
|
| 6.99E+02/2 | 1.59E+03/4 | 5.46E+03/8 | 3.44E+03/7 | 3.04E+03/5 | 3.17E+03/6 | 1.27E+03/3 |
|
|
| 4.95E+03/5 | 5.25E+03/6 | 5.61E+03/7 | 6.61E+03/8 | 4.84E+03/4 | 4.25E+03/3 | 4.12E+03/2 |
|
|
| 2.85E+02/5 | 2.74E+02/3 | 3.29E+02/8 | 3.27E+02/7 | 2.95E+02/6 |
| 2.68E+02/2 | 2.84E+02/4 |
|
| 2.96E+02/4 | 2.91E+02/3 | 3.55E+02/7 | 3.39E+02/6 | 3.08E+02/5 | 2.75E+02/2 | 2.75E+02/2 |
|
|
| 3.35E+02/6 | 2.68E+02/2 | 3.54E+02/7 | 3.64E+02/8 |
| 3.13E+02/5 | 2.82E+02/3 | 3.10E+02/4 |
|
| 1.09E+03/3 | 9.51E+02/2 | 1.28E+03/5 | 1.37E+03/6 | 1.15E+03/4 | 9.51E+02/2 |
| 1.09E+03/3 |
|
| 4.50E+02/4 | 7.72E+02/5 | 4.76E+03/8 | 4.53E+03/7 | 1.27E+03/6 |
| 3.00E+02/2 | 4.01E+02/3 |
|
| 3.82 | 3.82 | 5.25 | 6.54 | 3.68 | 4.43 | 2.68 |
|
| 15/6/7 | 15/5/8 | 18/3/7 | 19/3/6 | 16/6/6 | 17/3/8 | 13/6/9 |
|
Fig 2The average convergence curve of the algorithm under different calculation examples ((1)-(28) correspond to functions f1-f28 respectively).
Fig 3Comparison statistics of algorithm running time under different algorithm.