Abstract
The Aquila optimization (AO) algorithm has the drawbacks of local optimization and poor optimization accuracy when confronted with complex optimization problems. To remedy these drawbacks, this paper proposes an Enhanced aquila optimization (EAO) algorithm. To avoid elite individual from entering the local optima, the elite opposition-based learning strategy is added. To enhance the ability of balancing global exploration and local exploitation, a dynamic boundary strategy is introduced. To elevate the algorithm’s convergence rapidity and precision, an elite retention mechanism is introduced. The effectiveness of EAO is evaluated using CEC2005 benchmark functions and four benchmark images. The experimental results confirm EAO’s viability and efficacy. The statistical results of Freidman test and the Wilcoxon rank sum test are confirmed EAO’s robustness. The proposed EAO algorithm outperforms previous algorithms and can useful for threshold optimization and pressure vessel design.
Keywords
Introduction
Optimization is the process of determining which of all the possible solutions, given certain limitations, is the optimum alternative. When a problem has multiple solutions, optimization can be applied. This problem is called the optimization problem. The objective function, decision variable, and constraint condition make up its fundamental three elements. The objective function helps the solution measure what is optimal. The decision variable can change the optimization result by adjusting its value in a controllable range. Constraints are the limits on these decision variables. Optimization problems [1] can be divided into constrained and unconstrained problems, continuous optimization problems and discrete optimization problems, stochastic optimization problems and deterministic optimization problems, linear programming problems and nonlinear programming problems, convex optimization problems and non-convex optimization problems, global optimization problems and local optimization problems. The stochastic optimization problem refers to the objective function or constraint function involving random variables with uncertainty. Deterministic optimization problems do not contain random variables, and the optimization result of the problem is fixed. The linear programming problem refers to the fact that both the objective function and the constraint function are linear functions. It is easy to solve, and the main methods are the simplex method and the interior point method. Any optimization problem that maximizes a concave function on a convex set or minimizes a convex function on a convex set is called a convex optimization problem. If the function domain is not a convex set or the objective function is not a convex function, then the corresponding optimization problem is a non-convex optimization problem.
The problem that the decision variable’s value should be taken under certain limitations in order to get the chosen objective function to attain the optimal value is referred to as the optimal method. In the mathematical sense, the goal of an optimization method is to maximize or minimize the objective function’s value while staying within the bounds of a given set of equations or inequalities. The matching algorithm type is chosen based on the optimization problem’s features in order to find the best solution. Algorithm type can be separated into two categories: precise optimization algorithms and approximate optimization algorithms. The problem scale and operation time requirements for a precision optimization algorithm are very high. An algorithm that can provide a reasonably good solution in an appropriate period and effectively balance the quality of the solution and the operation time is known as an approximate optimization method. The most popular of these is the approximate optimization algorithm’s meta-heuristic algorithm. Although finding the ideal solution is not assured, the meta-heuristic algorithm is independent of the problem. It now places greater emphasis on the quality of the objective function’s solution than it does on the problem itself. It balances exploration and exploitation capacities [2] in addition to not requiring gradient information [3]. Numerous study findings demonstrate that the meta-heuristic algorithm has the advantages of self-adaptation, parallelism, robustness, and solving ability. Moreover, when dealing with multi-variable multi-dimensional optimization problems that are not limited by dimension, the meta-heuristic algorithm does not need to know the mathematical characteristics of the optimal solution of the optimization problem, and directly finds the optimal solution of the optimization problem [4]. Although it is not guaranteed that the optimal solution can be obtained, it can obtain the solution closest to the optimal solution in the shortest time, and it can use random processes to obtain the optimal output [5]. Therefore, it has been widely used. But the meta-heuristic algorithm must balance exploration and exploitation abilities to play a better role. Excessive exploration will slow down the rate of convergence, while excessive exploitation may lead to local optimality. Because of the method’s randomness, a partial meta-heuristic algorithm may have good exploitation capabilities but not enough exploration capabilities, causing it to remain locally optimal. Alternatively, it may have excellent exploration capabilities but insufficient exploitation capabilities. Furthermore, the No Free Lunch (NFL) theory [6] asserts that meta-heuristic algorithms cannot consistently outperform on all optimization problems [7]. This means that no algorithm is capable of solving all issues optimally, while other algorithms are only suboptimal at solving specific problems optimally. To address a particular problem, it is important to create a new or enhanced high-performance algorithm. Interested readers can refer to [11–13] for a detailed list and a detailed survey of meta-heuristic algorithms proposed over the last fifty years.
A meta-heuristic algorithm named AO algorithm was proposed by Laith Abualigah in 2021 [9]. Table 1 lists some new meta-heuristic algorithms proposed by Laith Abualigah. The algorithm simulates various hunting behaviors of Aquila in nature. The global exploration ability of the algorithm reflects the fast-moving hunting strategy, and the algorithm’s ability to exploit locally impacts the slow-moving hunting strategy [10]. Moreover, accurate results are obtained in realizing many kinds of optimization problems. Despite the author’s showing the effectiveness of AO’s search on a variety of test functions, the Aquila optimizer’s solution quality and its ability to balance exploration and exploitation could still be improved. Exploration is the process of choosing novel algorithmic solutions [8]. Stronger exploration means the algorithm is more likely to explore uncharted solution regions, increasing the likelihood that it may discover better solutions. Exploration is often frequent in the early stages of the algorithm and gradually decreases with the iteration of the algorithm to make more use of existing optima solutions. Exploitation refers to the use of known optimal solutions in an algorithm. Higher exploitation means that the algorithm is more inclined to use a known good solution in order to expect further optimization around that solution. Exploitation can hasten the convergence of algorithms to local optima, but it can also cause them to miss the global optima and fall into local optima. To balance the exploration and exploitation abilities of the algorithm, the advantages of each strategy can be combined into one algorithm, and the disadvantages of the algorithm can be eliminated while the advantages are utilized. Numerous academics have developed different strategies to remedy its flaws and enhance AO’s effectiveness. To improve the exploration and exploitation capabilities of AO, Serdar Ekinci et al. used the Nelder-Medad search method and stochastic learning mechanism, proposed the bAO (balanced Aquila optimizer), and applied it to air-fuel ratio system management [14]. By adopting opposition-based learning and the chaotic local search with shrinking strategy into the CmOBL-AO algorithm, Serdar Ekinci et al. improved the performance of the vehicle cruise control system [15]. Serdar Ekinci et al. merged the aforementioned two ideas to improve AO. They utilized the Nelder-Mead simplex search strategy, modified the opposition-based learning mechanism, and then applied it to automatic voltage regulator control [16].
New meta-heuristic algorithms proposed by Laith Abualigah
New meta-heuristic algorithms proposed by Laith Abualigah
The aforementioned papers use different strategies to improve AO. In this paper, to heighten the optimization performance of AO, the EAO algorithm is proposed. Although the number of iterations in the exploration phase is 2/3 of the total number of iterations in the AO algorithm, the exploitation phase is usually not enough. The elite retention strategy with strong exploitation ability is used to grant exploitation ability greater significance. The optimum value is the primary driver of the AO position update mode; if the optimal value is local optimal, the entire algorithm will switch to local search. The elite opposition-based learning strategy is used to prevent the optimum solution from slipping into the local optimal and to enhance the global aspect of the optimal solution. This increases the population’s diversity and broadens the algorithm’s exploration stage. It also helps the algorithm fairly balance its exploration and exploitation capabilities, thereby raising the likelihood that the global solution will be discovered sooner. After several iterations of solving the function, the population will be approaching the optimal solution. The fixed upper and lower bounds cannot play a good constraint role in the late iteration. So, the dynamic boundary strategy is introduced to balance exploration and exploitation abilities. It also increases convergence speed. The CEC2005 test function optimization is handled by EAO to validate its effectiveness. EAO is also used to solve threshold optimization problems and pressure vessel design problems. Compared with several meta-heuristic algorithms, the superiority and practicability of EAO are fully verified.
The significant ideas are briefly outlined here. The elite opposition-based learning strategy, dynamic boundary strategy, and elite retention mechanism are used to improve the optimization performance of AO. On the CEC2005 benchmark function, EAO’s performance is validated by comparison with other optimization algorithms. Kapur entropy is used as the objective function by five meta-heuristic algorithms, including EAO. Then the threshold is selected according to the image histogram. The results attest to the efficacy of EAO in practical application. The efficiency of EAO algorithm is examined for solving the engineering design problems.
AO algorithm’s mathematical model is introduced in Sect. 2. Section 3 describes the EAO algorithm. The concepts of Kapur entropy and pressure vessel are described in Sect. 4. The EAO’s superiority is proven in Sect. 5. The summary and prospect are described in Sect. 6.
The AO algorithm, which imitates the seeking and catching prey behavior of the Aquila, is divided into four stages: broad exploration, limited exploration, broad exploitation, and narrowed exploitation.
Expanded exploration (X1)
The Aquila performs a high soar with a straight stoop in this step. Equation (1) expresses this strategy.
Where Pos1(t + 1) generated by the first method on t + 1 iteration, Pos
best
(t) is the optimal solution obtained by the t iterations, Pos
M
(t) is the mean position of the population at the T iterative. N and Dim stand in for the array numbers and array dimensions of the arrow, respectively.
where Dim is the dimension size of the problem and N is the number of candidate solution.
The Aquila catches the prey in this step by contouring the flight with a short slide strike. Equation (3) expresses this strategy.
Where, Pos2 (t + 1) generated by the second method on t + 1 iteration; Levy (Dim) is the levy distribution function. Pos
R
(t) is a random solution in the t iteration; y and x represent the spiral shape in the search; rand is a random value of (0,1).
where s is a constant value fixed to 0.01, u and v are random numbers between 0 and 1. σ is calculated using Equation (5).
where β is a constant value fixed to 1.5. y and x are used to present the spiral shape in the search, which are calculated as follows.
where
Where r1 takes a value between 1 and 20 for fixed the number of search cycles, and U is a small value fixed to 0.00565. Dim1 is integer numbers from 1 to the length of the search space, and ω is a small value fixed to 0.005.
The Aquila executes a low fly with a gradual decline in attack in this step. Equation (11) expresses this strategy.
Where Pos3 (t + 1) generated by the second method on t + 1 iteration; The upper and lower bounds of population location is represented Ub and Lb, respectively. α and δ are fixed value of 0.1.
This strategy is known as moving and catching prey. Hunting huge prey use this strategy. Equation (12) is a mathematical expression of this method.
Where, Pos4 (t + 1) generated by the second method on t + 1 iteration; QF represents the quality function used to balance the search strategy. G1 represents the various movements that a predator uses to track its prey during hunting. G2 is a decreasing value from 2 to 0 that represents the flight gradient of the AO as it follows the prey from the first to the last position. t and T represent the current and maximum iterations, respectively.
The Aquila individuals are represented by the blue particles in Fig. 1, while the prey, or the optimal position, is represented by the red. Figure 1(a) shows that the Aquila individuals are more decentralized in the search space at the beginning of the iteration. Currently, population diversity is better, and the population has powerful global search capabilities.

