Introduction

Optimization is widely recognized as the most effective approach for identifying optimal solutions within complex domains and for various real-world problems. Over the past few decades, numerous advanced optimization techniques have been developed to address a wide range of optimization challenges1. These techniques can be broadly classified into two categories: deterministic approaches and stochastic approaches. Deterministic approaches, including Newton's method2 and the conjugate gradient method3, typically utilize gradient information to guide the search process. While these methods are effective for functions with a single peak, they often struggle to escape local minima when confronted with complex nonlinear problems. On the other hand, metaheuristic algorithms, which fall under the category of stochastic methods, have emerged as successful alternatives to exact methods for solving real-world optimization problems4. Metaheuristics offer several benefits, including simplicity, problem independence, flexibility, and the ability to operate without requiring gradient information5. Stochastic methods treat the problem as a black box, relying solely on input and output states without the need for derivative information. This characteristic enables them to address various types of optimization problems without fundamentally altering the algorithm's main structure. One notable distinction between traditional deterministic methods and metaheuristic algorithms is that the latter typically employ multiple initial solutions. Importantly, the choice of the early solution does not significantly impact the optimization performance of the technique. This property has garnered significant attention from researchers due to its implications for optimization problem-solving. In summary, metaheuristic algorithms possess desirable qualities that make them highly appealing to researchers. These algorithms are characterized by their generality, enabling them to tackle diverse optimization problems without altering their fundamental framework. Additionally, they exhibit robustness, allowing them to operate effectively without relying on gradient information and utilizing multiple initial solutions.

Metaheuristic algorithms draw inspiration from various sources (as illustrated in Fig. 1), such as Human behavior, physical phenomena, swarm-based, and evolutionary concepts6. Evolutionary-based algorithms, such as Genetic Algorithm (GA)7, Differential Evolution (DE)8, Evolutionary Programming (EP)9, Starling murmuration optimizer10, and quantum-based avian navigation optimizer algorithm11, simulate Darwinian biological evolution. Physics-based algorithms, such as Equilibrium Optimizer (EO)12, Artificial Electric Field Algorithm (AEFA)13, Henry Gas Solubility Optimization (HGSO)14, Slime Mould Algorithm (SMA)15, and others, are inspired by the laws of physics. Swarm-based algorithms, including Particle Swarm Optimization (PSO)16, Artificial Bee Colony (ABC)17, and many more, simulate the collaborative behavior of biological groups in nature. Human- based algorithms, such as Tabu search (TS)18, Teaching–Learning-Based Optimization (TLBO)19, Alpine skiing optimization (ASO)20, and Harmony search (HS)21, derived from some human activities in the community. These nature-inspired metaheuristic algorithms exhibit distinct characteristics, but they all incorporate two crucial phases in the search process: exploration and exploitation6. During the exploration phase, the search agents endeavor to cover the entire target space extensively in order to identify areas that may contain the optimal solution. Subsequently, in the exploitation phase, more focused local searches are conducted to refine the quality and precision of the obtained optimal solution. Maintaining a suitable balance between exploration and exploitation is of paramount importance for a well-designed optimizer. By striking this balance, the algorithm can effectively navigate the search space, ensuring both comprehensive exploration and fine-grained exploitation. This balance enables the optimizer to avoid getting stuck in suboptimal solutions while efficiently converging towards the global optimum. In recent years, various optimization algorithms have been extensively utilized to address several optimization problems such as the multidisciplinary design optimization problem22, the semi-submersible platform boom problem23, and economic load dispatch in large scale power systems24, optimizing the artificial neural network for disease diagnosis25, detecting coronavirus disease 2019 (COVID-19) disease26,27.

Figure 1
figure 1

Classification of meta-heuristic algorithms.

It is important to note that the No Free Lunch (NFL) theorem asserts that no single technique can perform optimally on all problems28,29,30. This motivates academics to suggest new techniques or enhance present ones to address specific optimization challenges. Each algorithm possesses its own strengths and weaknesses, and applying them to different real-world problems can lead to improved results.

One noteworthy algorithm is the Gorilla Troops Optimizer (GTO)31, which has demonstrated superior performance and has been applied in various fields. For instance, it has been used in parameter estimation of solar PV cells32, feature selection for biomedical data33, the probabilistic optimal integration of renewable distributed generators considering the time-varying load34, optimal power flow (OPF) integrating thyristor-controlled series capacitors35, optimal parameters extracting of fuel cell36, automated settings of overcurrent relays considering transformer phase shift and distributed generators37, and more. Despite its successes, GTO still has certain limitations, such as imbalanced exploration and exploitation, a tendency to get trapped in local optima during late iterations, and stronger exploitation capabilities than exploration capabilities. Therefore, many scholars have begun updating and enhancing the performance of the GTO algorithm and applied it to solve many optimization problems and to generate higher-quality solutions from different aspects such as hybrid arithmetic optimization algorithm and GTO (AOA-GTO) algorithm for Micro-Robotics Systems38, opposition-based learning and parallel strategies GTO (OPGTO) for 3D node localization of wireless sensor networks39, Quantum GTO (QGTO) for the optimum tuning of power system stabilizer (PSS) of different structures40, and Memory-based Improved Gorilla Troops Optimizer (MIGTO) for The parameter extraction of the PV model41.

To address the drawbacks of the original GTO and improve its performance, this work proposes a modified version called EGTO. In EGTO, the exploration and exploitation update operators are adjusted to enhance exploration at the beginning of the iteration and convergence to the current optimum at the end. a high and low-velocity ratios strategy is introduced to help escape local optima. To evaluate the efficiency of EGTO, it is compared against TSO, GWO, GBO, ARO, POA, RUN, and original GTO algorithms on 23 benchmark functions with different dimensions and CEC2019 benchmark functions. Furthermore, it is used to 9 challenging real-world constrained engineering problems and compared against seven techniques from the literature. Obtained results demonstrate that EGTO achieves exceptionally well, offering advantages such as low time complexity, fast convergence, high solution precision, generality competence, and strength. The main contributions of this paper can be summarized as follows:

  • EGTO, an enhanced optimization algorithm based on the Marine Predator Algorithm (MPA) and Gorilla Troops Optimizer (GTO), is proposed to solve global optimization problems and Engineering Design Problems.

  • The proposed algorithm (EGTO) is tested on several optimization problems, including twenty-three classical benchmark functions, the IEEE CEC2019 test suite, and seven engineering design problems, and compared with different recent MAs.

  • Experimental results suggest that the EGTO technique has a more reliable performance than other comparison optimization algorithms.

The rest of the article is organized as follow: section "The proposed optimization algorithm" presents a brief overview of the basic GTO and the proposed EGTO techniques. Section "Experimental results and discussion" evaluates the performance of the proposed EGTO algorithm on benchmark functions and analyzes the obtained experimental results. In section "EGTO for engineering design problems", the EGTO technique is used to solve seven real-world engineering design problems. Finally, section "Conclusion" concludes the paper and discusses potential research directions.

The proposed optimization algorithm

This section presents the process of the enhanced GTO (EGTO) based on MPA algorithm. The proposed EGTO algorithm.

Artificial gorilla troops optimizer (GTO)

Exploration phase

During the exploration phase, three distinct operators were employed to advance the investigation: one involved moving to an unfamiliar location, aiming to delve deeper into the GTO algorithm31. The second element, transitioning to other gorillas, enhances the equilibrium between exploration and exploitation. Meanwhile, the third element pertains to the exploration phase, where migrating to a familiar position significantly boosts the GTO algorithm's capacity to explore diverse developmental spaces. These distinct operators can be symbolically represented by the following equation:

