1 Introduction

The development of science and technology has led to an increase in the complexity of optimization problems, and the emergence of new optimization problems has necessitated the deployment of the most appropriate optimization algorithms. Deterministic algorithms are successful when dealing with linear, convex, and simple optimization problems; nevertheless, these methods are inefficient when handling non-differentiable objective functions, nonlinear search spaces, non-convex, complicated, and NP-hard issues [1, 2]. On the other hand, these are the key features that optimization issues exhibit in real applications. As a result of the inefficiency of deterministic algorithms, stochastic algorithms, including metaheuristic algorithms, were developed [3]. Metaheuristic algorithms that employ random operators, trial-and-error methods, and random exploration of the search space are effective tools for tackling optimization issues. The widespread usage of metaheuristic algorithms can be attributed to their basic concepts and straightforward implementations, as well as their effectiveness in solving high-dimensional problems [4, 5].

Metaheuristic Algorithms (MAs) have been proposed to handle non-linear, multimodal, and high-dimensional optimization problems [6,7,8]. Using MAs to tackle complicated problems has shown to be an effective alternative to conventional optimization algorithms [9, 10]. Although approximation algorithms such as MAs are not guaranteed to produce the best solution, they are developed to provide solutions as close as possible to the optimal one in a reasonable period of time [1, 11]. The early phases of the search are devoted to exploring the search space, and the promising regions are then exploited in later iterations to improve the quality of the solutions. In addition, by utilizing multiple search agents, these algorithms demonstrate superior performance in avoiding local minima and finding near-optimum solutions [12, 13].

Among the various categories of MAs, evolutionary and swarm intelligence algorithms stand out as the most prominent and have been effectively applied to various real-world challenges. Evolutionary algorithms simulate natural evolution by adapting reproduction, crossover, and mutation operators, whereas swarm intelligence algorithms imitate the collective intelligence of natural groupings, such as birds' flocks, fish's schools, and ants’ colonies. Some of the well-known evolutionary algorithms are Genetic Algorithm (GA) [14], Differential Evolution (DE) [15], and Evolution Strategies (ES) [16]. The act of seeking food and the strategies of fighting and hunting that occur naturally among creatures provided a fundamental motivation for the development of a variety of swarm intelligence algorithms, such as Particle Swarm Optimization (PSO) [17], Bat Algorithm (BA) [18], Cuckoo Search (CS) [19], Krill Herd (KH) [20], Grey Wolf Optimizer (GWO) [21], Moth-Flame Optimization (MFO) [22], Butterfly Optimization Algorithm (BOA) [23], Salp Swarm Algorithm (SSA) [24], Honey Badger Algorithm (HBA) [25], and Liver Cancer Algorithm (LCA) [26].

The Whale Optimization Algorithm (WOA) [27] is a swarm intelligence algorithm that emulates humpback whales' intelligence bubble-net hunting behavior. The WOA's simplicity, ease of implementation, and few parameters have attracted many researchers to use it for solving optimization problems, including intrusion detection systems [28], disease detection [29], robotics [30], and signal processing [31]. However, WOA tends to be trapped in local minima due to a deficiency in maintaining a balanced exploration and exploitation. This is because, in the early iterations, WOA merely conducts global exploration and entirely switches to local exploitation, reducing the balance between exploration and exploitation. Due to the absence of global exploration in later iterations, the population leads to fast convergence toward local optima without ensuring global optimality with poor solution accuracy [32, 33]. Therefore, a number of adjustments have been made to the canonical WOA in order to address these flaws [34, 35]. According to the No-Free Lunch (NFL) theorem [36], there is no algorithm that is superior to all other algorithms for dealing with problems with various challenges. Thus, it is required to suggest new algorithms or make improvements to those already in use by altering their operators to tackle optimization issues more efficiently.

The WOA concept, while straightforward, holds the potential to emerge as a leading optimization algorithm. This has led researchers to give it increased attention, leading to numerous enhancements and diverse applications of WOA. Despite the significant improvements of WOA, it still needs more developments that can handle problems with complex characteristics. Therefore, the proposed modifications aim to enhance the overall performance of the WOA, specifically addressing issues where the algorithm demonstrates suboptimal behavior or slow convergence rates. These changes introduce adaptability features, enabling the algorithm to navigate various problem landscapes more effectively. This adaptability becomes crucial, especially when the traditional WOA encounters challenges in efficiently discovering optimal solutions. Moreover, the introduced modifications enhance the WOA's versatility, extending its applicability across various optimization problems.

In our earlier research [37], we developed the Multi-trial Vector (MTV) approach to address an extensive range of optimization issues. The MTV approach includes the following four components: winner-based distributing, multi-trial vector producing, evaluating and population updating, and lifetime archiving. This approach incorporates several search strategies by specifying distribution policies across the population to improve the algorithms' performance. To prevent getting stuck in a local optimum, to prevent the search from converging too quickly, and to strike a proper balance between exploiting and exploring solutions, the MTV approach allows for the definition of multiple strategies that can be adapted to the particular problem characteristics at each stage. The study aims to improve the efficiency of the WOA in addressing complex real-world optimization problems by introducing three new additional trial vectors that leverage the advantages of the MTV approach.

This paper introduces a Multi-trial Vector-based Whale Optimization Algorithm (MTV-WOA) that utilizes the Multi-trial Vector (MTV) approach. The MTV-WOA employs three new Trial Vector Producers (TVPs) during the multi-trial vector producing step of the MTV approach, each designed to address optimization challenges with varying characteristics while preserving specific search behavior. The three proposed TVPs include a Balancing Strategy-based Trial-vector Producer (BS_TVP), a Local Strategy-based Trial-vector Producer (LS_TVP), and a Global Strategy-based Trial-vector Producer (GS_TVP). The MTV approach's winner-based distributing is utilized to apply each TVP to a subset of the population corresponding to that TVP. In MTV-WOA, incorporating the MTV approach involves adopting a winner-based distributing policy. This policy leads to dividing the main population into three distinct subpopulations. The rationale behind this design is rooted in the advantages of the MTV approach, specifically in enhancing exploration and exploitation capabilities. The winner-based distribution strategy allows for a more effective and dynamic allocation of resources across these subpopulations, contributing to the algorithm's overall performance. The proportion of the dedicated population is adjusted regularly based on the number of whales each TVP improves. Additionally, the MTV-WOA utilizes a lifetime archive to store inferior whales to transfer their knowledge to future generations of whales. The proposed algorithm is designed to enhance the performance of the WOA algorithm when applied to complex real-world optimization problems.