The location distribution of the population in different periods.
Figure 1 (b)–(d) shows Aquila individuals influenced by the preceding generation’s position constantly approach optimal as iterative searches carry out. This behavior reduces the diversity of populations. If the optimal particle at this time is a local optimum, AO will easily fall into the local optimum. Therefore, an elite opposition-based learning strategy is introduced to prevent the best solution from falling into the local optimum.
Seeking a balance between exploitation and exploratory abilities is the core of meta-heuristic algorithms. The quality of the optimal solution will be further enhanced if both of abilities are balanced effectively [26, 27]. To better balance the two abilities, a dynamic boundary strategy is presented. Worst Individual fitness will have an impact on the next generation position update and decrease the optimization accuracy during the algorithm iteration period. Therefore, the elite retention strategy is designed to improve the optimization accuracy and global convergence ability. Algorithm 1 shows the pseudocode of EAO. Figure 2 shows the detailed flow chart of EAO.

Flow chart of EAO.
Algorithm 1 The pseudocode of EAO
Tizhoosh proposed the Opposition-Based Learning (OBL) strategy in 2005. The study found that the reverse solution has a 50% better chance of achieving the global ideal than the current solution [28]. Because elite individuals possess more serviceable information than other popular individuals, the reverse solution generated by elite individuals through opposite learning is more likely to be close to the global optimal solution. This method is called Elite Opposition-Based Learning (EOBL). It not only increases the quality of the solution and the diversity of the population but also prevents the algorithm from entering the precocious.
For the optimal solution Pos
best
in the solution space, there is always the corresponding reverse solution Pos
best
*, which is calculated by Eq. (16). If the fitness value of Pos
best
* is better than Pos
best
’s fitness value, Pos
best
* is updated to the optimal solution. The pseudocode for this procedure is shown in Algorithm 2.
Algorithm 2 The pseudocode of EOBL
In 2022, Jiankai Xue et al. proposed a dung beetle optimization algorithm by simulations the foraging behavior of dung beetles in nature [29]. To provide a safe environment for their larvae, female dung beetles must carefully select where to lay their eggs. Inspired by this, the author presented a dynamic boundary strategy. Equation (17) shows its mathematical expression, and Fig. 3 shows its conceptual model. The black circle symbolizes the population individuals, the red circle represents the upper and lower boundaries of the search range, and the brown circle represents the current local optimal location Pos best . The R-value has a significant role in determining the dynamic boundary range. Dynamic boundary can optimize the algorithm’s convergence accuracy and convergence speed. Algorithm 3 shows its pseudocode.