$$\begin{aligned} GX\left( {t + 1} \right) & = \left\{ {\begin{array}{*{20}l} {\left( {ub - lb} \right) \times r_{1} + lb,} \hfill & {rand < z} \hfill \\ {\left( {r_{2} - C} \right) \times X_{r} \left( t \right) + D \times B,} \hfill & {rand \ge 0.5} \hfill \\ {X\left( i \right) - D \times \left( {D \times \left( {X\left( t \right) - GX_{r} \left( t \right)} \right) + r_{3} \times \left( {X\left( t \right) - GX_{r} \left( t \right)} \right)} \right),} \hfill & { rand < 0.5 } \hfill \\ \end{array} } \right. \\ C & = (\cos (2 \times r_{4} ) + 1) \times \left( {1 - \frac{it}{{Maxit}}} \right) \\ D & = C \times k \\ B & = E \times X\left( t \right) \\ E & = \left[ { - C,C} \right] \\ \end{aligned}$$
(1)

where \(GX\left(t+1\right)\) denotes the gorilla candidate location in the next iteration.\(lb\) and \(ub\) denote the lower and upper bounds of the variables, respectively. \({r}_{1}\), \(rand\),\({r}_{2}\),\({r}_{3}\), and \({r}_{4}\) refer to random values ranging from 0 to 1. \(z\) is a parameter that has a range from 0 to 1.\(X\left(t\right)\) is the current vector of the gorilla position while \({X}_{r}\left(t\right)\) denotes a member of the gorillas randomly selected from the entire gorillas and also \(G{X}_{r}\left(t\right)\).\(k\) denots a random value ranging from -1 to 1.

Exploitation phase

During the exploitation phase, two behaviors or strategies are utilized. The first strategy, known as "Follow the silverback," is employed when a certain condition \(C\ge W\) is met. Here, \(W\) represents a predefined parameter set before the optimization process. Mathematically, the first strategy can be computed as follows31:

$$\begin{aligned} GX\left( {t + 1} \right) & = D \times M \times \left( {X\left( t \right) - X_{silverback} } \right) + X\left( t \right) \\ M & = \left( {\left| {\frac{1}{N}\mathop \sum \limits_{i = 1}^{N} GX_{i} \left( t \right)} \right|^{g} } \right)^{\frac{1}{g}} \\ g & = 2^{D} \\ \end{aligned}$$
(2)

where \(GX\left(t+1\right)\) represents the updated position of the gorilla in the search space at the next iteration, \({X}_{silverback}\) is the best solution, \(N\) denotes the total number of gorillas. By incorporating this strategy into the optimization process, the algorithm aims to exploit promising regions of the search space by leveraging information from the best solution encountered thus far. This approach enhances the algorithm's ability to converge towards optimal solutions, particularly during the exploitation phase of the optimization process. Overall, Eq. (2) plays a crucial role in guiding the exploration and exploitation of the search space, thereby influencing the algorithm's performance in finding optimal solutions.

The second mechanism is the Competition for adult females and it is used when \(C<W\). This mechanism is calculated as follows:

$$\begin{aligned} GX\left( i \right) & = X_{silverback} - \left( {X_{silverback} \times Q - X\left( t \right) \times Q} \right) \times A \\ Q & = 2 \times r_{5} - 1 \\ A & = \beta \times H \\ H & = \left\{ {\begin{array}{*{20}c} {N_{1} , rand \ge 0.5} \\ {N_{2} , rand < 0.5} \\ \end{array} } \right. \\ \end{aligned}$$
(3)

where \(\beta\) refers to a parameter to be given value before the optimization operation.\({r}_{5}\) denotes a random value ranging from 0 to 1.

Proposed EGTO algorithm

The enhanced is called the high and low-velocity ratios based on the MPA algorithm42. This way was planned to solve the possibility of the optimum value may drop into local optima. Several recent techniques have been developed based on this strategy and they have been applied for several optimization problems including the parameters of the controller combine proportional-integral-derivative (PID) and fractional order control methods using Enhanced Runge Kutta Optimizer43 and optimal size and location of several FACTS devices to achieve minimizing fuel costs and minimizing power losses using Enhanced Tuna Swarm Optimization44. This improvement depends on two stages. The first stage is the high-velocity ratio situation. The mathematical model of this stage is as follows:

$$it<\frac{1}{3}Maxit$$
(4.1)
$$S = \overrightarrow {{R_{B} }} \otimes \left( {E - \overrightarrow {{R_{B} }} \otimes X_{i} \left( t \right)} \right)$$
(4.2)
$$X_{i} \left( {t + 1} \right) = X_{i} \left( t \right){ } + P \cdot \overrightarrow {{R_{B} }} \otimes { }S$$
(4.3)

where \(\overrightarrow{{R}_{B}}\) denotes a vector of random integers from the Normal distribution that reflect Brownian motion. The notation \(\otimes\) refers to entry-by-entry multiplications. The new location is simulated by multiplying \(\overrightarrow{{R}_{B}}\) by the previous position, \(P\) = 0.5 represents a constant, and \(\overrightarrow{{R}_{B}}\) represents a vector of uniform random values in the range [0,1]. This condition happens during the first third of iterations when the step size is large, representative a high level of exploratory ability. The fittest solution (E) is designated as the best location to form a matrix by the following equation42:

$$E=\left[\begin{array}{ccc}{Xb}_{1.1}^{t}& \cdots & {Xb}_{1.d}^{t}\\ \vdots & \ddots & \vdots \\ {Xb}_{n.1}^{t}& \cdots & {Xb}_{n.d}^{t}\end{array}\right]$$
(5)

where \(Xb\) is the best solution, which is copied n times to create the E matrix. n is the number of search agents, whereas d denotes the number of dimensions.

The second stage is the low-velocity ratio. This stage happens near the end of the optimization procedure, which is typically related to high exploitation capability. Lévy is the best approach for low-velocity ratios. This stage is represented as:

$$it>\frac{1}{3}Maxit$$
(6.1)
$$S = \overrightarrow {{R_{L} }} \otimes \left( {\overrightarrow {{R_{L} }} \otimes E - X_{i} \left( t \right)} \right)$$
(6.2)
$$X_{i} \left( {t + 1} \right) = E{ } + P \cdot CF \otimes { }S$$
(6.3)

In the Lévy process, multiplying \({R}_{L}\) and E, whereas adding the step size to location assistances in the updating of position. An extra feature of EGTO is increasing the chances of escape from local minima. The flowchart of the proposed EGTO technique is shown in Fig. 2. The place of high and low-velocity ratios in the EGTO technique are displayed in this figure. This modification leads to enhancing the exploration of the EGTO technique. Furthermore, Algorithm 1 defines the EGTO technique’s pseudocode.

Figure 2
figure 2

The flowchart of the proposed EGTO technique.

Algorithm 1
figure a

Pseudocode of the EGTO algorithm.

Computational complexity analysis of the proposed EGTO algorithm

Computational complexity serves as a valuable tool to evaluate the efficiency of algorithms in addressing optimization problems. Several factors influence the complexity of an algorithm, such as the number of individuals engaged (n), the dimensionality of the problem's variables (d), and the maximum number of iterations (Maxit). For EGTO, the overall computational complexity can be expressed as follows:

\({\text{O}}({\text{EGTO}}) =\mathrm{ O}(\mathrm{problem\, definition}) +\mathrm{ O}({\text{initialization}}) +{\text{O}}(\mathrm{function\, evaluation}) +\mathrm{ O}(\mathrm{Position\, updating\, in\, }Exploration\, phase) +{\text{O}}(\mathrm{Position\, updating\, in\, }Exploitation\, phase) +\mathrm{ O}(\mathrm{Position\, updating\, in\, }High\, and\, low-velocity\, ratios) = O\left(1+n+Tn+\frac{1}{2}Tnd+\frac{1}{2}Tnd+Tnd\right)\cong O(2Tnd+Tn+n)\).

Compared with the basic techniques, the computational complexity of the EGTO algorithm increases to some extent as a consequence of the introduced High and low-velocity ratios. However, these extra time costs can greatly improve the search performance of the algorithm, which is acceptable based on the NFL theorem6.

Experimental results and discussion

In this section, we utilize a collection of well-known benchmark functions to assess the performance of the proposed EGTO method described in this paper. These benchmark functions encompass three categories: unimodal, multimodal, and multimodal functions with fixed dimensions. The set of unimodal functions consists of seven functions, namely F1–F7. Each of these functions possesses only one global optimal solution. Consequently, they are commonly employed to evaluate the algorithm's ability to exploit local solutions effectively. On the other hand, the multimodal functions F8–F23 not only possess a globally optimal solution but also contain multiple locally optimal solutions. Thus, they serve to challenge the technique's capacity for global exploration and avoidance of local optima. The mathematical formulas and characteristics of these benchmark functions are given in Table A in Supplementary Material.

Performance of the proposed EGTO algorithm

In this subsection, we assess the effectiveness and performance of the proposed EGTO technique on various benchmark functions. The evaluation involves using statistical measurements, such as best values, mean values, worst values, and standard deviation (STD) to analyze the solutions obtained by the EGTO technique, the original GTO algorithm, and seven other recent optimization algorithms, including the Tuna Swarm Optimization (TSO)45, Grey Wolf optimizer (GWO) algorithm46, Gradient-based optimizer (GBO) algorithm47, Artificial rabbits optimization (ARO)48, Pelican Optimization Algorithm (POA)49, RUN algorithm50, and MPA algorithm42. The codes of these algorithms implemented in this study have been provided in Supplementary Material. The results attained with the EGTO algorithm is compared with these recent techniques. To ensure a level playing field, all algorithms, including the proposed one, were evaluated under identical conditions. Specifically, each algorithm was executed for the maximum number of iterations set at 500, with a population size of 50 for 20 independent runs. These computations were conducted using MATLAB R2016a on a Windows 8.1, 64-bit system, with a Core i5-4210U CPU running at 2.40 GHz and 8 GB of RAM. By maintaining consistency in these parameters across all evaluations, we aimed to provide a fair basis for comparison, enabling an objective assessment of algorithmic performance. The parameter settings of the optimization algorithms are shown in Table 1.

Table 1 Parameter settings of optimization algorithms for comparison and evaluation of the EGTO.

In this section, we present a comprehensive assessment of the proposed algorithm's exploitation and exploration capabilities using the previously described unimodal, and multimodal benchmark functions. Tables 2 and 3 display the best values, mean values, worst values, and STD results attained by the EGTO algorithm and other competing algorithms for each function F1–F13 in dimension Dim = 30. The comparison of algorithms in these functions is based on their average values. The Tied rank (TR) technique is utilized to rank these functions, where each technique is assigned, a rank based on its average value, with the algorithm having the smallest average value receiving rank 1, and so on. The algorithm with the lowest TR value is considered the most effective when compared to the other techniques28.

Table 2 The statistical Results of unimodal benchmark functions using the proposed EGTO technique and other well-known algorithms (Dim = 30).
Table 3 The statistical Results of multimodal benchmark functions using the proposed technique and other well-known algorithms (Dim = 30).

Upon examining Table 2, it is evident that the EGTO algorithm outperforms its peers on the majority of the test problems. Specifically, for the unimodal functions (F1–F7), EGTO effectively searches for the global optimum (0) on F1–F4. These results confirm the competitive local exploitation potential of EGTO, particularly for unimodal functions. Moving on to Table 3 (the multimodal functions (F8–F13)), The statistical results of the tied rank on 13 benchmark functions are summarized in these tables. For the multimodal functions, the performance of the proposed algorithm significantly outperforms TSO, GWO, GBO, ARO, RUN, POA, MPA and original GTO. Multimodal functions serve to assess the exploration ability, and thus these results demonstrate the excellent global exploration capability of EGTO. The effectiveness of EGTO in global exploration can be attributed to the designed high and low-velocity ratios, which efficiently expands the unknown search region, enabling the algorithm to bypass local optima and find higher-quality solutions.

In conclusion, the comprehensive assessment reveals that the proposed EGTO algorithm excels in both exploitation and exploration capabilities across various benchmark functions. It outperforms other algorithms on most test problems, indicating its efficacy in finding global optima for unimodal and multimodal functions. The innovative high and low-velocity ratios play a crucial role in enhancing exploration and helps the algorithm in efficiently navigating through the solution space to find high-quality solutions.

Additionally, the average ranks for all algorithms are presented in Figs. 3 and 4. It is evident from these Figures that the proposed EGTO obtains the lowermost average rank value, indicating that it ranks first among all techniques. Thus, the EGTO technique emerges as the top-performing optimizer in this comparison, according to the tied rank approach. To visualize the ranking of all compared techniques for each function, a radar chart (Fig. 5) is used. This outcome further validates the efficiency of our algorithm in discovering global optima for various problems.

Figure 3
figure 3

Mean ranks achieved using tied rank test for unimodal functions using several techniques (Dim = 30).

Figure 4
figure 4

Mean ranks achieved using tied rank test for multimodal functions using several techniques (Dim = 30).

Figure 5
figure 5

Radar chart for ranks among all compared techniques.

In the early iterations, search agents in optimization algorithms often undergo dramatic changes to explore promising areas in the search space extensively, and then they gradually converge as the number of iterations increases. To analyze the convergence behavior of the proposed technique in the quest for optimal solutions, Fig. 6 illustrates the convergence curves of TSO, GWO, GBO, ARO, RUN, POA, original GTO, and EGTO on 13 benchmark functions throughout the iterations.

Figure 6
figure 6

The convergence curves of all algorithms for benchmark functions (Dim = 30).

From the figure, it is evident that the proposed EGTO exhibits superior and competitive convergence performance compared to other state-of-the-art algorithms. For the unimodal benchmark functions (F1–F7), EGTO rapidly converges to the global optimum during the initial phases of functions F1–F4, displaying the fastest decay rate in its convergence curve. In contrast, other algorithms experience significant lag and are slower in their search process. This phenomenon arises due to the designed high and low-velocity ratios mechanism, which provides better randomness and population diversity during the initial stage, effectively expanding the search range of EGTO. Despite the multimodal benchmark functions (F8–F13) being more challenging due to several local optima, EGTO maintains excellent convergence behavior in these test cases. These convergence behaviors of EGTO on multimodal functions provide strong evidence that the hybrid operation and high and low-velocity ratios mechanism effectively help escape local optima, contributing to the algorithm's overall robustness and performance.

The boxplot is a suitable diagram for visualizing data distribution and describing the agreement between the data. In Fig. 7, we present boxplots representing the results obtained from 20 independent runs for 13 representative benchmark functions, comparing EGTO with other algorithms, as shown in Tables 4 and 5. Each box in the figure represents the data distribution for a specific algorithm. The center marker of each box corresponds to the median value, while the bottom and top fringes of the box indicate the first and third quartiles, respectively. Outliers are denoted by the notation "+". By examining Fig. 7, it becomes evident that the proposed EGTO exhibits remarkable consistency and produces no outliers in nearly all test cases during the optimization process.

Figure 7
figure 7

Boxplots for all techniques for benchmark functions (Dim = 30).

Table 4 The statistical Results of unimodal benchmark functions using the proposed technique and other well-known algorithms (Dim = 50).
Table 5 The statistical Results of multimodal benchmark functions using the proposed technique and other well-known algorithms (Dim = 50).

Furthermore, the values of the median, maximum, and minimum achieved by EGTO are more tightly concentrated compared to the competitor algorithms. These results highlight the strong stability of the EGTO algorithm proposed in this study. Its ability to consistently perform well across multiple independent runs demonstrates its robustness and reliability. The absence of outliers and the concentration of results indicate that the proposed algorithm consistently converges to high-quality solutions for the benchmark functions analyzed.

Tables 4 and 5 show the statistical results of the EGTO technique and other well-known algorithms when used for unimodal benchmark functions, multimodal benchmark functions, respectively with Dim = 50. The statistical results of the tied rank on 13 benchmark functions are summarized in these tables. After analyzing these Tables, the techniques applied are sorted, and it is observed from the ranking order that the EGTO technique outperforms all the other compared algorithms across 10 benchmark functions problems. The original GTO and TSO also display robust effectiveness as the second and third optimal techniques, respectively.

Moreover, the average ranks for all algorithms are displayed in Figs. 8 and 9. It is obvious from these Figures that the EGTO technique achieves the lowermost average rank value, indicating that it ranks first among all techniques. Thus, the EGTO technique emerges as the top-performing algorithm in this comparison, according to the tied rank approach. To visualize the ranking of all compared algorithms for each function, a radar chart (Fig. 10) is used. This outcome further validates the efficiency of our method in discovering global optima for various problems.

Figure 8
figure 8

Mean ranks achieved using tied rank test for unimodal functions using several techniques (Dim = 50).

Figure 9
figure 9

Mean ranks achieved using tied rank test for multimodal functions using several techniques (Dim = 50).

Figure 10
figure 10

Radar chart for ranks among all compared techniques.

From this analysis, it can be concluded that the EGTO technique proves to be a strong technique for solving these types of problems. Further insights into the convergence curves of these techniques for these functions are shown in Fig. 11. For a more in-depth examination into the performance of the EGTO technique, a boxplot of outcomes for each technique and fitness function is displayed in Fig. 12. The boxplots of the EGTO algorithm for most functions are narrow and among the smallest values, indicating its consistency and effectiveness in solving the optimization problems. In summary, the Tied rank comparison displays that the EGTO technique is the most effective algorithm among all the compared methods. The visualizations and statistical analyses provide strong evidence that EGTO efficiently discovers global optima for various problems, making it a highly effective algorithm for solving these types of optimization problems.

Figure 11
figure 11

The convergence curves of all algorithms for benchmark functions (Dim = 50).

Figure 12
figure 12

Boxplots for all techniques for benchmark functions (Dim = 50).

This section evaluates the proposed algorithm’s exploration and development capabilities using standard test functions with Dim = 100. The above eight well-known techniques are compared mainly from numerical analysis, boxplots, and convergence curves. After 20 independent runs of the experiment. The obtained results are recorded in Tables 6 and 7 below. It is seen from these tables that the EGTO technique obtained the theoretical optimum value in the 100 dimensions of F1–F13 and had a very stable effect.

Table 6 The statistical Results of unimodal benchmark functions using the proposed technique and other well-known algorithms (Dim = 100).
Table 7 The statistical Results of multimodal benchmark functions using the proposed technique and other well-known algorithms (Dim = 100).

Additionally, Figs. 13 and 14 present the average ranks for all algorithms. These figures unmistakably demonstrate that the EGTO technique attains the most favorable average rank, signifying its top position among all algorithms. Hence, based on the tied rank approach, the EGTO technique emerges as the best-performing algorithm in this comparison. For a visual representation of the rankings of all compared techniques concerning each function, a radar chart (Fig. 15) has been employed. This outcome provides further validation of the efficiency of our method in discovering global optima for diverse problems.

Figure 13
figure 13

Mean ranks achieved using tied rank test for unimodal functions using several techniques (Dim = 100).

Figure 14
figure 14

Mean ranks achieved using tied rank test for multimodal functions using several techniques (Dim = 100).

Figure 15
figure 15

Radar chart for ranks among all compared algorithms.

Figure 16 presents the convergence curves of different techniques on 13 illustrative benchmark functions with Dim = 100. From Fig. 16, it is clear that the convergence speed of EGTO is the fastest among all techniques on the most of functions and the EGTO technique can quickly reach the global optimal solution at the beginning of the search process. In order to better demonstrate the constancy of the EGTO technique, the corresponding boxplots of unimodal benchmark functions and multimodal benchmark functions with dimension Dim = 100 are shown in Fig. 17. From Fig. 17, it can be seen that the proposed EGTO technique displays remarkable reliability in most issues with respect to the median, maximum and minimum values compared with the others. Furthermore, the EGTO algorithm generates no outliers during the iterations with the more focused distribution of convergence values, thereby confirming the robust strength and superiority of the proposed EGTO technique. On the basis of experimental results of boxplot analysis and convergence curves, EGTO has a considerable enhancement in convergence speed and permanency compared with the original GTO, which is owed to the good basis of global search placed by high and low-velocity ratios.

Figure 16
figure 16

The convergence curves of all algorithms for benchmark functions (Dim = 100).

Figure 17
figure 17

Boxplots for all algorithms for benchmark functions (Dim = 100).

Table 8 presents the performance of the EGTO algorithm compared to other well-known algorithms in solving composite benchmark functions. The table provides statistical results for various functions (F14–F23). For each function, the table shows the best, mean, median, and worst values obtained by each algorithm, along with their corresponding standard deviations. Additionally, the table includes the ranks assigned to each algorithm based on their performance for each function. The EGTO algorithm demonstrates excellent performance, achieving the best results (rank 1) for functions F14, F16, F17, F19, F21, F22, and F23. For these functions, EGTO consistently obtains the best solutions, as indicated by the best values being equal to or very close to the optimum. Moreover, EGTO achieves competitive results (rank 2 and 3) for functions F18 and F20, respectively. Overall, the EGTO algorithm exhibits outstanding performance, with an average rank of 1.9, positioning it as the top-performing algorithm among the compared techniques.

Table 8 The statistical Results of composite benchmark functions using the proposed technique and other well-known algorithms.

Figure 18 illustrates the mean ranks attained using the tied rank test for multimodal functions with fixed dimensions using the EGTO technique and several other techniques. The tied rank test is a statistical analysis that allows for a fair and unbiased comparison of algorithms' performance on different benchmark functions. A lower mean rank indicates better performance, as it suggests that the algorithm achieved more favorable results across the various benchmark functions. In the graph, we observe that the EGTO algorithm consistently achieves low mean ranks for most multimodal functions. This indicates that EGTO outperforms other algorithms on a majority of benchmark functions in terms of finding high-quality solutions. The low mean ranks further highlight EGTO's robustness and effectiveness in handling a diverse set of complex multimodal functions. Comparing the mean ranks of EGTO with other algorithms, we can see that EGTO generally outperforms its competitors, demonstrating its superiority in solving multimodal optimization problems with fixed dimensions. The graph's overall trend shows that EGTO consistently ranks higher than other algorithms, reinforcing its reputation as a powerful and reliable optimization technique for challenging multimodal functions. Moreover, Fig. 19 provides compelling evidence of the EGTO algorithm's exceptional performance across various multimodal functions with fixed dimensions, making it a valuable and competitive choice for researchers and practitioners seeking efficient solutions to complex optimization problems.

Figure 18
figure 18

Mean ranks attained using tied rank test for multimodal functions with fixed dimensions using several techniques.

Figure 19
figure 19

Radar chart for ranks among all compared algorithms.

Figure 20 displays the convergence curves for each algorithm. Observing these plots, it becomes evident that the EGTO algorithm exhibited robust convergence and exploitation capabilities, efficiently reaching optimal values. Notably, the EGTO algorithm outperformed other methods, demonstrating faster convergence and greater stability. Its superior performance surpasses that of the other algorithms significantly.

Figure 20
figure 20

The convergence curves of all techniques for benchmark functions.

Boxplots are drawn in this paper to visualize the distribution of the data. It can well describe the consistency between data. Figure 21 depicts the boxplot of EGTO against seven other comparison techniques over ten representative benchmark functions. As can be seen from this Figure, the EGTO algorithm has better consistency than other original algorithms. No outliers were generated during the iteration. The obtained median, maximum and minimum values are more concentrated than other comparison algorithms. The above confirms the high stability of the EGTO technique.

Figure 21
figure 21

The boxplots of studied techniques for benchmark functions.

The performance of the EGTO technique for the CEC2019 function

The benchmarking of algorithms utilized the CEC2019 function, and their performance evaluation was carried out using the challenging benchmark functions from the CEC2019 test suite, as presented in Table B in Supplementary Material51. This test set comprises highly difficult and complex composition functions, providing a rigorous assessment for the algorithms. This test suite encompasses ten intricate and contemporary benchmark functions, whose profiles are detailed in Appendix (C). As mentioned in the preceding subsection, the proposed EGTO and seven other comparison algorithms were independently executed 20 times on each function, with fixed parameters of maximum iteration (300) and population size (50).

The best, mean, median, worst values and standard deviation results obtained from this test are displayed in Table 9. The analysis from Table 9 indicates that EGTO outperforms the other seven algorithms in 5 out of 10 test functions. Furthermore, in comparison to its peers, EGTO achieves the best mean ranking value of 2.3, closely followed by the ARO algorithm. These findings underscore EGTO's capability in tackling a wide range of challenging optimization problems. In summary, this section thoroughly verifies the efficiency and superiority of the EGTO method through a series of experiments on classical benchmark functions and the IEEE CEC2019 test suite. Whether dealing with simple or complex numerical problems, EGTO consistently delivers satisfactory results. It successfully builds upon the strengths of the basic GTO while incorporating the high and low-velocity ratios to address issues related to poor population diversity, falling into local optima, and the balance between exploration and exploitation.

Table 9 The statistical Results of CEC 2019 benchmark functions by the EGTO algorithm and other recent techniques.

Figure 22 displays the mean ranks obtained by the tied rank test for the CEC 2019 benchmark functions using various algorithms. The graph provides a comprehensive comparison of the performance of different algorithms across these challenging benchmark functions. Mean ranks offer valuable insights into the relative effectiveness of each algorithm, enabling a clearer understanding of their overall performance. On the other hand, Fig. 23 presents a radar chart that visualizes the ranks achieved by all compared algorithms. This chart offers a concise and intuitive representation of how each algorithm ranks in comparison to others across the benchmark functions. The radar chart's multi-dimensional nature allows for a quick assessment of algorithmic strengths and weaknesses in tackling the diverse set of problems present in the CEC 2019 benchmark. These figures unmistakably demonstrate that the EGTO technique attains the most favorable average rank, signifying its top position among all techniques.

Figure 22
figure 22

Mean ranks achieved using tied rank test for CEC 2019 benchmark functions using several techniques.

Figure 23
figure 23

Radar chart for ranks among all studied techniques.

The convergent graph of the implemented algorithms is illustrated in Fig. 24. Observing these curves, it becomes evident that EGTO exhibits comparable convergence for the majority of the functions. Figure 25 presents a box plot depicting a comparison of the algorithms, including the proposed EGTO, for solving the functions. The box plot analysis clearly demonstrates that EGTO outperforms the competitor metaheuristic algorithms, as it showcases a smaller width and a more efficient center, indicating its superior performance. Additionally, the results suggest that EGTO achieves more consistent and robust solutions across the tested functions.

Figure 24
figure 24

The convergence curves of all algorithms for CEC 2019 benchmark functions.

Figure 25
figure 25

Boxplots for all algorithms for CEC 2019 benchmark functions.

EGTO for engineering design problems

In this section, we apply the proposed EGTO algorithm to solve a set of classical engineering problems. These problems involve various constraints, both in terms of equalities and inequalities. We compare the performance of the EGTO technique against commonly used optimization techniques when applied to these engineering design problems. The selected problems for analysis are well-known in the field and include the Three-Bar Truss Design (BTD), Compression Spring Design (CSD), Pressure Vessel Design (PVD), Cantilever Beam Design (CBD), Welded Beam Design (WBD), Speed Reducer Design (SRD), and Gear Train Design (GTD). Metaheuristic algorithms have proven to be effective in addressing such constrained engineering problems. To assess the efficacy of the proposed EGTO algorithm, we compare its results with those obtained using other metaheuristic algorithms, including the original GTO, TSO, GWO, GBO, ARO, POA, and RUN algorithms. For consistency, we assume the same simulation assumptions as outlined in the previous section.

Three-bar truss design problem

The 3-bar truss design (3BTD) is a prominent problem in the field of civil engineering, involving the manipulation of two parameters to attain the minimum weight when designing a truss52. Figure 26 visually represents the layout of this problem. The mathematical model of this design is formulated as follows.

$$\begin{aligned} {\text{Minimize }}\quad f\left( {A1,A2} \right) & = l \times \left( {2\sqrt 2 x_{1} + x_{2} } \right) \\ {\text{Subject}}\;{\text{ to }}\quad G_{1} & = \frac{{\sqrt 2 x_{1} + x_{2} }}{{\sqrt 2 x_{1}^{2} + 2x_{1} x_{2} }}P - \sigma \le 0, \\ G_{2} & = \frac{{x_{2} }}{{\sqrt 2 x_{1}^{2} + 2x_{1} x_{2} }}P - \sigma \le 0 \\ G_{3} & = \frac{1}{{\sqrt 2 x_{2} + x_{1} }}P - \sigma \le 0 \\ \end{aligned}$$

where \(l=100 cm;P=\frac{2kN}{c{m}^{2}};\sigma =\frac{2kN}{c{m}^{2}}\); Variable range: \(0\le {x}_{1},{x}_{2} \le 1.00\).

Figure 26
figure 26

Schematic of three-bar truss problem.

This optimization challenge is of great significance in civil engineering applications, as it seeks to achieve an efficient and lightweight design for the truss structure. Table 10 shows the performance of several algorithms, such as GTO, TSO, GWO, GBO, ARO, POA, RUN, and the proposed EGTO algorithm for solving the problem of the three-bar truss design problem. The results demonstrate that the EGTO algorithm indicates an outperformance compared to other algorithms. The minimum weight is 263.895, and the optimal values for × 1 and × 2 are 0.788675 and 0.408248, respectively. Figure 27 shows the convergence curves and the boxplot of these algorithms during solving the problem. Additionally, a comparison of the statistical results is given in Table 11, the mean and STD values obtained by the proposed EGTO, GTO, and POA algorithms are the best among all other counterparts.

Table 10 Results for the three-bar truss problem.
Figure 27
figure 27

The convergence curves and boxplots of all algorithms for three-bar truss problem.

Table 11 Statistical results for the three-bar truss problem.

Tension/compression spring design

We also investigated the Tension/Compression Spring Design (TCSD) problem as our second engineering optimization problem. The objective in this problem, as depicted in Fig. 28, is to minimize the weight of a tension/compression spring design53. The variables involved in this problem include the wire diameter (d), mean coil diameter (D), and the number of active coils (N). The problem is subject to constraints related to surge frequency, minimum deflection, and shear stress. The mathematical definitions for this problem are provided below. Furthermore, Table 12 presents the results obtained from applying the EGTO algorithm and other compared metaheuristic algorithms. Based on the results, the EGTO algorithm outperforms the other metaheuristic algorithms in terms of finding the optimal cost.

$$\begin{aligned} {\text{Consider}}:{ }\vec{x} & = \left[ {x_{1} x_{2} x_{3} } \right] = \left[ {d D N} \right], \\ {\text{Minimize }}f\left( {\vec{x}} \right) & = \left( {x_{3} + 2} \right)x_{2} x_{1}^{2} , \\ {\text{Subject to }}g_{1} \left( {\vec{x}} \right) & = 1 - \frac{{x_{2}^{3} x_{3} }}{{71785x_{1}^{4} }} \le 0, \\ g_{2} \left( {\vec{x}} \right) & = \frac{{4x_{2}^{2} - x_{1} x_{2} }}{{12566\left( {x_{2} x_{1}^{3} - x_{1}^{4} } \right)}} + \frac{1}{{5108x_{1}^{2} }} - 1 \le 0, \\ g_{3} \left( {\vec{x}} \right) & = 1 - \frac{{140.45x_{1} }}{{x_{2}^{2} x_{3} }} \le 0, \\ g_{4} \left( {\vec{x}} \right) & = \frac{{x_{1} + x_{2} }}{1.5} \le 0, \\ \end{aligned}$$
Figure 28
figure 28

Schematic of tension/compression spring design problem.

Table 12 Comparison results for the tension/compression spring design problem.

Variable range: \(0.05\le {x}_{1}\le 2.00\), \(0.25\le {x}_{2}\le 1.30\), \(2.00\le {x}_{3}\le 15.0\).

The proposed EGTO's performance evaluation on this application is compared with that of TSO, GWO, GBO, ARO, POA, RUN, and GTO, as presented in Table 12. The results clearly indicate that EGTO outperforms all other comparison algorithms, yielding the minimum weight of 0.01266233 for the optimal solution (\(\overrightarrow{x}\) = [0.051684027, 0.356596637, 11.29606918]). This remarkable achievement underscores the effectiveness of EGTO in efficiently resolving the tension/compression spring design problem. Its ability to find superior solutions showcases the notable merits and potential of EGTO in tackling such complex engineering optimization challenges.

Figure 29 displays the convergence curves and the boxplot of these techniques during solving the tension/compression spring design problem. Moreover, a comparison of the statistical results is presented in Table 13, the mean and STD values obtained by the proposed EGTO, ARO, GBO, and POA algorithms are the best among all other counterparts.

Figure 29
figure 29

The convergence curves and boxplots of all algorithms for tension/compression spring problem.

Table 13 Statistical results for the tension/compression spring design problem.

Pressure vessel design problem

Within this study, the 3rd optimization problem addressed is the Pressure Vessel Design (PVD) problem. The main objective of this problem is to decrease the overall cost associated with a cylindrical pressure vessel, encompassing material, welding, and forming costs54. The vessel consists of a hemispherical-shaped head with capped ends. The problem involves variables such as the head thickness (Th), the length of the cylindrical section excluding the head (L), the shell thickness (Ts), and the inner radius (R). Additionally, there are four constraints in this problem that can be expressed as follows.

$$\begin{gathered} {\text{Consider}}:\vec{x} = \left[ {x_{1} x_{2} x_{3} x_{4} } \right] = \left[ {T_{s} T_{h} RL} \right], \hfill \\ {\text{Minimize }}f\left( {\vec{x}} \right) = 0.6224x_{1} x_{3} x_{4} + 1.7781x_{2} x_{3}^{2} + 3.1661x_{1}^{2} x_{4} + 19.84x_{1}^{2} x_{3} , \hfill \\ {\text{Subject to }}g_{1} \left( {\vec{x}} \right) = - x_{1} + 0.0193x_{3} \le 0, \hfill \\ g_{2} \left( {\vec{x}} \right) = - x_{2} + 0.00954x_{3} \le 0, \hfill \\ g_{3} \left( {\vec{x}} \right) = - \pi x_{3}^{2} x_{4} - \frac{4}{3}\pi x_{3}^{3} + 1296000 \le 0, \hfill \\ g_{4} \left( {\vec{x}} \right) = x_{4} - 240 \le 0, \hfill \\ \end{gathered}$$

Variable range: \(0\le {x}_{1}\le 99\), \(0\le {x}_{2}\le 99\), \(10\le {x}_{3}\le 200\), \(10\le {x}_{4}\le 200\).

The pressure vessel design problem is optimized by the proposed EGTO technique, and the results are compared with those of popular traditional and recent algorithms. Table 14 shows the solutions of EGTO and other algorithms, namely, TSO, GWO, GBO, ARO, POA, RUN and conventional GTO algorithms. Based on the simulation results, the proposed algorithm exhibited superior performance in comparison to the other algorithms utilized in finding the optimal cost. BGWO is superior to all the other algorithms and obtains the best solution \(\overrightarrow{x}\) = [0.778168279 0.384649018 40.31961872 200.0000], Minimize \(f\left(\overrightarrow{x}\right)\) =5885.331251.

Table 14 Comparison results for the pressure vessel design problem.

The results indicate that the proposed EGTO technique has strong optimization ability and excellent convergence. Figure 30 depicts the convergence curves and box plots of all algorithms while handling the problem. Table 15 also lists the statistical data, such as Best, Mean, Median, Worst, and STD. Therefore, it is determined that the reliability of the suggested EGTO algorithm is better for the pressure vessel design problem.

Figure 30
figure 30

The convergence curves and boxplots of all techniques for pressure vessel design problem.

Table 15 Statistical results for the pressure vessel design problem.

Cantilever beam design problem

The goal of the cantilever beam design (CBD) problem is to minimize the weight of a cantilever with five hollow blocks, as displayed in Fig. 3154. Therefore, five variables are involved, and the structural optimization problem can be expressed mathematically as:

$$\begin{aligned} {\text{Consider}}:\vec{x} & = \left[ {x_{1} x_{2} x_{3} x_{4} x_{5} } \right] \\ {\text{Minimize }}f\left( X \right) & = 0.0624\left( {x_{1} + x_{2} + x_{3} + x_{4} + x_{5} } \right) \\ {\text{Subject\, to\,}}G\left( X \right) & = \frac{61}{{x_{1}^{3} }} + \frac{37}{{x_{2}^{3} }} + \frac{19}{{x_{3}^{3} }} + \frac{7}{{x_{4}^{3} }} + \frac{1}{{x_{5}^{3} }} - 1 \le 0, \\ \end{aligned}$$
Figure 31
figure 31

Schematic of Cantilever Beam Design problem.

Variable range: \(0.01\le {x}_{i}\le 1.00; i\in 1,\dots .,5\).

Table 16 lists the best solutions to this problem achieved by the EGTO method and the results are compared with those of recent algorithms. The results show that the EGTO algorithm effectively solves the problem and the design with the minimum weight \(\overrightarrow{x}\) = [6.01606 5.309151 4.494265 3.501486 2.152698].

Table 16 The obtained results of the Cantilever Beam Design problem.

Figure 32 depicts the convergence curves and box plots of all algorithms while handling the Cantilever Beam Design problem. Table 17 lists the statistical data, including Best, Mean, Median, Worst, and STD. Therefore, it is concluded that the reliability of the proposed EGTO algorithm is better for the problem.

Figure 32
figure 32

The convergence curves and boxplots of all techniques for Cantilever Beam Design problem.

Table 17 Statistical results for the Cantilever Beam Design problem.

Welded beam design

The objective of this particular engineering problem is to minimize the production cost of a welded beam55. Several optimization constraints need to be considered, including shear stress (τ), buckling load on the bar (Pc), end deflection of the beam (δ), and bending stress in the beam (Ѳ). The problem involves four variables: the thickness of the weld (h), the length of the attached part to the bar (l), the height of the bar (t), and the thickness of the bar (b) (refer to Fig. 33). Mathematically, the problem can be formulated as follows.

$$\begin{aligned} {\text{Consider}}:{ }\vec{x} & = \left[ {x_{1} x_{2} x_{3} x_{4} } \right] = \left[ {h l t b} \right], \\ {\text{Minimize }}f\left( {\vec{x}} \right) & = 1.1047x_{1}^{2} x_{2} + 0.04811x_{3} x_{4} \left( {14.0 + x_{2} } \right), \\ {\text{Subject to }}g_{1} \left( {\vec{x}} \right) & = \tau \left( {\vec{x}} \right) - \tau_{max} \le 0, \\ g_{2} \left( {\vec{x}} \right) & = \sigma \left( {\vec{x}} \right) - \sigma_{max} \le 0, \\ g_{3} \left( {\vec{x}} \right) & = \delta \left( {\vec{x}} \right) - \delta_{max} \le 0, \\ g_{4} \left( {\vec{x}} \right) & = x_{1} - x_{4} \le 0, \\ g_{5} \left( {\vec{x}} \right) & = p - p_{c} \left( {\vec{x}} \right) \le 0, \\ g_{6} \left( {\vec{x}} \right) & = 0.125 - x_{1} \le 0, \\ g_{7} \left( {\vec{x}} \right) & = 1.10471x_{1}^{2} x_{2} - 0.0481x_{3} x_{4} \left( {14.0 + x_{2} } \right) - 5.0 \le 0. \\ \end{aligned}$$
Figure 33
figure 33

Schematic of welded beam design problem.

Variable range: \(0.1\le {x}_{1}\le 2.00\), \(0.1\le {x}_{2}\le 10.0\), \(0.1\le {x}_{3}\le 10.0\), \(0.1\le {x}_{4}\le 2.00\).

Table 18 displays the results attained from the analysis, demonstrating that the EGTO algorithm outperforms other metaheuristic algorithms by achieving a minimum cost design value. This fact shows that when the parameters are set h = 0.20572964, l = 3.470488666, t = 9.03662391, b = 0.20572964, the manufacturing cost of the welded beam design problem can reach 1.72485230859736. Therefore, the proposed EGTO algorithm has good potential in solving the welded beam design (WBD) problem.

Table 18 Results of the welded beam design problem.

Figure 34 shows the convergence characteristics and box plots of all techniques for welded beam design problem. Table 19 presents the statistical data, including Best, Mean, Median, Worst, and STD. Therefore, it is concluded that the reliability of the proposed EGTO algorithm is better for the problem.

Figure 34
figure 34

The convergence curves and boxplots of all techniques for welded beam design problem.

Table 19 Statistical results for the welded beam design problem.

Speed reducer design

This problem (Fig. 35) represents a well-known design challenge in mechanical systems. It involves optimizing the speed reducer, a crucial component of the gearbox, for various applications. The goal is to minimize 11 constraints associated with the weight of the speed reducer56. Among these constraints, seven are nonlinear, while the rest are linear inequalities. The four key parameters affecting the optimization process are as follows: bending stress of the gear teeth, surface stress, transverse deflections of the shafts, and stresses in the shafts. To solve this optimization problem, seven variables need to be considered: face width (b), module of teeth (m), the number of teeth in the pinion (z), length of the first shaft between bearings (l1), length of the second shaft between bearings (l2), diameter of the first shaft (d1), and diameter of the second shaft (d2). The equation representing this problem is as follows:

Figure 35
figure 35

Schematic of speed reducer design problem.

$${\text{Minimize\,}}f\left(b,m,z,{l}_{1},{l}_{2},{d}_{1},{d}_{2}\right)=0.7854{x}_{1}{x}_{2}^{2}\left(3.333{x}_{3}^{2}+14.9334{x}_{3}-43.0934\right)-1.508{x}_{1}\left({x}_{6}^{2}+{x}_{7}^{2}\right)+7.4777\left({x}_{6}^{3}+{x}_{7}^{3}\right)+0.7854\left({x}_{4}{x}_{6}^{2}+{{x}_{5}x}_{7}^{2}\right)$$
$$\mathrm{Subject\, to\,}{G}_{1}=\frac{27}{{x}_{1}{x}_{2}^{2}{x}_{3}}-1\le 0; {G}_{2}=\frac{397.5}{{x}_{1}{x}_{2}^{2}{x}_{3}^{2}}-1\le 0;$$
$${G}_{3}=\frac{1.93{x}_{4}^{3}}{{x}_{2}{x}_{6}^{4}{x}_{3}}-1\le 0; {G}_{4}=\frac{1.93{x}_{5}^{3}}{{x}_{2}{x}_{7}^{4}{x}_{3}}-1\le 0;$$
$${G}_{5}=\frac{\sqrt{{\left(\frac{745{x}_{4}}{{x}_{2}{x}_{3}}\right)}^{2}+16.9\times {10}^{6}}}{110{x}_{6}^{3}}-1\le 0; {G}_{6}=\frac{\sqrt{{\left(\frac{745{x}_{5}}{{x}_{2}{x}_{3}}\right)}^{2}+157.5\times {10}^{6}}}{85{x}_{7}^{3}}-1\le 0;$$
$${G}_{7}=\frac{{x}_{2}{x}_{3}}{40}-1\le 0; {G}_{8}=\frac{5{x}_{2}}{{x}_{1}}-1\le 0;{G}_{9}=\frac{{x}_{1}}{{12x}_{2}}-1\le 0;$$
$${G}_{10}=\frac{{1.5x}_{6}+1.9}{{x}_{4}}-1\le 0; {G}_{11}=\frac{1.1{x}_{7}+1.9}{{x}_{5}}-1\le 0;$$

Variable range: \(2.6\le {x}_{1}\le 3.6; 0.7\le {x}_{2}\le 0.8;17\le {x}_{3}\le 28;7.3\le {x}_{4};{x}_{5}\le 8.3;2.9\le {x}_{6}\le 3.9; 5\le {x}_{7}\le 5.5.\)

The attained results, which are shown in Table 20, prove that the EGTO technique finds a minimum cost design value in comparison to other metaheuristic algorithms. Figure 36 depicts the convergence curves and box plots of all algorithms while handling the problem. The proposed EGTO algorithm stands first in solving the speed reducer design (SRD) problem also. Table 21 lists the statistical results obtained by the EGTO and other selected algorithms. From Table 21, it can be seen that the EGTO performed better than all selected methods. Therefore, it is determined that the reliability of the suggested EGTO algorithm is better for the engineering design problem.

Table 20 Comparison results for speed reducer design problem.
Figure 36
figure 36

The convergence curves and boxplots of all algorithms for speed reducer design problem.

Table 21 Statistical results for speed reducer design problem.

Gear train design

As stated in Ref.57, the primary objective of optimizing the gear train design (GTD) is to achieve a gear transmission ratio as close as possible to 1/6.931. Let TA, TB, TD, and TF represent the number of teeth on gears A, B, D, and F, respectively. Since the number of teeth for each gear must be an integer between 12 and 60, the optimization problem is transformed into a constrained optimization problem with discrete variables. The formulation of the optimization problem is as follows:

$$\mathrm{Minimize\, }f={\left(\frac{1}{6.931}-\frac{{T}_{D}{T}_{B}}{{T}_{A}{T}_{F}}\right)}^{2}$$

Variable range: \(12\le {T}_{A}\le 60;12\le {T}_{B}\le 60;12\le {T}_{D}\le 60;12\le {T}_{F}\le 60\).

The optimal solutions found by EGTO and other techniques are presented in Table 22. From this Table 22, it is seen that the results obtained using the proposed EGTO technique are the best, the optimal value is 0, GWO gets the worst results. The results display that the EGTO algorithm efficiently solves the problem and the design with the minimum fitness \(\overrightarrow{x}\) = [59.10865551 35.44113483 13.11941687 54.52139629]. These experimental results present that the proposed EGTO technique has a strong exploitation.

Table 22 Results of the Gear train design problem.

The convergence curves and boxplots of the gear train design problem using the EGTO and other algorithms are shown in Fig. 37. The proposed EGTO algorithm is evaluated and compared with several other optimization algorithms, including GTO, TSO, GWO, GBO, ARO, POA, and RUN. The evaluation is conducted for the Gear Train Design Problem. Table 23 presents the statistical results of these algorithms based on their performance in solving the Gear Train Design Problem. The metrics used to measure the performance include "Best," "Mean," "Median," "Worst," and "Std" for each algorithm. The EGTO algorithm achieved the best result with a fitness value of 0, indicating its ability to find an optimal solution for the Gear Train Design Problem. Also, The EGTO algorithm achieved an average fitness value of 0, indicating that, on average, it performed exceptionally well in finding solutions close to the optimal value. The EGTO algorithm achieved a very low standard deviation of 0, indicating its consistent performance and stability in finding near-optimal solutions. Overall, based on the statistical results, the proposed EGTO algorithm demonstrates exceptional performance in solving the Gear Train Design Problem compared to the other evaluated algorithms. Its ability to consistently find near-optimal solutions and its low variability make it a promising choice for similar constrained optimization problems.

Figure 37
figure 37

The convergence curves and boxplots of all algorithms for Gear train design problem.

Table 23 Statistical results for Gear train design problem.

Wilcoxon rank-sum test results

In this subsection, the variances between EGTO and other techniques are additional analyzed statistically using the Wilcoxon rank-sum test (WRST), which is a paired assessment is employed to notice significant differences between the two algorithms. The attained results of the test between EGTO and each algorithm, conducted at a significance level of α = 0.05 are presented in Table 24, where the symbols "+/=/−" show whether EGTO performs better, similarly, or worse than the compared technique. Additionally, the table includes statistical findings for EGTO across different dimensions and functions, signifying whether EGTO performs better, similarly, or worse than the comparison algorithm. EGTO demonstrates superior statistical performance in seven real-world constrained engineering design problems including Three-Bar Truss Design, Compression Spring Design, Pressure Vessel Design, Cantilever Beam Design, Welded Beam Design, Speed Reducer Design, and Gear Train Design when compared to other techniques, affirming its significant dominance across most functions. Consequently, it is confidently concluded that the proposed EGTO technique exhibits the best overall performance when compared to other methods.

Table 24 Statistical results of Wilcoxon rank-sum test.

Friedman’s rank test results

Table 25 shows the statistical results achieved using Friedman tests58 for seven real-world constrained engineering design problems using the studied algorithms. A lower ranking value indicates superior algorithm performance. According to the results, the ranking order of the six techniques is as follows: EGTO, GTO, GBO, RUN, ARO, TSO, GWO, and POA.

Table 25 Friedman test for the eight algorithms.

Furthermore, Fig. 38 presents the mean ranks obtained from Friedman's rank test for the seven real-world constrained engineering design problems using various algorithms. This visualization provides a clear comparison of the algorithms' performances across the cases, helping to identify any significant differences in their ranks. The top-ranking position clearly indicates that EGTO is the most effective algorithm among the eight considered.

Figure 38
figure 38

Mean ranks achieved using Friedman’s rank test for the seven real-world constrained engineering design problems using various algorithms.

Conclusion

In this article, an enhanced GTO technique, namely EGTO, has been proposed to effectively and precisely improve the performance of the GTO technique. The EGTO technique has been  tested on a set of 23 benchmark functions with different dimensions to evaluate the exploration and exploitation phases for avoiding local optimum. Initially, the results reveal that the EGTO algorithm is the best among these well-known algorithms such as Tuna Swarm Optimization (TSO), Grey Wolf optimizer (GWO) algorithm, Gradient-based optimizer (GBO) algorithm, Artificial rabbits optimization (ARO), Pelican Optimization Algorithm (POA), and RUN algorithm. The EGTO algorithm has been tested on thirty-one benchmark functions to analyze the exploration, exploitation, local optima avoidance, and convergence behavior. The results of these test functions show that the EGTO algorithm is the best optimizer which provides very competitive results as compared to other optimizers. The statistical testing has been carried out to demonstrate the superiority of the EGTO algorithm compared to other metaheuristics. Also, to validate the effectiveness of the proposed EGTO in solving highly difficult and complex composition functions, and providing a rigorous assessment of the algorithms, the CEC2019 functions were used in this paper, and the results of the proposed algorithm were compared with the results of several optimization algorithms. The simulation results and statistical analysis reveal that EGTO is capable of attaining the optimal solutions for maximum benchmark functions while maintaining a good balance between exploration and exploitation. In addition, the EGTO algorithm has been employed for seven real-world constrained engineering design problems (i.e., Three-Bar Truss Design, Compression Spring Design, Pressure Vessel Design, Cantilever Beam Design, Welded Beam Design, Speed Reducer Design, and Gear Train Design) which demonstrates that the EGTO algorithm has high-performance capability in unknown search spaces. This paper puts forward several research directions in the EGTO algorithm that may be applied to solve multi-objective optimization problems in future work. Also, Binary and multi-objective versions of the EGTO algorithm can be seen as an interesting direction for future contribution.