The proposed MTV-WOA's performance is validated using 29 benchmark functions of CEC 2018 [38] in 10, 30, and 50 dimensional space. The gained results are compared to state-of-the-art and newly proposed metaheuristic algorithms consists of Krill Herd (KH) [20], Grey Wolf Optimizer (GWO) [21], Moth-Flame Optimization (MFO) [22], Whale Optimization Algorithm (WOA) [27], Salp Swarm Algorithm (SSA) [24], Harris Hawks Optimization (HHO) [39], Butterfly Optimization Algorithm (BOA) [23], and Arithmetic Optimization Algorithm (AOA) [40]. Afterwards, the gained results on benchmark functions by MTV-WOA and comparative algorithms are statistically analyzed by use of the Friedman test [41] to confirm the superiority of the proposed algorithm. In another experiment set against CEC 2017 winners LSHADE-SPACMA [42], LSHADE-cnEpSin [43], well-established algorithm PSO [17], recent algorithms Snake Optimizer (SO) [44] and Coati Optimization Algorithm (COA) [45], and improved variant enhanced whale optimization algorithm (E-WOA) [46], the proposed MTV-WOA consistently outperforms these algorithms, securing its position as the third-best algorithm after the CEC winners. Results, reinforced by the Wilcoxon signed-rank test, highlight MTV-WOA's statistically significant superiority over other algorithms. Furthermore, the study extends its impact by evaluating enhancements introduced by BS_TVP, LS_TVP, and GS_TVP on other algorithms, such as PSO and LSHADE-SPACMA, as demonstrated by the effectiveness of Adapted-PSO and Adapted-LSHADE-SPACMA. This analysis provides insights into the broader applicability of the proposed TVPs in enhancing the performance of diverse optimization algorithms.

Furthermore, the application of MTV-WOA was proved through the resolution of engineering issues. The proposed MTV-WOA demonstrates superiority over comparative algorithms, as evidenced by thorough comparisons and statistical analyses. Equipping WOA with multi-movement strategies significantly strengthens its effectiveness in solving diverse and complex optimization problems, particularly shifted or rotated problems. The advantage of the proposed improved algorithm lies in its ability to enhance the WOA's performance. Leveraging the MTV approach allows simple metaheuristic algorithms like WOA to integrate complementary search strategies. This adaptation uniquely positions the MTV-WOA to excel in addressing various optimization challenges.

The outline of the paper is as follows: Sect. 2 provides a literature survey of relevant works, while the WOA's mathematical model and flowchart are presented in Sect. 3. The proposed MTV-WOA is presented in Sect. 4. Section 5 presents the experimental assessment and statistical analysis of the proposed and comparative algorithms, while Sect. 6 showcases the solution to engineering problems. Section 7 delves into the primary factors contributing to the achievements of the MTV-WOA. The final section summarizes the findings and suggestions for further research.

2 Related Work

Metaheuristic algorithms are popular and powerful algorithms that have been proposed to provide near-optimal solutions to real-world problems. MAs can be categorized into four main groups evolutionary, swarm intelligence, physics-based, and human behavior-based according to the inspiration source. Evolutionary Algorithms (EAs) draw inspiration from Darwin's theory, which simulates the evolutionary behaviors of living things by utilizing concepts of competence and survival. Evolutionary algorithms rely on mechanisms such as mutation and crossover to ensure the best possible solutions survive and evolve. This category's popular algorithms are Evolution Strategy (ES), Genetic Algorithm (GA), Differential Evolution (DE), and Genetic Programming (GP). Among these, DE and its variants' effectiveness and performance have been demonstrated in a number of studies, particularly in a variety of disciplines, such as medical [47], engineering [48], industry [49], economics [50], and data mining [51].

The behavioral model of animals, plants, and birds serves as the basis for Swarm Intelligence (SI) algorithms classified under the second category of metaheuristics. SI algorithms rely on influential population members to guide other solutions to reach the optimal solution. The most popular and recently proposed SI algorithms are Particle Swarm Optimization (PSO) [17], Krill Herd (KH) [20], Grey Wolf Optimizer (GWO) [21], Whale Optimization Algorithm (WOA) [27], Butterfly Optimization Algorithm (BOA) [23], Salp Swarm Algorithm (SSA) [24], Monarch Butterfly Optimization (MBO) [52], Chameleon Swarm Algorithm (CSA) [53], Horse Herd Optimization Algorithm (HOA) [54], Orca Predation Algorithm (OPA) [55], White Shark Optimizer (WSO) [56], Snake Optimizer (SO) [44], and Artificial Hummingbird Algorithm (AHA) [57]. Even though the vast majority of SI algorithms are intended to deal with continuous problems, a variety of techniques can be used to adapt these algorithms to deal with difficulties of a discrete nature [58]. Utilizing the adapting techniques has allowed for the successful resolution of a number of real-world problems.

In physics-based algorithms, individuals' movements and relationships are modeled by applying physical laws, including gravity, inertia force, and electrical charges. The Big Bang Big-Crunch (BB-BC) [59] is a well-known physics-based algorithm inspired by the big bang and crisis theory. The coulomb law of physics and Newtonian mechanical motion led to the design of Charged System Search (CSS) [60] algorithm. Some other physics-based algorithms are Ray Optimization (RO) [61], Colliding Bodies Optimization (CBO) [62], Atom Search Optimizer [63], Nuclear Reaction Optimization (NRO) [64], and Plasma Generation Optimization (PGO) [65]. Human cultural and political activities such as learning, competitiveness, political campaigns, and cultural influence inspire algorithms based on human behavior. Teacher Learning Based Optimization (TLBO) [66] is a practical example of these algorithms which is model teaching and learning behavior between humans. Poor and Rich Optimization (PRO) [67], Seeker Optimization Algorithm (SOA) [68], Dual-Population Social Group Optimization (DPSGO) [69], and Human Eye Vision Algorithm (HEVA) [70] are well-known and recently proposed physics-based algorithms.

Numerous real-world problems in continuous and discrete domains have been resolved using metaheuristic algorithms, such as image segmentation [71,72,73,74], feature selection [75,76,77,78,79,80], solar power system optimization [81,82,83,84], engineering [85,86,87,88], planning and scheduling [89,90,91,92], disease diagnosis [93,94,95], continuous optimization problems [96,97,98,99,100,101,102,103,104], optimal power flow [105, 106], routing problem [107, 108], community detection [109,110,111], and cloud manufacturing [112,113,114]. Among the population-based metaheuristic algorithms, the WOA is well-known and has been used in various applications. Meanwhile, WOA possesses significant flaws, including inadequate exploration and low variability, resulting in local optimum trapping, inability to jump out of local optimal, and poor global searchability. Thus, a variety of variants were suggested to tackle its deficiencies. In the following, some improved variants of the whale optimization algorithm are discussed.