Conceptual model of dynamic boundary strategy.
Where, Lb* and Ub* respectively represent the upper and lower bounds of the optimal hunting region, R = (1-t)/T.
Algorithm 3 The pseudocode of dynamic boundary
The worst individual will impact the algorithm’s ability to optimize, thus the worst individual in the current iteration will be replaced by the best individual. The elite retention mechanism can prevent the best individual from being lost or destroyed. It improves the convergence rate and ability of global convergence of algorithm. And the pseudocode of elite retention mechanism is shown in Algorithm 4.
Where Pos worst is the worst individual.
Algorithm 4 The pseudocode of elite retention
Threshold optimization based on EAO
The threshold selection method [30] based on the image histogram has outstanding stability and easiest implementation. It is a commonly used parallel region technology. Single threshold selection is to traverse the 0-L gray value of the image, then obtain the result table and sort it after L times of calculation. The gray value corresponding to the optimal result in the result table is the threshold to be selected. Finally, the target and background regions are separated using the best threshold. Twice threshold selected have L*L combinations, so need L2 calculations to obtain the optimal threshold. In this manner, L K times must be calculated for K threshold selection. Calculation time of multi-threshold selection increases exponentially as the number of thresholds increases. The exhaustive search for the optimal threshold is an NP-hard combinatorial optimization problem with a relatively low accuracy [31]. The challenge of choosing the appropriate threshold can be designed as a restricted optimization problem to reduce calculating time. The EAO algorithm optimizes the threshold selected approach as the objective function. Kapur entropy is the most commonly used threshold selection method [32]. Therefore, EAO combined with Kapur entropy is used to select the threshold.
Kapur entropy
In information theory, entropy is a physical variable used to measure the uniformity of distribution. The greater the entropy, the more uniform the distribution [33]. In image, entropy represents tightness and separateness between image categories [34]. Kapur entropy finds threshold pixel by the probability distribution of the gray histogram, so that the distribution of information between the target region and the background region in the image is the largest [35].
For the multilevel threshold selected problem, let the threshold be M = (m1, m2, . . . , m
K
|0≤m1 < m2 < ... < m
k
≤L), where K is the threshold number. Each threshold corresponds to an entropy value. The entropy values corresponding to the K thresholds are H0, H1,... H
K
, Kapur entropy expression between different classes is as follows Equation (19):
The set of thresholds with the maximum entropy of formula Equation (20) is the optimal threshold:
In this paper, Kapur entropy is regarded as the fitness function of EAO. EAO can reduce the time and space complexity of Kapur entropy finding thresholds. The position of the Aquila is the threshold. The gray level 0 is the lower bounds and gray level 255 is upper bounds in threshold optimization problem. The algorithm flow chart is shown in Fig. 4.

