Among these benchmark functions, the first seven benchmark functions, F1–F7, are simpler, while the last eight benchmark functions, F8–F15, are more complex. The dimension of these benchmark functions is 30 dimensions and 50 dimensions. The population size of all algorithms is set to 30, the maximal iteration of all algorithms is set to 500, and all experimental data are measured on the same computer to ensure a fair comparison between different algorithms. In order to avoid the randomness of the algorithm, each algorithm in this paper will be run on each test function 30 times. At the same time, the mean, standard deviation, and minimum and maximum values of the running results are recorded.
4.1. Compare with Other Swarm Intelligence Algorithms
In the comparison between pGWO-CSA and other swarm intelligence algorithms, PSO [
29], DE [
30], and FA [
31] are selected to compare with pGWO-CSA. For each algorithm, the function optimization task is performed on the test functions F1–F15 in 30 dimensions and 50 dimensions, and the mean, standard deviation, and minimum and maximum values of the running results are recorded. The main parameters of the PSO, DE, FA, and pGWO-CSA are shown in
Table 2.
In 30 dimensions, the test results of these four algorithms on test function F1–F15 are shown in
Table 3. The convergence curves of these four algorithms on test function F1–F15 are recorded in
Figure 5a,
Figure 6a,
Figure 7a,
Figure 8a,
Figure 9a,
Figure 10a,
Figure 11a,
Figure 12a,
Figure 13a,
Figure 14a,
Figure 15a,
Figure 16a,
Figure 17a,
Figure 18a and
Figure 19a.
In terms of the performance of the mean. Sort by the number of optimal values. The pGWO-CSA ranked first with 13 optimal values. PSO and DE tied for second place with one optimal value. FA ranked fourth with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 14 out of 15 test functions, and PSO outperformed pGWO-CSA only in test function F14. Compared with DE, pGWO-CSA outperformed DE in 14 out of 15 test functions, and DE outperformed pGWO-CSA only in test function F6. Compared with FA, pGWO-CSA outperformed FA in all 15 test functions.
In terms of the performance of the standard deviation. Sort by the number of optimal values. The pGWO-CSA ranked first with 11 optimal values. PSO ranked second with three optimal values. FA ranked third with one optimal value. DE ranked fourth with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 11 out of 15 test functions, and PSO outperformed pGWO-CSA in test functions F5, F6, F8, and F14. Compared with DE, pGWO-CSA outperformed DE in 13 out of 15 test functions, and DE outperformed pGWO-CSA in test functions F6 and F8. Compared with FA, pGWO-CSA outperformed FA in 14 out of 15 test functions, and FA outperformed pGWO-CSA only in test function F6.
In terms of the performance of the minimum. Sort by the number of optimal values. The pGWO-CSA ranked first with 13 optimal values. PSO ranked second with four optimal values. DE and FA tied for third place with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 11 out of 15 test functions, and PSO outperformed pGWO-CSA in test functions F7 and F14. In addition, the minimum values of pGWO-CSA and PSO are the same on the test functions F9 and F12, and both pGWO-CSA and PSO find the minimum values of the functions. Compared with DE and FA, pGWO-CSA outperformed DE and FA in all 15 test functions.
In terms of the performance of the maximum. Sort by the number of optimal values. The pGWO-CSA ranked first with 12 optimal values. DE ranked second with two optimal values. PSO ranked third with one optimal value. FA ranked fourth with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 14 out of 15 test functions, and PSO only outperformed pGWO-CSA in test function F14. Compared with DE, pGWO-CSA outperformed DE in 13 out of 15 test functions, and DE outperformed pGWO-CSA in test functions F6 and F8. Compared with FA, pGWO-CSA outperformed FA in 14 out of 15 test functions, and FA outperformed pGWO-CSA only in test function F6.
In addition, the pGWO-CSA can find theoretical optimal values on the test functions F9, F11, and F12. In the test functions F1, F2, F3, F4, F10, F11, F13, and F15, pGWO-CSA is superior to PSO, DE, and FA in terms of the mean, standard deviation, and minimum and maximum. Although PSO outperformed pGWO-CSA in the mean, standard deviation, and minimum and maximum on test function F14, pGWO-CSA still outperformed DE and FA on test function F14.
In 50 dimensions, the test results of these four algorithms on test function F1–F15 are shown in
Table 4. The convergence curves of these four algorithms on test function F1–F15 are recorded in
Figure 5b,
Figure 6b,
Figure 7b,
Figure 8b,
Figure 9b,
Figure 10b,
Figure 11b,
Figure 12b,
Figure 13b,
Figure 14b,
Figure 15b,
Figure 16b,
Figure 17b,
Figure 18b and
Figure 19b.
In terms of the performance of the mean. Sort by the number of optimal values. The pGWO-CSA ranked first with 13 optimal values. PSO and FA tied for second place with one optimal value. DE ranked fourth with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 14 out of 15 test functions, and PSO outperformed pGWO-CSA only in test function F14. Compared with DE, pGWO-CSA outperformed DE in all 15 test functions. Compared with FA, pGWO-CSA outperformed FA in 14 out of 15 test functions, and FA outperformed pGWO-CSA only in test function F6.
In terms of the performance of the standard deviation. Sort by the number of optimal values. The pGWO-CSA ranked first with 11 optimal values. PSO ranked second with three optimal values. FA ranked third with one optimal value. DE ranked fourth with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 11 out of 15 test functions, and PSO outperformed pGWO-CSA in test functions F5, F6, F8, and F14. Compared with DE, pGWO-CSA outperformed DE in 14 out of 15 test functions, and DE outperformed pGWO-CSA only in test function F8. Compared with FA, pGWO-CSA outperformed FA in 14 out of 15 test functions, and FA outperformed pGWO-CSA only in test function F6.
In terms of the performance of the minimum. Sort by the number of optimal values. The pGWO-CSA ranked first with 11 optimal values. PSO ranked second with four optimal values. FA ranked third with two optimal values. DE ranked fourth with zero optimal values. Compared with PSO, pGWO-CSA outperformed PSO in 11 out of 15 test functions, and PSO outperformed pGWO-CSA in test functions F7 and F14. In addition, the minimum value of pGWO-CSA and PSO are the same on the test functions F9 and F12, and both pGWO-CSA and PSO find the minimum values of the functions. Compared with DE, pGWO-CSA outperformed DE in all 15 test functions. Compared with FA, pGWO-CSA outperformed FA in 13 out of 15 test functions, and FA outperformed pGWO-CSA in test functions F6 and F8.
In terms of the performance of the maximum. Sort by the number of optimal values. The pGWO-CSA ranked first with 12 optimal values. PSO, DE, and FA are tied for second place with one optimal value. Compared with PSO, pGWO-CSA outperformed PSO in 14 out of 15 test functions, and PSO only outperformed pGWO-CSA in test function F14. Compared with DE, pGWO-CSA outperformed DE in 14 out of 15 test functions, and DE only outperformed pGWO-CSA in test function F8. Compared with FA, pGWO-CSA outperformed FA in 14 out of 15 test functions, and FA outperformed pGWO-CSA only in test function F6.
In addition, pGWO-CSA can find theoretical optimal values on the test functions F9, F11, and F12. In the test functions F1, F2, F3, F4, F9, F10, F13, and F15, pGWO-CSA is superior to PSO, DE, and FA in terms of the mean, standard deviation, and minimum and maximum. Although pGWO-CSA is not as good as FA on test function F6 and as good as PSO on test function F14, pGWO-CSA still outperformed the other two swarm intelligence algorithms on these two functions.
Based on the above data and analysis, pGWO-CSA has faster convergence speed, higher accuracy, and better ability to jump out of local optimum compared with other swarm intelligence algorithms in either 30 or 50 dimensions. In order to further verify the performance of pGWO-CSA, we will next compare pGWO-CSA with GWO and its variants.
4.2. Compare with GWO and Its Variants
In order to further verify the performance of pGWO-CSA, pGWO-CSA is compared with GWO [
5] and its variants OGWO [
27], DGWO1, and DGWO2 [
28] on the test functions F1–F15 in 30 dimensions and 50 dimensions. The main parameters of pGWO-CSA, GWO, OGWO, DGWO1, and DGWO2 are shown in
Table 5.
In 30 dimensions, the test results of these five algorithms on test function F1–F15 are shown in
Table 6, with the optimal values highlighted in bold. The convergence curves of these five algorithms on test function F1–F15 are recorded in
Figure 20a,
Figure 21a,
Figure 22a,
Figure 23a,
Figure 24a,
Figure 25a,
Figure 26a,
Figure 27a,
Figure 28a,
Figure 29a,
Figure 30a,
Figure 31a,
Figure 32a,
Figure 33a and
Figure 34a.
In 50 dimensions, the test results of these five algorithms on test function F1–F15 are shown in
Table 7. The convergence curves of these five algorithms on test function F1–F15 are recorded in
Figure 20b,
Figure 21b,
Figure 22b,
Figure 23b,
Figure 24b,
Figure 25b,
Figure 26b,
Figure 27b,
Figure 28b,
Figure 29b,
Figure 30b,
Figure 31b,
Figure 32b,
Figure 33b and
Figure 34b.
In terms of the performance of the mean. Sort by the number of optimal values. The pGWO-CSA ranked first with nine optimal values. DGWO2 ranked second with six optimal values. OGWO ranked third with two optimal values. DGWO1 and GWO tied for fourth place with one optimal value. Compared with GWO, pGWO-CSA outperformed GWO in 14 out of 15 test functions. Compared with OGWO, pGWO-CSA outperformed OGWO in 13 out of 15 test functions, and OGWO outperformed pGWO-CSA only in test function F7. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 14 out of 15 test functions. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in 9 out of 15 test functions, and DGWO2 outperformed pGWO-CSA only in test functions F1, F2, F3, F4, and F14.
In terms of the performance of the standard deviation. Sort by the number of optimal values. The pGWO-CSA and DGWO2 tied for first place with seven optimal values. DGWO1 and OGWO tied for third place with two optimal values. GWO ranked fifth with one optimal value. Compared with GWO, pGWO-CSA outperformed GWO in 11 out of 15 test functions, and GWO only outperformed pGWO-CSA in test functions F7 and F15. Compared with OGWO, pGWO-CSA outperformed OGWO in 13 out of 15 test functions, and OGWO only outperformed pGWO-CSA in test function F7. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 13 out of 15 test functions, and DGWO1 only outperformed pGWO-CSA in test function F15. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in seven out of fifteen test functions, and DGWO2 outperformed pGWO-CSA in test functions F1, F2, F3, F4, F6, F7, and F14.
In terms of the performance of the minimum. Sort by the number of optimal values. The pGWO-CSA and DGWO2 tied for first place with eight optimal values. OGWO ranked third with six optimal values. DGWO1 and GWO tied for fourth place with three optimal values. Compared with GWO, pGWO-CSA outperformed GWO in 12 out of 15 test functions. Compared with OGWO, pGWO-CSA outperformed OGWO in eight out of fifteen test functions, and OGWO outperformed pGWO-CSA only in test functions F4, F7, and F8. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 12 out of 15 test functions. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in seven out of fifteen test functions, and DGWO2 outperformed pGWO-CSA only in test functions F1, F2, F3, F4, and F13.
In terms of the performance of the maximum. Sort by the number of optimal values. The pGWO-CSA and DGWO2 tied for first place with seven optimal values. OGWO ranked third with three optimal values. DGWO1 ranked fourth with two optimal values. GWO ranked fifth with one optimal value. Compared with GWO, pGWO-CSA outperformed GWO in 12 out of 15 test functions, and GWO outperformed pGWO-CSA only in test functions F7 and F15. Compared with OGWO, pGWO-CSA outperformed OGWO in 11 out of 15 test functions, and OGWO outperformed pGWO-CSA only in test functions F6 and F7. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 12 out of 15 test functions, and DGWO1 outperformed pGWO-CSA only in test functions F6 and F15. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in eight out of fifteen test functions, and DGWO2 outperformed pGWO-CSA only in test functions F1, F2, F3, F4, F6, and F14.
In addition, pGWO-CSA can find theoretical optimal values on the test functions F9, F11, and F12. In the test functions F5, F9, F10, F11, and F12, pGWO-CSA is the optimal value among the five algorithms in terms of the mean, standard deviation, and minimum and maximum. Although DGWO2 outperformed pGWO-CSA in the performance of the first four test functions, F1, F2, F3, and F4, pGWO-CSA still outperformed the other three algorithms.
In terms of the performance of the mean. Sort by the number of optimal values. The pGWO-CSA ranked first with eight optimal values. DGWO2 ranked second with six optimal values. OGWO ranked third with three optimal values. DGWO1 and GWO tied for fourth place with one optimal value. Compared with GWO, pGWO-CSA outperformed GWO in 14 out of 15 test functions. Compared with OGWO, pGWO-CSA outperformed OGWO in 11 out of 15 test functions, and OGWO outperformed pGWO-CSA only in test functions F3, F7, and F10. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 14 out of 15 test functions. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in nine out of fifteen test functions, and DGWO2 outperformed pGWO-CSA only in test functions F1, F2, F3, F4, and F14.
In terms of the performance of the standard deviation. Sort by the number of optimal values. The pGWO-CSA ranked first with eight optimal values. DGWO2 ranked second with seven optimal values. OGWO ranked third with two optimal values. GWO ranked fourth with one optimal value. DGWO1 ranked fifth with zero optimal values. Compared with GWO, pGWO-CSA outperformed GWO in 13 out of 15 test functions, and GWO only outperformed pGWO-CSA in test function F7. Compared with OGWO, pGWO-CSA outperformed OGWO in 11 out of 15 test functions, and OGWO only outperformed pGWO-CSA in test functions F3, F7, and F14. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in all 15 test functions. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in seven out of fifteen test functions, and DGWO2 outperformed pGWO-CSA in test functions F1, F2, F3, F4, F7, F10, and F14.
In terms of the performance of the minimum. Sort by the number of optimal values. DGWO2 ranked first with eight optimal values. The pGWO-CSA and OGWO tied for second place with six optimal values. GWO ranked fourth with two optimal values. DGWO1 ranked fifth with one optimal value. Compared with GWO, pGWO-CSA outperformed GWO in 13 out of 15 test functions. Compared with OGWO, pGWO-CSA outperformed OGWO in six out of fifteen test functions, and OGWO outperformed pGWO-CSA in test functions F1, F3, F4, F7, F10, and F13. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 14 out of 15 test functions, and DGWO1 outperformed pGWO-CSA only in test function F6. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in six out of fifteen test functions, and DGWO2 outperformed pGWO-CSA in test functions F1, F2, F3, F4, F13, and F14.
In terms of the performance of the maximum. Sort by the number of optimal values. DGWO2 ranked first with eight optimal values. The pGWO-CSA ranked second with seven optimal values. OGWO ranked third with three optimal values. GWO ranked fourth with one optimal value. DGWO1 ranked fifth with zero optimal values. Compared with GWO, pGWO-CSA outperformed GWO in 12 out of 15 test functions, and GWO outperformed pGWO-CSA only in test functions F7 and F14. Compared with OGWO, pGWO-CSA outperformed OGWO in 10 out of 15 test functions, and OGWO outperformed pGWO-CSA only in test functions F4, F5, F7, and F14. Compared with DGWO1, pGWO-CSA outperformed DGWO1 in 13 out of 15 test functions, and DGWO1 outperformed pGWO-CSA only in test function F15. Compared with DGWO2, pGWO-CSA outperformed DGWO2 in six out of fifteen test functions, and DGWO2 outperformed pGWO-CSA in test functions F1, F2, F3, F4, F5, F7, F14, and F15.
In addition, pGWO-CSA can find theoretical optimal values on the test functions F9, F11, and F12. In the test functions F8, F9, F11, and F12, pGWO-CSA is the optimal value among the five algorithms in terms of the mean, standard deviation, and minimum and maximum. It is not difficult to find from
Table 6 and
Table 7 that DGWO2 performs better than pGWO-CSA in the first four test functions, F1–F4, in both the 30 dimensions and the 50 dimensions. As can be seen from
Table 1, the first four test functions are simple single-peak functions, indicating that DGWO1 performs better than pGWO-CSA in simple single-peak functions. However, compared with the other three algorithms, pGWO-CSA still performs better on the test functions F1–F4.
By comparison, it is not difficult to find that pGWO-CSA performs better than the previous seven test functions, F1–F7, in the following eight test functions, F8–F15, whether in the 30 dimensions or the 50 dimensions. It can be seen that pGWO-CSA performs better in more complex functions, which is largely due to the super-mutation operation carried out by pGWO-CSA, which helps pGWO-CSA better jump out of local optimum.
Based on the above data and analysis, pGWO-CSA has faster convergence speed, higher accuracy, and better ability to jump out of the local optimum compared with GWO and its variants in either 30 or 50 dimensions. In order to further reveal the performance of pGWO-CSA, the Wilcoxon test is performed in
Section 4.3 based on the experimental data in
Section 4.1 and
Section 4.2.