In Ref. [32], WOAGWO, a hybridized GWO with WOA was suggested to address global numerical optimization issues. By improving the exploitation of WOA and preventing stagnation within local optima, the WOAGWO significantly enhanced the performance of WOA. A modified WOA named m-SDWOA was proposed in Ref. [33], which combines modified Symbiotic Organisms Search (SOS) [115] with a mutation strategy from the DE algorithm. The proposed m-SDWOA mitigates the shortcomings of the WOA involving insufficient exploitation and the inability to maintain a steadiness between exploring and exploiting. In Ref. [116], an enhanced WOA integrated with SSA named ESSAWOA was proposed to solve global optimization problems. In ESSAWOA, the lens opposition-based learning strategy was utilized to change the position of search agents. Also, the SSA’s convergence parameter and the leader mechanism are used to strengthen the exploitation and maintain diversity. Experiments show that ESSAWOA is more accurate in finding the optimal solution than WOA and SSA.

In Ref. [117], a Laplacian whale optimization algorithm was developed known as LXWOA. A Laplace crossover operator was utilized to enhance the WOA algorithm's population variability and address the issue of early convergence that arises during the optimization phase. The results of the experiments demonstrated that the suggested algorithm converges faster than comparative algorithms. In Ref. [118], an enhanced whale optimization algorithm was proposed to overcome the WOA's flaws, such as fast convergence to a local optimum, low computation accuracy, and stagnation. Levy flight strategy and ranking-based mutation operator were added to the WOA to improve the global and local search abilities. Experimental results show that the proposed algorithm has a fast convergence speed and high calculation accuracy.

In Ref. [119], IWOSSA which is a hybridized improved WOA with SSA, was proposed to solve optimization problems. In this regard, IWOA presented a variation of WOA that uses exponential relations rather than linear ones. Then, IWOA or SSA conducts the search based on a particular condition. Experiments using benchmark functions and PID controllers demonstrated that the suggested IWOSSA could achieve superior results and fine-tune the engineering problem's parameters. To address the inadequacies of WOA in tackling high-dimensional problems, a hybrid WOA with several techniques was developed [34]. The proposed algorithm uses individual learning instead of learning dimensions, as well as a random opposition learning strategy to enable the algorithm to find the desired solution in high dimensions. The gained results from diverse experiments have demonstrated that the suggested algorithm effectively solves benchmark functions and clusters high-dimensional datasets.

HS-WOA and HS-WOA + are two algorithms that were proposed in Ref. [120] such that they are the hybridization of WOA and a human-based algorithm Social Group Optimization (SGO) [121]. The suggested algorithm finds the optimal balance between exploration and exploitation by integrating the capabilities of WOA and SGO, which are primarily focused on convergence and exploitation, respectively. Experimental results prove that the hybrid performance is more efficient than the WOA. In Ref. [122], a new variant of WOA named OBCWOA was proposed that uses a chaos mechanism based on quasi-opposition. The purpose of the improved version is to overcome the poor convergence speed of the original WOA and to prevent becoming stuck in a local optimum while dealing with problems with a high dimension. In order to speed up the convergence and create initial values, OBCWOA takes advantage of the turbulence mechanism. In opposition-based learning, balancing exploration with the development of an algorithm to get out of local optimizations is achieved by applying the opposition-based learning approach.

In Ref. [123], an improved WOA with a joint search mechanism named JSWOA was proposed to tackle the high-dimensional optimization problems. In the proposed algorithm, the initial population diversity is maintained using a tent chaotic map. Then, an inertia weight is utilized to boost the convergence speed and escape from the local optima of the JSWOA. A final opposition-based learning mechanism is utilized to constantly upgrade the population's members throughout each iteration in order to improve the quality and variety of the whale population and raise the chance of reaching a globally optimum solution. The proposed JSWOA was evaluated by benchmark functions and the gained results prove the better performance in terms of solution accuracy and convergence speed. Another modified whale optimization algorithm named MWOA-CEE was proposed in Ref. [124] such that the proposed algorithm is suitable for tackling WOA's flaws. In this regard, the proposed MWOA-CEE algorithm utilized three operators consisting of opposition-based learning, exponentially decreasing function, and elite-guided Cauchy mutation. The suggested MWOA-CEE was assessed using benchmark functions, and the results demonstrate its higher solution precision.

A modified whale optimization algorithm with a cross-optimization algorithm named MWOA-CS [125] was suggested for large-scale optimization issues. Random execution of the WOA or cross-optimization algorithm is used to update each problem dimension during the search process. The exploitation and exploration capabilities are enhanced by using the improved WOA algorithm's new nonlinear convergence coefficient and nonlinear weight of inertia. The findings, obtained by evaluating the proposed and comparative algorithms on test functions with dimensions ranging from 300 to 1000, demonstrated that the MWOA-CS provided superior performance compared to other algorithms. In Ref. [126], a multi-strategy whale optimization algorithm named MSWOA was proposed for solving complex engineering optimization problems. In this regard, a high-quality initial population is formed by employing a random chaotic logistics map, and the balance between exploitability and exploration is maintained using adaptive weight modification. Additionally, using a Lévy flight ensures that the population diversity is preserved during each iteration. The effectiveness of the algorithm was demonstrated through experiments conducted on the CEC 2017 benchmark set and by comparisons with other algorithms.

3 Whale Optimization Algorithm (WOA)

The WOA [27] is one of the population-based algorithms belongs to the category of swarm intelligence algorithms which is inspired by humpback whales' natural hunting behavior. In nature, a humpback whale stalks krill or tiny fish near the water's surface using bubble-net hunting strategy. Supposing there is a population of N whales as X = {X1, X2, …, XN} in a search space and each whale characterized with a D-dimensional vector Xi = {x1, x2, …, xD}. In WOA, whales estimate the position of their prey which is the position of the best candidate solution or the closest candidate to the optimal solution. Consequently, population members modify their position based on the location of the prey. The WOA simulates three types of hunting behavior in whales, including encircling prey, bubble-net attacking, and seeking prey, as described below and its flowchart shown in Fig. 1.

Fig. 1
figure 1

The flowchart of WOA