Threshold optimization flow chart based on EAO.
Pressure vessel design is a typical constrained optimization problem. It is challenging to resolve because it is an entirely nonlinear and integer programming problem. The goal of this problem is to minimize the total capacity cost of the container design on the premise of pressure resistance. The pressure vessel diagram is shown in Fig. 5. L is the length of the section, R is the radius of the inner wall, and T s and T h are the wall thickness of the cylinder and the wall thickness of the head, respectively. L, R, T s , and T h are the four optimization variables of the pressure vessel design problem.

Pressure vessel diagram.
The objective function of the problem is expressed as follows Equation (22).
The target constraints are as follows.
When an algorithm is used to solve the test function, it is actually solving the unconstrained optimization problem [36]. According to the search pattern, the smallest value of function corresponds to the location where the eagle is searching for its prey. To verify the feasibility and effectiveness of the proposed EAO algorithm, EAO is compared with other algorithms on sixteen CEC2005 benchmark functions. These comparison algorithms fall into two groups: EAO variants and some classical metaheuristic algorithms. To reduce the error caused by randomness, the mean, standard deviation, and ideal value of each algorithm run separately 30 times are recorded. And the best value of each function is highlighted in bold. To ascertain whether there were statistically significant differences between the data, the Friedman test and Wilcoxon rank sum test were utilized. For a random block design, the Friedman test is used to determine whether there is a difference between various population distributions from various associated samples [37]. It works well with non-parametric, irregularly distributed data. The Wilcoxon rank sum test is based on the rank sum of sample data and is a common nonparametric statistical method used to compare the equality of two related or independent samples [38]. Because it does not make special assumptions about data distribution, it can be applied to complex data distribution. In all test experiments, the maximum number of iterations was set to 500 and the population size to 30. All simulation experiments are based on Windows10 64-bit operating system, 2.40GHz CPU, 8GB memory. And Matlab R2017b software is used to compile and run.
Ablation analysis: Strategy effectiveness
As described in Sect. 3, EAO improves the performance of AO by introducing three strategies: elite opposition-based learning strategy, dynamic boundary strategy and elite retention mechanism. To verify the effectiveness of the three strategies is the goal of this selection. To do this, this paper carry out three accessional experiments. EAO only adopted the elite opposition-based learning strategy in the first experiment, and named this algorithm as EOBL-AO (Elite Opposition-Based Learning AO). In the second experiment, EAO only adopted the dynamic boundary strategy and named this algorithm DB-AO (Dynamic Boundary AO). In the third experiment, only the elite retention mechanism was used, and the algorithm was named ER-AO (Elite Retention mechanism AO). The parameters of these three algorithms are the same as those of AO. Table 2 lists the results of the five algorithms on 16 benchmark functions and the ranking of the Friedman test. Figure 6 shows the convergence curves of the five algorithms on partial reference functions.

Convergence comparison diagram of algorithms using different strategies.
Experimental results among different algorithm
As can be seen from Table 2, EAO obtains six optimal means, seven optimal standard deviations and six optimal values, and the Friedman test result is the first, indicating that the combination of three strategies can make AO achieve better results. For the unimodal function F1-F2, the elite retention mechanism plays a more promoting role than the other two strategies. For multi-modal functions F12-F14, the elite opposition-based learning strategy provides great help to EAO optimization. For fixed multi-peak function F15-F17, the dynamic boundary strategy improves the convergence accuracy of EAO. From the Friedman test ranking, it can be seen that the algorithms using the three strategies are ranked superior to AO, indicating that the three strategies play a role in most functions, and the elite retention mechanism serving a more promotional effect than the other two strategies.
As shown in Fig. 6, ER-AO converges faster on unimodal functions. In other words, the convergence performance of EAO mainly depends on the elite retention mechanism. On multi-modal functions, the EOBL-AO algorithm and DB-AO algorithm greatly promote the convergence speed of EAO, indicating that the elite opposition-based learning strategy and dynamic boundary mechanism can make EAO have better optimization effect. The convergence graphs of F6 and F12 functions clearly show the ability of the algorithm to jump out of local optimal in the later iteration, indicating that the three strategies can help EAO to get rid of local optimal stagnation. On the fixed multi-peak function, there is almost no difference between the convergence curves of the algorithms, which shows that the three strategies can not only ensure the efficiency of convergence speed, but also improve the convergence accuracy of the algorithms.
To further verify the accuracy and reliability of EAO algorithm, the performances of EAO, AO, Firefly algorithm (FA) [39], Fruit Fly Optimization Algorithm (FOA) [40] and Tunicate Swarm Algorithm (TSA) [41] are compared on 16 benchmark functions. The parameter settings of each algorithm are shown in Table 3. FOA has no extra parameters to set. Table 4 shows the statistical results of the five algorithms and the Friedman rank test results. The convergence curves of the five algorithms are shown in Fig. 7.