Encircling Prey: The initial stage of a whale's hunting strategy is to encircle its prey. During this phase, the whales have located their prey and are closing in for the attack. In the algorithm, X*, the current best whale, is regarded as the prey, and other whales modify their positions relative to this position using Eqs. (1) and (2).

$$D=\left|C \times {X}^{*}\left(t\right)-X(t)\right|$$
(1)
$$X(t+1)={X}^{*}\left(t\right)-A\times D$$
(2)

where D is the estimated distance between X* and X in the t-th iteration, C and A are coefficients determined by Eqs. (3) and (4), respectively.

$$A=2\times a\times r-a$$
(3)
$$C=2\times r$$
(4)

where a is gradually decreased from two to zero through the iterations, and r is a random number in the range zero and one.


Bubble-Net Attacking: As the whales whirl around their prey, they update their position in a spiral pattern or engage in a shrinking encirclement strategy. The spiral position updating is modeled in Eq. (5),

$$X\left(t+1\right)={{D}^{\mathrm{^{\prime}}}+{e}^{bl}\times {\text{cos}}(2\pi l)+X}^{*}\left(t\right)$$
(5)

where D' is the distance between the position of whale X and the position of X* calculated by Eq. (6), b is a constant coefficient by value set to one, and l is a uniform random number in range [− 1, + 1].

$${D}{\prime}=\left|{X}^{*}\left(t\right)-X(t)\right|$$
(6)

The bubble-net attacking is modeled by Eq. (7),