Convergence diagram of five algorithms.
Parameter values of each algorithm
Comparison between EAO and other algorithms on the benchmark function
As can be seen from Table 4, on unimodal function, EAO is optimal compared with other algorithms except for function F5. On multimodal functions, EAO reaches theoretical optimality for both F9 and F11 functions. However, on functions F13 and F14, EAO is inferior to AO and FA, respectively. On the fixed multimodal function F16, EAO is less than an order of magnitude worse than FA. As can be seen from the Friedman test ranking, the average ranking of EAO is the first. In most functions, EAO has better optimization ability than other algorithms.
As shown in Fig. 7, EAO converges quickly before 50 iterations, indicating that EAO is highly sensitive to the optimal value and can quickly find the optimal value region. For F15 function, the early convergence rate of EAO is lower than FA, but the convergence curve of EAO has many turning points, indicating that EAO has the ability to jump out of the local optima. After 400 iterations, the convergence speed and convergence accuracy of EAO are gradually better than that of FA. Every turn of the convergence curve of functions F6, F9, F12 reflects the ability of the algorithm to jump out of the optimal. Compared with the four algorithms, EAO has advantages in convergence speed and convergence accuracy, but it needs to be further enhanced in F5, F13 functions optimization problems.
To determine whether the EAO results are statistically significantly different from the best results of other algorithms, the Wilcoxon rank sum test [42] was used in this paper, and was conducted at the significance level of 0.05. Table 5 is plays the Wilcoxon rank sum test P-values for EAO and other methods on 16 benchmark functions. “R” is the result of significance judgment. The performance of EAO is better than, worse than or equal to other algorithms is respectively symbolized as “+”, “–” and “=”. NAN indicates that the optimization indexes of EAO algorithm and comparison algorithm are equal, and significance judgment cannot be made. p < 0.05 indicates that there are significant differences between the two comparison algorithms.
Wilcoxon rank sum test results of EAO and other algorithms
Wilcoxon rank sum test results of EAO and other algorithms
As can be seen from Table 5, EAO performs much better than other algorithms on unimodal functions. This demonstrates the reliability of EAO’s test results and demonstrates EAO’s ability to exploit. On the F9-F11 multimodal function, there is not a significant distinction between EAO and AO. On the fixed multimodal function F15-F17, the R value of EAO versus AO is “=”. The optimization performance of EAO is better than that of AO in terms of mean value, variance, and ideal value, but there is no discernible difference between them because the improvement space is not very wide. Compared with FA, the R value of EAO on F16-F17 is “–”, which indicates that EAO has weak exploration ability on fixed multimodal functions.
The efficiency of an algorithm can be measured by the time complexity and the space complexity. In most cases, the time complexity of the algorithm is compared. As can be seen from the flow chart in Fig. 2, EAO mainly consists of the following parts. Population initialization, time complexity is O(N). Calculate the fitness function and the global optimal solution, and the time complexity is O(f(Dim)). The time complexity of updating population location is O(T*N)+O(T*N*Dim); Both the reverse elite solution and the elite retention time complexity are O (1). To determine whether the algorithm stops iteration, the time complexity is O (1).
Therefore, the time complexity of EAO algorithm is O(N*(T*Dim+1)), which is the same as the time complexity of AO algorithm [14], which means that EAO does not sacrifice operation efficiency in exchange for performance improvement.
Application for threshold optimization
To further verify the effectiveness of EAO, four groups of test images [43] as shown in Fig. 8 were selected for experiments.