$$X(t + 1) = \left\{ {\begin{array}{*{20}l} {X^{*} (t) - A \times D} \hfill & {if\,p < 0.5} \hfill \\ {D{\prime} \times e^{bl} \times \cos (2\pi l) + X^{*} (t)} \hfill & {if\,p \ge 0.5} \hfill \\ \end{array} } \right.$$
(7)

where the variable p is a random integer that ranges from 0 to 1 and is used to determine the likelihood of updating whale positions using either the shrinking encircling strategy (when p is less than 0.5) or the spiral updating technique (when p is greater than or equal to 0.5). The shrinking encircling strategy involves a random variable A, which ranges from -a to a, where the value of a linearly decreases from two to zero with each iteration. The spiral updating strategy, on the other hand, relies on a distance measuring D' that indicates the distance between X and X* in the spiral updating position. The constant b determines the form of the spiral movement, while the variable l is a random value between -1 and 1.


Searching for Prey: Whales search the whole search space to find potential prey. When |A|≥ 1, a whale conduct global search or exploration by using the search for prey strategy. During the exploration phase, which is determined by Eqs. (8) and (9), the whale shifts its location relative to a random whale Xrand instead of the best whale X*:

$$D=\left|C\times {X}_{rand}-X(t)\right|$$
(8)
$$X(t)=\left|{X}_{rand}-A\times D\right|$$
(9)

where Xrand is a randomly chosen whale from the current population.

4 Multi-Trial Vector-Based Whale Optimization Algorithm (MTV-WOA)

The WOA is a widely used optimization algorithm with a straightforward implementation; however, the algorithm's performance is insufficient when dealing with complex problems. The canonical WOA suffers from low exploration and slow convergence speed, which significantly affect its performance [122]. The canonical WOA's performance can be improved by altering its search strategy that incorporates multiple search strategies when dealing with complex problems with diverse characteristics. Motivated by this, a Multi-trial Vector-based Whale Optimization Algorithm (MTV-WOA) is proposed such that the simple WOA search strategy is replaced by the Multi-trial Vector (MTV) approach [37]. Integrating the MTV approach into the WOA facilitates the development of a variety of Trial Vector Producers (TVPs) so that each can maintain a distinct behavior throughout the optimization process. Additionally, according to MTV's winner-based distributing policy, each TVP is applied to a specific portion of the population. Thus, information sharing between whales from distinct subpopulations during population dispersion can increase the effectiveness of the proposed algorithm.

As depicted in Fig. 2, the MTV-WOA has five steps consists of: initializing, winner-based distributing, multi-trial vector producing, evaluating and population updating, and lifetime archiving. Following initializing N whales in the search space, the subpopulation size of each TVP is calculated and altered within every sections of iterations named WinIter in the winner-based distributing step. After initializing the main population (X), the population is then partitioned into three subpopulations, namely X_BT, X_LT, and X_GT. Each of these subpopulations corresponds to one of the TVPs. This partitioning ensures a diverse and balanced distribution of whales across the subpopulations, facilitating a more comprehensive exploration of the search space. Then, in the multi-trial vector producing step, for each whale a candidate position is produced according to one of the three trial vector producers. In MTV-WOA, three new search strategies are proposed, namely Balancing Strategy-based Trial-vector Producer (BS_TVP), Local Strategy-based Trial-vector Producer (LS_TVP), and Global Strategy-based Trial-vector Producer (GS_TVP). These new search strategies are incorporated to prevent local optima entrapment, increase exploration and exploitation, and maintain a balance between them. BS_TVP ensures an equilibrium between exploration and exploitation, and avoidance of the optimal local solution, LS_TVP enhances the exploitation ability, and GS_TVP promotes exploration. Finally, in the evaluating and population updating step inferior whales preserves in a lifetime archive to use their information to propagate the current population. Table 1 gives a nomenclature of the used parameters in the proposed algorithm. The following section provides a detailed explanation of the algorithm's steps.

Fig. 2.
figure 2

The model of the proposed Multi-trial Vector-based Whale Optimization Algorithm (MTV-WOA)

Table 1 The nomenclature used in MTV-WOA

Initializing Step: In the proposed algorithm, the whale’s position is represented by a vector Xi = {xi,1, xi,2, …, xi,D} where Xi is the position of i-th whale and D is the problem's number of dimensions. Between the search space's lower and upper limit borders, N whales are distributed at random by Eq. (10).

$${x}_{i,j}={L}_{j}+\left({U}_{j}-{L}_{j}\right)\times rand(\mathrm{0,1})$$
(10)

where xi,j is the j-th dimension of the i-th whale, Lj and Uj are the lower and upper bound values of the j-th dimension, and rand is the random number generated in the range [0, 1], respectively. N-generated whales’ position is stored in matrix XN×D shown in Eq. (11).

$${X}^{t}=\left[\begin{array}{cc}\begin{array}{ccc}{x}_{\mathrm{1,1}}& {x}_{\mathrm{1,2}}& \dots \end{array}& {x}_{1,D}\\ \begin{array}{ccc}\begin{array}{c}{x}_{\mathrm{2,1}}\\ \vdots \\ {x}_{N,1}\end{array}& \begin{array}{c}{x}_{\mathrm{2,2}}\\ \vdots \\ {x}_{N,2}\end{array}& \begin{array}{c}\dots \\ \vdots \\ \dots \end{array}\end{array}& \begin{array}{c}{x}_{2,D}\\ \vdots \\ {x}_{N,D}\end{array}\end{array}\right]$$
(11)

On the t-th iteration, the objective function f(Xti) assesses the fitness value of each whale Xti, respectively.


Winner-Based Distributing Step: Through this step, the number of iterations is split into k WinIter sections, each of which contains nIt iterations. The winning TVP is the TVP with the highest value of improved rate in the previous WinIter. The subpopulation size of each TVP is calculated at the conclusion of each WinIter by calculating the improved rate given by ImpRate using Eq. (12).

$${ImpRate}_{BS\_TVP}=\frac{{IF}_{BS\_TVP}}{{FE}_{BS\_TVP}}$$
(12)
$${ImpRate}_{LS\_TVP}=\frac{{IF}_{LS\_TVP}}{{FE}_{LS\_TVP}}$$
$${ImpRate}_{GS\_TVP}=\frac{{IF}_{GS\_TVP}}{{FE}_{GS\_TVP}}$$

where ImpRateBS-TVP, ImpRateLS-TVP, and ImpRateGS-TVP are the improved rate calculated for each TVP. IFBSTVP, IFLS-TVP, and IFGS-TVP are the number of whales whose fitness is improved by BS_TVP, LS_TVP, and GS_TVP. Also, FEBS-TVP, FELS-TVP, and FEGS-TVP are the number of function evaluations in the previous WinIter. In the MTV-WOA, the reward-penalty distribution policy is considered to determine the subpopulation size of each TVP by using Eqs. (13) and (14),

$$Reward \, rule: \, If \, BS\_TVP \, or \, LS\_TVP \, is \, Win - TVP, \, then \, N_{Win - TVP} \, = \,0.6\, \times \,N \, and \, N_{Loser - TVPs} \, = \,0.2\, \times \,N$$
(13)
$$Penalty \, rule: \, If \, GS\_TVP \, is \, Win - TVP, \, then \, N_{Win - TVP} \, = \,0.2\, \times \,N \, and \, N_{Loser - TVPs} \, = \,0.4\, \times \,N$$
(14)

where NWin-TVP, NLoser-TVP and N are subpopulation size of winner TVP, loser TVP and the total number of whales, respectively.


Multi-Trial Vector Producing Step: In the proposed algorithm, in each iteration, the position of whale Xi changes by one of the proposed strategies including Balancing Strategy-based Trial-vector Producer (BS_TVP), Local Strategy-based Trial-vector Producer (LS_TVP), and Global Strategy-based Trial-vector Producer (GS_TVP). Specifically, the BS_TVP strikes an equilibrium between exploration and exploitation, the LS_TVP is designed to boost exploitation capability, and the GS_TVP provides a significant capability for enhancing the exploration of the proposed MTV-WOA.

Some preliminary information is presented first, followed by a comprehensive explanation of the proposed TVPs. In the proposed BS_TVP and GS_TVP, two transformation matrices M and are used to generate the trial vectors of each subpopulation. Matrix M with dimensions N × D is constructed from a D × D lower triangular matrix with values one, by replicating the square matrix (N/D) times. The remaining rows of M, if there exist, are filled with the first rows of the square matrix. Then, a random permutation is applied to the rows of M. Afterward, by replacing the inverse value of each element of M, the matrix is obtained. Moreover, in the proposed LS_TVP and GS_TVP, scale factor F ϵ [0, 1] is a real number that is utilized for scaling the difference vectors. The Cauchy distribution is employed to generate and update the value of F for each whale [37].


Balancing Strategy-Based Trial-Vector Producer (BS_TVP): Since one of the significant drawbacks of WOA is the inability to strike a proper balance, the BS_TVP is proposed to tackle the imbalance between exploring and exploiting and the need to prevent local optimums.

For each whale X_BTi belongs to the subpopulation of BS_TVP, a trial vector V_BTi is calculated by Eq. (15),

$${V\_BT}_{i}^{t+1}=p\times \left({X\_BT}_{rnd}^{t}-A\times {Dist}_{i}^{t}\right)+p\times ({X\_Upop}_{rnd}^{t}-{X\_BT}_{i}^{t})$$
(15)

where p is a convergence coefficient that decreases from two to zero as the number of iterations increases and is calculated by Eq. (16), Disti indicates the distance of the i-th whale and X_BTrnd a randomly selected whale from X_BT subpopulation and is calculated by Eq. (17), and coefficient A is calculated by Eq. (3).

$$p=2-t\times (2/MaxIter)$$
(16)
$${Dist}_{i}^{t}={X\_BT}_{rnd}^{t}-{X\_BT}_{i}^{t}$$
(17)

where t and MaxIter represent the current and maximum number of iterations. X_BTrnd and X_BTi are a randomly selected and the i-th whale from the subpopulation X_BT, respectively. The candidate trial vector of the i-th whale C_BTi is calculated by Eq. (18),

$${C\_BT}_{i}^{t+1}={M}_{i}^{t}\times {X\_BT}_{i}^{t}+{\overline{M} }_{i}^{t}\times {V\_BT}_{i}^{t+1}$$
(18)

where Mi and i are corresponding values of the i-th whale and V_BTit+1 is the candidate trial vector generated for the i-th whale of BS_TVP subpopulation.


Local Strategy-Based Trial-Vector Producer (LS_TVP): This strategy is designed with the intention of enhancing the exploitation efficiency of the proposed MTV-WOA. The current location of whale X_LTi is taken into account when calculating the new trial position for the i-th whale of the LS_TVP subpopulation. Additionally, half of the distance between randomly picked whales from X_Upop and X_LT is factored into the calculation. Equation (19) is utilized to produce the candidate trial vector for the LS_TVP whale members.

$${C\_LT}_{i}^{t+1}={X\_LT}_{i}^{t}+(1-\omega \times {F}_{i})\times \frac{{X\_Upop}_{rnd}^{t}-{X\_LT}_{rnd}^{t}}{2}$$
(19)

where ω is a constant value set by 2, Fi is the scale factor for the i-th whale of LS_TVP subpopulation, X_Upoprnd is a random individual selected from the union of current and lifetime archive populations, and X_LTrnd is a random selected whale from the X_LT subpopulation.


Global Strategy-Based Trial-Vector Producer (GS_TVP): In introducing this TVP, the objective is to improve the exploration capability of the MTV-WOA. When developing GS_TVP, we used the advantages provided by the movements of the classical WOA and improved upon those advantages by using the disparity between the best and worst whales in the X_GT subpopulation. The trial vector of the i-th whale V_GTi is calculated by Eq. (20),

$${V\_GT}_{i}^{t+1}=\left({Dist}{\prime}\times {e}^{bl}\times {\text{cos}}\left(2\pi l\right)\right)+\left({X}_{best}-A\times {Dist}{\prime}\right)+{F}_{i}\times ({X\_GT}_{best}^{t}-{X\_GT}_{worst}^{t})$$
(20)

where Dist' is the distance of the i-th whale in the GS_TVP subpopulation from the global best position of the entire population calculated by Eq. (21). The spiral motion parameters b and l are the same as the classical WOA. Xbest, X_GTbest and X_GTworst are the best member of X, and best and worst members of the GS_TVP subpopulation, respectively.

$${Dist}{\prime}=\left|{{X}_{best}-X\_GT}_{i}^{t}\right|$$
(21)

The candidate trial vector of the i-th whale of GS_TVP subpopulation C_GTi is calculated by Eq. (22),

$${C\_GT}_{i}^{t+1}={M}_{i}^{t}\times {X\_GT}_{i}^{t}+{\overline{M} }_{i}^{t}\times {V\_GT}_{i}^{t+1}$$
(22)

where Mi and i are corresponding values of the i-th whale, X_GTi and V_GTi are the i-th member of the X_GT subpopulation and the generated trial vector for the i-th whale of GS_TVP subpopulation.


Evaluating and Population Updating: During each iteration of the proposed MTV-WOA, the three new trial vectors, BS_TVP, LS_TVP, and GS_TVP, generate candidate trial vectors C_BTt+1, C_LTt+1, and C_GTt+1. The fitness value of each candidate trial vector is then evaluated and compared with the previous fitness value of the whales. If the fitness value of a candidate trial vector is better than the whale's previous fitness value, the whale's position is updated with the candidate trial vector. However, if the fitness value of the candidate trial vector is worse than the whale's previous fitness value, the position of the whale remains unchanged in the population. This process is repeated for each whale in the population at every iteration.


Lifetime Archiving: Since the whales that are updated and replaced by their respective candidate trial vectors offer valuable information about previously explored potential regions, it is advantageous to store them. The lifetime archive is used to preserve inferior whales for the purpose of propagating their information to the next generation of whales in subsequent iterations. This archive is initially empty; however, it is capable of storing the position and life-time of N inferior whales. The life-time value of archived whales is increased by one at the end of each iteration. When the number of archive members exceeds the maximum size, inferior whales will be discarded, considering the higher value of life-time to limit the number of solutions below the maximum size. MTV-WOA receives a boost to its diversity due to this lifetime archive, which also helps prevent early convergence.

Finally, the search procedure is repeated up until the point where it has reached the maximum number of possible repetitions. The pseudo-code for the proposed MTV-WOA is shown in Algorithm 1.

Algorithm 1
figure a

Multi-trial vector-based Whale Optimization Algorithm (MTV-WOA)

5 Experimental Evaluation and Results

In this section, the performance of the proposed MTV-WOA is experimentally and statistically evaluated using benchmark functions from CEC 2018 [38] with varying dimensions 10, 30, and 50. The quantitative assessment of the proposed algorithm includes the mean of fitness error. The purpose of these experiments is to demonstrate the exploration and exploitation capabilities and the local optima avoidance of the MTV-WOA. Further, the performance of MTV-WOA was evaluated and compared to that of the state-of-the-art as well as recently developed metaheuristic algorithms including Krill Herd (KH) [20], Grey Wolf Optimizer (GWO) [21], Moth-Flame Optimization (MFO) [22], Whale Optimization Algorithm (WOA) [27], Salp Swarm Algorithm (SSA) [24], Harris Hawks Optimization (HHO) [39], Butterfly Optimization Algorithm (BOA) [23], and Arithmetic Optimization Algorithm (AOA) [40]. Finally, the gained results on benchmark functions by MTV-WOA and comparative algorithms are statistically evaluated by the Friedman test [41] for the purpose of establishing the superiority of the suggested algorithm.

5.1 Benchmark Functions

The proposed algorithm was tested using the benchmark functions of CEC 2018 [38]. Note that the test functions used in CEC 2018 were identical to those in CEC 2017, with the exception that the function F2 was excluded from the comparison. These test functions are challenging and have diverse characteristics. It is worth noting that the CEC 2018 test functions are the same as those of CEC 2017, except for F2, which was excluded. The benchmark functions are categorized into unimodal, multimodal, hybrid, and composition functions. The unimodal functions F1 and F3 are suitable to evaluate the algorithms' exploitation ability since they have one optimum. On the other hand, the multimodal functions F4-F10 contain many local optima, which are used to assess the algorithms' ability to explore the search space and avoid local optima. The hybrid and composition functions are more intricate and difficult than the unimodal and multimodal functions. They assess the algorithm's capacity to solve real-world problems and strike a suitable equilibrium between exploring and exploiting.

5.2 Experimental Setting and Environment

The experiments were conducted on a computer with an Intel Core™ i7-6500U 2.50 GHz processor and 16.00 GB RAM using MATLAB R2018a. The population size and the Maximum Number of Iterations (MaxIter) were set to 100 and D × 10,000/N, respectively. Each algorithm was run 20 times, and the fitness error (f—f*) was used to report the results, where f is the fitness value of the optimization achieved by the respective algorithm and f* is the global best value of the optimization problem. Mean fitness error was used to measure the performance of the algorithms. Table 2 presents the parameter settings of the comparative and suggested MTV-WOA algorithms. The comparative algorithms' parameter values were set according to their respective articles' recommendations. The results of the experiments are tabulated in Tables 8, 9, 10, 11 in Appendix A, with the values of the best-gained error highlighted in bold. The number of wins (w), ties (t), and losses (l) for each algorithm in each dimension are listed in the last three rows of each table, which are labeled "w/t/l".

Table 2 Parameters settings
Table 3 The pressure vessel problem's results
Table 4 The three-bar truss problem's results
Table 5 The welded beam problem's results

5.3 Exploration and Exploitation Evaluation

As previously mentioned, unimodal functions are useful for evaluating an algorithm's exploitation capabilities, while multimodal functions are more appropriate for testing exploration capabilities. Thus, these two categories of functions are helpful in assessing an algorithm's exploration and exploitation abilities. The results of the MTV-WOA on the F1 and F3 functions in Table 8 in Appendix A demonstrate that the proposed algorithm produces more competitive results than the canonical WOA and the other comparative algorithms, particularly on the F1 function. Therefore, it concludes that the suggested MTV-WOA can converge to the best possible global solution for problems with a single optimum. Additionally, the results presented in Table 9 confirm that the proposed algorithm outperforms the comparative algorithms in all dimensions when solving the benchmark functions F4-F10, which contain multiple local optima. Due to the GS_TVP's random movements of trapped whales, it can be asserted that the proposed MTV-WOA algorithm has an effective exploration ability based on the provided results and comparisons.

5.4 Local Optima Avoidance Evaluation

In this experimental assessment, a set of benchmark functions are utilized to compare the proposed algorithm with other algorithms in terms of their ability to avoid local optima and balance exploration and exploitation, taking into consideration the results obtained from hybrid and composition functions. Table 10 demonstrates that MTV-WOA outperforms comparative algorithms for solving hybrid functions in three dimensions. The primary reason for this superiority is the exploitation efficiency provided by LS_TVP, which, in combination with BS_TVP, ensures an optimal balance between local and global search, preventing premature convergence of the functions. Additionally, Table 11 presents detailed results of composition functions, where MTV-WOA achieves superior results compared to other algorithms. MTV-WOA achieves an equilibrium between discovery and extraction by utilizing each TVP's improved rate to determine subpopulation sizes. The results indicate that MTV-WOA strikes an appropriate balance between exploring and exploiting, enhancing its ability to avoid local optima in composition functions. It is inferred that the proposed MTV-WOA effectively balances exploration and exploitation. Based on the gained results presented in Tables 10 and 11, it can be deduced that MTV-WOA in dimensions 10, 30, and 50 is more effective than the comparative algorithms.

5.5 Convergence Evaluation

In this experiment, the performance of MTV-WOA is analyzed and compared to that of comparative algorithms on various functions of dimensions 10, 30, and 50, to examine their convergence behavior. The convergence curves for MTV-WOA and comparative algorithms are generated based on the average of the best obtained fitness values over 20 runs. The obtained curves for unimodal, multimodal, hybrid, and composition functions are presented in Figs. 3 and 4 in Appendix A.

The analysis reveals that MTV-WOA exhibits diverse convergence characteristics for test functions with different features. Three distinct convergence patterns are observed during the optimization process. Firstly, there is accelerated convergence in the early iterations, followed by abrupt changes during the first half of the generations, indicating the efficient balance between exploration and exploitation. Subsequently, the estimation of the optimal global solution becomes more precise. Finally, a gradual improvement in convergence towards optimal solutions is observed. These convergence patterns demonstrate that MTV-WOA is more effective than the comparative algorithms in establishing an equilibrium between exploring and exploiting through the iterations.

5.6 Statistical Analysis

The experimental evaluation of the proposed MTV-WOA algorithm showed better performance compared to the comparative algorithms. However, the statistical significance of these results has not been established. To demonstrate the statistical superiority of MTV-WOA, the Friedman test [41] was conducted using Eq. (23) to rank the algorithms based on their fitness values.

$$F_{f} = \frac{12 \times m}{{q \times (q + 1)}}\left[ {\sum\limits_{k} {p_{k}^{2} - \frac{{q \times (q + 1)^{2} }}{4}} } \right]$$
(23)

Where q indicates the number of algorithms, m is the number of case tests, and Pk is the mean rank of the k-th algorithm. The ranking was done by calculating the average rank for each algorithm/problem pair, and then determining the final ranking for each algorithm. The algorithm with the smallest overall rank is considered to be better. In Table 12, the results of the Friedman rank test are reported, revealing that the non-parametric test yielded a significant p-value at a 95% confidence level. According to the overall rankings of the algorithms, it was determined that the MTV-WOA outperformed the comparative algorithms in dimensions 10, 30, and 50. Therefore, it can be concluded that the proposed MTV-WOA is statistically significant and superior to the comparative algorithms.

5.7 Impact Analysis of Using the Proposed TVPs

In this section, the analysis focuses on evaluating the individual performance of the proposed search strategies, BS_TVP, LS_TVP, and GS_TVP, and their collective impact on the performance of the MTV-WOA. The results of this experiment are illustrated in Fig. 5 in Appendix B, depicting the algorithm's performance on selected functions across diverse categories within CEC 2018. BS_TVP exhibits steady convergence and low objective values, showcasing its prowess in balancing exploration and exploitation. It effectively prevents entrapment in local optima, reaching optima comparable to MTV-WOA for certain functions. LS_TVP, with its slower but consistent convergence, prioritizes exploration over exploitation, exploring more of the search space and favoring diversity over fine-tuning solutions. GS_TVP undergoes initial fluctuations followed by smoothing, indicating a transition from exploration to exploitation and highlighting enhanced exploitation efficiency with competitive optima reached. MTV-WOA, as a combination of these strategies, adeptly balances both exploration and exploitation. It matches or surpasses individual variants in optimum reached, validating its superior exploration and exploitation capabilities. The faster and more stable convergence of MTV-WOA compared to BS_TVP, LS_TVP, and GS_TVP algorithms underscores the effective complementary effects of the balance in exploration and exploitation.

5.8 Comparison of MTV-WOA with Well-stablished, Recent, and WOA Variant Algorithms

In this experiment, the proposed MTV-WOA is compared to that of the CEC 2017 winners, LSHADE-SPACMA [42] and LSHADE − cnEpSin [43], well-established algorithm PSO [17], recent algorithms Snake Optimizer (SO) [44] and Coati Optimization Algorithm (COA) [45], and improved variant enhanced whale optimization algorithm (E-WOA) [46]. The experiments conducted here are based on a maximum population size of 428 and minimum size 4 for the LSHADE-SPACMA and LSHADE − cnEpSin. The maximum number of iterations and population size for the other algorithms are set according to their previously defined values. The results of the experiment, presented in terms of mean fitness error, are tabulated in Table 13 in Appendix B. These algorithms were independently applied 20 times to the CEC 2018 test functions with a dimensionality of 10. Moreover, the Wilcoxon signed-rank test is utilized to illustrate the distinction in performance achieved by the proposed MTV-WOA compared to other algorithms [41]. Table 14 presents the outcomes of this pairwise statistical test with a significance level α = 0.05. The p-value analysis results confirm that the proposed MTV-WOA's superiority is statistically significant compared to the comparative algorithms. In the convergence analysis of the MTV-WOA algorithm, plotted in Fig. 6, it becomes evident that its convergence curves share striking similarities with those of the LSHADE-SPACMA and LSHADE − cnEpSin algorithms which illustrates their proficiency in adapting their search throughout the iterative optimization process.

5.9 Applicability of the Proposed TVPs for Improving Other Algorithms

In this section, a dedicated experiment set is conducted to show the potential performance improvements of well-established algorithms, such as PSO and DE-based ones, through adapting proposed enhancements. This experiment set investigates the impact of incorporating the proposed BS_TVP, LS_TVP, and GS_TVP with well-established algorithms through the MTV approach. Two new algorithms, Adapted-PSO and Adapted-LSHADE-SPACMA, were meticulously designed for incorporating PSO and LSHADE-SPACMA algorithms with the proposed TVPs. The comparative results, detailed in Table 15 in Appendix B, provide valuable insights into the performance of PSO and DE when enhanced with BS_TVP, LS_TVP, and GS_TVP in the context of MTV. By incorporating these improvements, Adapted-PSO and Adapted-LSHADE-SPACMA are illustrative examples of the adaptability and effectiveness of the proposed enhancements across different optimization algorithms.

6 Solving Engineering Design Problems

In this section, five engineering problems defined in Appendix C were used to test the MTV-WOA's capability for handling actual engineering issues. Pressure vessel [127], three-bar truss [128], welded beam [129], tension/compression spring [130], and speed reducer [131] have all been solved using MTV-WOA and other comparative algorithms. As MTV-WOA is intended to be used for optimization purposes, it should be able to handle the equality and inequality constraints included in these engineering design problems. In this paper, the death penalty function [1] used to handle constraints which is one of the simplest multi-constraint problem-solving procedures among the many constraint-handling methodologies. In order to eliminate infeasible solutions, the death penalty function provides a high fitness value to solutions that break one or more restrictions. In this experiment, each algorithm is executed 30 times, with N and MaxIter set to 20 and (D × 10^4) / N, respectively. The results of the engineering design problems shown in Table 3, 4, 5, 6, 7 indicate that the MTV-WOA is better to other methods for addressing real-world mechanical engineering issues.

Table 6 The tension/compression spring design problem's results
Table 7 The speed reducer problem's results

7 Discussion

This study introduced the MTV-WOA algorithm across diverse dimensions and function categories, showcasing its superior performance in unimodal and multimodal functions, as indicated by the results in Tables 8 and 9. MTV-WOA excels in hybrid and composition functions based on the reported results in Tables 10 and 11, leveraging specific search strategies for efficient exploration and exploitation. The Friedman test's overall rankings across dimensions 10, 30, and 50 establish the clear superiority of MTV-WOA, supported by its statistical significance. In the comparative analysis, MTV-WOA outperforms well-established, recent, and WOA variant algorithms, positioning it as the third-best algorithm after the CEC winners, LSHADE-SPACMA and LSHADE − cnEpSin algorithms, in the Friedman test. The Wilcoxon signed-rank test further proves MTV-WOA's superiority, revealing statistically significant differences from other algorithms. The convergence analysis in Fig. 6 in Appendix B illustrates remarkable similarities with LSHADE-SPACMA and LSHADE − cnEpSin algorithms, emphasizing their proficiency in balancing exploration and exploitation. Beyond MTV-WOA, the study assesses the usage of BS_TVP, LS_TVP, and GS_TVP on other algorithms, such as PSO and LSHADE-SPACMA.

Moreover, MTV-WOA showcased remarkable proficiency in handling equality and inequality constraints within different engineering design problems, as evidenced by Table 3, 4, 5, 6, 7 results. In engineering design contexts, MTV-WOA emerges as a valuable tool, streamlining design processes, reducing development time, and enhancing project efficiency. Moreover, the algorithm's risk mitigation capabilities make it an asset in navigating uncertain decision-making landscapes. With cross-industry applicability, managers across diverse sectors can leverage MTV-WOA to optimize processes and address industry-specific challenges. Implementing MTV-WOA can also elevate operational efficiency, allowing managers to fine-tune processes, optimize workflows, and achieve improved performance metrics. This adaptability extends to resource-intensive sectors, where the algorithm proves instrumental in optimizing resource allocation, contributing to overall cost-effectiveness in operational workflows.

As in all studies, the proposed algorithm has some limitations. The MTV-WOA proposed in this research is designed to solve single-objective and continuous optimization problems. It is acknowledged that there exists a notable gap in addressing multi-objective and discrete problems, prompting a recognition of the need for future research to extend the algorithm's applicability to these domains. The winner-based distribution policy, designed for the three TVPs employed in this study, may necessitate adaptation for handling new trial vectors in different problems. Furthermore, the MTV-WOA was not evaluated for large-scale global optimization (LSGO) problems, and its performance may be limited when the dimension is increased. To address this issue, it is essential to determine the size of the lifetime archive and establish a suitable policy for high-dimensional problems. Pre-experimental investigations are necessary to optimize these parameters and enhance the algorithm's performance in problems with increased problem dimensions.

8 Conclusion

This study addresses the limitations of stochastic algorithms, particularly swarm intelligence metaheuristic algorithms, in dealing with complex problems. It introduces the Multi-trial Vector-based Whale Optimization Algorithm (MTV-WOA) as an enhancement over the canonical Whale Optimization Algorithm (WOA). The conventional WOA exhibits challenges such as an imbalance between exploration and exploitation, leading to premature convergence. In response, the study employs the Multi-trial Vector (MTV) approach, incorporating three TVPs to replace the WOA search strategy. The MTV-WOA introduces three new strategies, BS_TVP, LS_TVP, and GS_TVP, to address diverse problems with distinct characteristics. Experimental validation using the CEC 2018 test suite demonstrates the superiority of MTV-WOA over three classes of existing optimization algorithms: recently published, well-established, and highly performing algorithms that are winners of CEC competitions in terms of exploration, exploitation, local optima avoidance, and convergence. The Friedman and Wilcoxon signed-rank tests establish the statistical significance of MTV-WOA's performance, affirming its efficacy in maintaining a balanced exploration–exploitation trade-off. Additionally, the study showcases MTV-WOA's practical applicability by addressing five engineering design problems, where it consistently outperforms alternative algorithms.

The MTV-WOA is designed for continuous problems with a single objective. In future study, discrete and multi-objective real-world issues can be addressed by modifying MTV-WOA to handle binary and multi-objective problems, depending on the problem's nature. It is also beneficial to try to tackle issues in other fields, such as disease diagnosis by feature selection, image processing, and community identification.