The selected images and its corresponding histogram.
Three standard metrics, Peak Signal to Noise Ratio (PSNR) [44], Structural Similarity index (SSIM) [45], and Feature Similarity index (FSIM) [46], are chosen to quantitatively evaluate the selected threshold performance of each algorithm, as shown in Tables 6–8. The larger the three indicators, the better the selected threshold.
Table 6–8 shows that the Kapur entropy based EAO algorithm achieves greater FSIM and SSIM values than other algorithms for K = 8,10. It shows that EAO is more effective in high-dimensional threshold. The PSNR value obtained cannot clearly show the advantage of EAO. Therefore, to reflect the differences among algorithms, Friedman test was performed on the data in Table 6–8. The test results are shown in Fig. 9. Figure 9 shows that the ranking of the three indicators is highest when the threshold value of EAO is 8, 10, demonstrating that EAO is more favorable and stable in the selection of high-dimensional threshold.

Friedman test ranking of five algorithms on FSIM, SSIM, PSNR.
FSIM values of image segmentation by different algorithms
SSIM values of image segmentation by different algorithms
PSNR values of image segmentation by different algorithms
Set the population dimension to 4, which is the fourth parameter of x. The value ranges of x1, x2, x3 and x4 are set to the upper boundary [100,100,100,100] and lower boundary [0,0,10,10] of the population. If x1, x2, x3 and x4 satisfy the target constraint, the position of the individual in the population is the value of x1, x2, x3 and x4.
Through 30 independent experiments, the mean value and average running time of each algorithm were calculated. The Table 9 shows that the fitness value of EAO is the smallest compared with other algorithms; this means that using EAO to find a set of pressure vessel parameters that adhere to the constraints will reduce the cost of production. TSA and FOA take less time than EAO in terms of time. It shows that EAO sacrifices convergence speed in exchange for higher convergence accuracy. The convergence speed of EAO can be effectively improved by improving population initialization, optimizing individual iteration updates by strategy, or combining the advantages of the two algorithms.
The results of different algorithms in pressure vessel design
The results of different algorithms in pressure vessel design
In this paper, by adding elite opposition-based learning, boundary selection, and elite retention mechanisms to the AO algorithm, a new algorithm, EAO, is proposed. The algorithm avoids the population falling into the local optima, guarantees population diversity, and has the advantages of fast convergence speed and high convergence accuracy. According to the experimental results on the CEC2005 test set, the convergence speed and accuracy of EAO are better than those of AO and other meta-heuristic algorithms. To further verify its performance, EAO is used to deal with threshold optimization problems and pressure vessel design problems. The PSNR, SSIM, and FSIM values and Friedman test rankings obtained by EAO at high-dimensional thresholds are the highest. In the design of pressure vessels, EAO can achieve lower design costs. At the same time, EAO has some shortcomings. On most functions, EAO does not reach the theoretical optimal value. Although the mean and variance of EAO were better than AO on F15–F17, there was no statistically significant difference on the Wilcoxon rank sum test. EAO has the problem of low precision in the selection of low-dimensional thresholds. Compared with other algorithms, it takes too long to solve the pressure vessel problem. By getting the algorithm multi-targeted and incorporating various local search and global exploitation methods into EAO, it hopes that future studies will increase the convergence accuracy, optimization ability, and robustness of the algorithm and then apply it to new application domains.
Footnotes
Acknowledgments
This study is supported by the Natural Science Foundation of China under Grant No.62273290.
Compliance with ethical standards
The authors confirm that no conflict of interest has existed.
