Abstract
Many real-world problems are optimizable in nature. These problems often have numerous decision variables and constraints, making it difficult to optimize their objective function. To solve these problems, a group of algorithms known as metaheuristic algorithms has been introduced, which, considering the problem constraints, can find the optimal values of the decision variables in a reasonable amount of time to optimize the value of the objective function(s). Due to the importance and high application of these algorithms, a new metaheuristic optimization algorithm called Gray Langurs Optimizer (GLO) has been introduced in this research. The fundamental inspiration for the GLO is the group behavior of gray langurs in nature. The gray langurs are observed in three groups: one-male, multi-male, and all-male groups. The GLO mathematically simulates the group behavior and social hierarchy of gray langurs in all three groups. The migration of gray langurs between groups due to the death of the alpha or other group members, mate finding, and puberty is formulated by GLO. Additionally, the GLO models the arbitrary behavior of gray langurs within their territory. The GLO is tested on twenty-three classical test functions, including unimodal, multimodal, and fixed-dimension benchmarks, as well as twenty-seven CEC17 test functions, which comprise shifted, rotated, and composite benchmarks. The GLO is also applied to six real-world applications, and its results are compared with those of eight state-of-the-art algorithms both numerically and visually. The experimental results demonstrate the high capability of GLO in optimizing the various test functions and real-world applications. The MATLAB and Python implementations of GLO are available at https://nimakhodadadi.com.
Similar content being viewed by others
1 Introduction
In science and engineering, the term optimization typically refers to the mathematical method used to find the best solution from a set of acceptable options. The solution is considered ‘optimal’ when a certain objective function is minimized or maximized within a given set of constraints. Mathematically, optimization can be expressed as finding a set of decision variables to maximize or minimize an objective function, subject to a set of constraints .
Optimization problems can be grouped according to their structure: linear versus nonlinear, continuous versus discrete, and constrained versus unconstrained. The objective function can be convex versus non-convex. Convex optimization problems are easier to solve because they guarantee a unique global optimum. Non-convex optimization problems are more difficult because many local optima can exist. The power of optimization is seen in its applications across industries. In engineering, optimization is used to design systems and structures that minimize energy usage while maximizing stability and safety. In economics, optimization drives the pursuit of cost minimization and profit maximization. In machine learning, optimization is used to train models by minimizing error functions. Broad applications demonstrate the importance of robust optimization techniques (Benaissa 2024; Yaqoob et al. 2024).
Although this theory is well-developed, classical optimization techniques have several drawbacks in practice. For large-scale and complex problems, traditional methods often encounter difficulties. For example, non-convex problems may have multiple local optima, and classical techniques, such as gradient-based methods, may get stuck in the local optima (especially when the objective function is discontinuous or non-convex). In addition, real-world problems are often highly nonlinear, with constraints such as upper and lower bounds on the values of decision variables. These nonlinear relationships between decision variables make it difficult for classical methods to find an optimal solution. Real-world problems often also have discontinuous objective functions or are non-differentiable, meaning that classical methods can’t effectively use the gradient information of the objective function to guide the optimization process. Issues such as time and computational efficiency are major challenges for classical methods (Kaveh et al. 2022). The curse of dimensionality means that the number of possible solutions can grow exponentially when we consider problems with many decision variables. For problems with 10 or more decision variables, a traditional method may not scale up effectively. Many real-world problems are also non-convex, meaning they have multiple local optima. Classical techniques, such as gradient-based methods, have great difficulty avoiding these local optima, especially when the objective function is discontinuous or non-convex, which limits their ability to find the globally optimal solution. Real-world problems also often have complex constraints on decision variable values, making them highly nonlinear. Objective functions can have discontinuities or be non-differentiable. All these issues, which make it difficult or impossible for classical methods to solve optimization problems effectively, are the reasons why metaheuristic optimization methods are gaining popularity (Amiri et al. 2024).
Metaheuristic optimization algorithms were originally designed to overcome the limitations of classical methods. By mimicking underlying principles from natural, biological, and social processes, these methods provide general frameworks that, articulately, can navigate complex search spaces to discover near-optimal solutions. Unlike classical methods, metaheuristic algorithms don’t guarantee finding the global optimum, but only aim to provide a good solution in a reasonable time . Their major advantages lie in their ability to solve large-scale problems that are nonlinear, multimodal, and combinatorial, which are difficult to tackle using classical methods. Several characteristics differentiate metaheuristics from their classical counterparts. Firstly, they are stochastic algorithms that utilize randomness and probabilistic decision-making, which helps these algorithms explore the solution space more comprehensively, thereby limiting the risk of falling into local optima. Secondly, they excel at controlling the balance between exploration and exploitation. In the former, the search is performed globally across the entire solution space, whereas in the latter, the best solutions found so far are refined to progress towards good solutions. Thirdly, metaheuristics don’t require gradient information (i.e., the derivative of the objective function). This means that, unlike gradient-based methods, they can be employed to solve problems with non-differentiable, discontinuous, or noisy objective functions. Fourthly, metaheuristic methods are highly flexible and easy to customize to suit the particular structure of a problem at hand (Barshandeh and Haghzadeh 2021).
In contrast to classical methods, there are no mathematical requirements (e.g., convexity or linearity) that must be satisfied to apply metaheuristics. Fifthly, metaheuristics are general and problem independent. They are computationally simple, can be successfully applied to solve a wide range of optimization problems, and are particularly useful for finding good solutions in a reasonable time for complex problems that are difficult to solve optimally. For all these reasons, many highly complex, real-world problems nowadays are being solved using metaheuristic optimizers.
A metaheuristic optimization algorithm will be most successful if it manages this trade-off well. The key to balancing exploration and exploitation is that too much exploration can slow convergence, as the algorithm spends too much time looking in unexplored areas . On the other hand, excessive exploitation can lead to premature convergence as the algorithm settles into a local optimum. The ability of these metaheuristic algorithms to adaptively explore and exploit throughout the search process is a key reason for their success (El-Kenawy et al. 2024a).
Another key advantage of metaheuristic optimization techniques is their scalability. The term ‘scalability’ denotes an algorithm’s capability to handle increasingly larger and more complex problems effectively. In practical applications, it is not uncommon to encounter optimization challenges involving many dimensions, vast search spaces, numerous constraints, and conflicts between different objectives . We have already observed that one of the primary strengths of metaheuristics is their effectiveness in managing large-scale optimization problems, where the solution space becomes highly chaotic and challenging to explore with a reasonable amount of computational effort. Instead of exhaustively evaluating the entire set of potential solutions, metaheuristics rely on intelligent sampling of the solution space to concentrate computational resources on the most promising regions of the search space, while ignoring those likely to contain inferior arrangements (Zhao et al. 2024).
Furthermore, many popular metaheuristic algorithms are inherently parallelizable, enabling them to be executed on modern computing architectures and distributed across multiple processors or machines to conduct parallel searches. Parallelization is a critical factor for the scalability of metaheuristics, allowing us to address real-world problems involving thousands or even millions of decision variables (Masdari and Barshandeh 2020). For instance, this is why many metaheuristic algorithms are increasingly utilized in the field of machine learning, where training very large models often involves optimizing complex multi-dimensional loss functions. One of the major advantages of a metaheuristic optimization method lies in its robustness and versatility. This means that the same process can be applied to a wide range of diverse problems. For instance, gradient-based methods, a classical class of optimization techniques, become considerably inefficient when used for problems with irregular, discontinuous, or noisy objective functions, as they assume that the continuous objective function can be well-approximated by a smooth function .
As discussed previously, metaheuristics have also demonstrated successful applications in biological problems, such as protein design and drug discovery, as well as in fields of artificial intelligence, including computer vision and logistics. Many real-world applications require the optimization of a combination of continuous and discrete variables, referred to as mixed-integer optimization problems, which can be efficiently benefited from metaheuristics .
One of the most significant advantages of a metaheuristic optimization method is that it tends to be quite robust and flexible. That means you can use the same method for a large variety of different problems . For example, one classical class of optimization methods, the so-called gradient-based methods, can be more effective when applied to problems with irregular, discontinuous, or noisy objective functions, as they strongly assume that the continuous objective function can be well-approximated by a smooth function. In contrast, metaheuristics tend to be robust and flexible, meaning that they can usually be applied independently of the nature of the objective functions, which allows us to face a wide variety of problems . As previously discussed, metaheuristics have also been successfully applied in biology to problems related to protein design and drug discovery, and they can be utilized to tackle challenges in the field of artificial intelligence, such as computer vision or logistics. They are usually applied to problems where the variables involved are either continuous or discrete. In the first case, we refer to continuous optimization problems, and in the second, we describe a combinatorial optimization problem. In many real-world applications, a combination of continuous and discrete variables must be optimized, a situation known as a mixed-integer optimization problem (El-Kenawy et al. 2024b). Metaheuristics can also be efficiently applied to such problems.
Another aspect of metaheuristics that makes them perform better is that they can be ‘hybridized’ with other optimization methods. While metaheuristics, as the name suggests, can be seen as a high-level method to approach optimization problems, they can also be hybridized with other lower-level optimization methods. This is often done by combining metaheuristics with so-called local search methods, which can be understood as techniques that explore the neighborhood of the solution.
As we saw above, real-world optimization problems are far too complex and heterogeneous for deterministic (exact) methods. Hence, the field was ripe for adaptive and flexible approaches, such as metaheuristics. We believe that a key factor in the popularity of metaheuristic algorithms, starting from the 1980s, was the realization that no single optimization method would necessarily be the best for all optimization problems. In other words, one size does not fit all. This principle is formalized in an important result known as the No Free Lunch (NFL) (Wolpert and Macready 2002) Theorem. The NFL theorem, named after the mathematicians Wolpert and Macready, simply states that when averaged over all possible optimization problems, every optimization algorithm performs equally well (or badly). If an algorithm is very good at solving a certain class of problems, then it must be equally bad at solving another class. This is a general result, so there is no ‘best’ optimization method for all possible types of problems. Instead, it is inherently the case that the performance of an algorithm is intimately tied to the specific problem it is used to solve. In practical terms, this means that the optimization landscape is vast and diverse, and real-world problems are rich and nuanced, making it naive to imagine that any exact (deterministic) method can cope with all the variety and complexity presented by real-world problems. Many classical methods depend on assumptions about the problem at hand, such as continuity, differentiability, or convexity of the objective function. In many real-world scenarios, none of these assumptions can be made, and this makes traditional (classical) techniques ineffective, or worse, inefficient.
Consequently, this study introduces GLO, a novel metaheuristic algorithm inspired by the group behavior of gray langurs in nature. The gray langurs live in three types of groups: one-male, multi-male, and all-male groups. In the GLO, these groups are formulated mathematically as optimization phases. Additionally, social hierarchies exist within gray langur groups, which are taken into account in the GLO. The top-ranked langur in each group is alpha. Males, females, and juveniles are in the following hierarchies in the groups. Two other behaviors of gray langurs, migration between groups and free roaming, are also modeled in the GLO to improve search abilities as much as possible. To investigate the effectiveness of the contributions and the performance of the GLO, numerous experiments are conducted on test functions and real-world applications. The obtained results are compared statistically and visually with well-known state-of-the-art algorithms.
The remainder of this paper is organized as follows. Section 2 reviews related metaheuristic optimization algorithms and discusses their main characteristics. Section 3 presents the proposed Gray Langurs Optimizer (GLO), including its biological inspiration, mathematical formulation, dynamic population mechanisms, and computational complexity analysis. Section 4 reports the experimental results on classical benchmark functions and CEC benchmark suites, along with comparative and statistical analyses. Section 5 presents the application of GLO to real-world optimization problems. Finally, Sect. 6 concludes the paper and outlines directions for future research.
2 Literature review
Recently, metaheuristics have emerged as an efficient approach to tackling complex optimization problems in various fields of study, including engineering, economics, and artificial intelligence. Due to their design nature, metaheuristic algorithms ensure the thorough and systematic exploration of a large and complex solution space, making near-optimal solutions within a practical computational time frame achievable. Unlike classical methods, metaheuristics can escape from local optima in a way that makes them highly suitable for nonlinear and multimodal problems. The presented review discusses the mechanism, applications, advantages, and disadvantages of some popular metaheuristic algorithms, namely Genetic Algorithm (Holland 1992), Differential Evolution (Storn and Price 1997), Artificial Bee Colony (Karaboga and Basturk 2007), Biogeography-Based Optimization (Simon 2008), Ant Colony Optimization (Dorigo et al. 2006), Harmony Search (Geem et al. 2001), Simulated Annealing (Laarhoven et al. 1987), Grey Wolf Optimizer (Mirjalili et al. 2014), Whale Optimization Algorithm (Mirjalili and Lewis 2016), Teaching–Learning-Based Optimization (Rao et al. 2011), Moth-Flame Optimization (Mirjalili 2015a), African Vultures Optimization Algorithm (Abdollahzadeh et al. 2021a), Grasshopper Optimization Algorithm (Saremi et al. 2017), Mountain Gazelle Optimizer (Abdollahzadeh et al. 2022), and Puma Optimizer (Abdollahzadeh et al. 2024). This section provides a systematic comparison of metaheuristic algorithms. In this regard, a brief discussion is provided for each category, and they are then compared based on key characteristics in Table 1.
2.1 Evolutionary algorithms
Evolutionary algorithms (EAs) form a large family of population-based optimization methods inspired by evolutionary principles. Although their initial designs closely followed biological evolution, contemporary EAs employ a variety of search operators that balance natural metaphors with practical optimization objectives. In general, EAs operate by maintaining a population of candidate solutions that is progressively refined through evolution-inspired mechanisms. Notable subclasses include genetic algorithms, genetic programming, and evolution strategies, which differ in representation schemes and variation operators depending on the problem being addressed.
2.1.1 Genetic algorithm (GA)
Among the pioneering and one of the most powerful metaheuristic approaches is the Genetic Algorithm (Holland 1992). The original inspiration was drawn from the fundamental concepts of natural selection and genetics. In this method, a population of candidate solutions, individuals, or chromosomes develops over several generations. Its main evolutionary mechanism is based on three operators: selection, crossover (recombination), and mutation. Selection is a process that applies the principle of "survival of the fittest," as it gives higher reproductive success to individuals with superior fitness. Crossover recombines the genetic elements of two parent solutions to generate offspring, while mutation randomly changes individual elements to maintain population diversity. While the real strength of the GA lies in its ability to search vast and complex landscapes, thereby making the algorithm particularly suitable for finding global optimization of multimodal optimization problems, the computational cost can be very high with GAs. Moreover, careful tuning of parameters such as population size, mutation rate, and crossover rate may be necessary to achieve optimal performance from GAs.
2.1.2 Differential evolution (DE)
Another very popular population-based metaheuristic is Differential Evolution (Storn and Price 1997). DE also gained enormous popularity due to its simplicity and efficiency. The primary difference between DE and GA lies in how candidate solutions are generated. While in GA, crossover and mutation are applied separately, in DE both processes are combined into a single operation. It generates a new trial solution by adding the weighted difference between two randomly selected individuals to a third individual. This strategy enables DE to maintain population diversity while ensuring convergence toward the global optimum. Generally, DE has proven to be one of the most effective Evolutionary Algorithms for continuous optimization problems. Its application domain encompasses a wide range of topics, including control systems, signal processing, and machine learning. Although widely applicable, DE may suffer from premature convergence and require costly tuning of its control parameters.
2.1.3 Colonial competitive differential evolution (CCDE)
This method introduces a novel variant of differential evolution grounded in socio-political evolutionary concepts. By modeling competitive interactions inspired by colonial dynamics, CCDE (Ghasemi et al. 2016) aims to enhance the search capability and adaptability of the standard DE framework.
2.1.4 Stochastic quasi-gradient differential evolution (SQG-DE)
In this approach, elements of stochastic quasi-gradient techniques are integrated with differential evolution to improve computational efficiency. The hybrid design is specifically intended to strengthen performance when addressing the previously described categories of optimization problems (Sala et al. 2017).
2.1.5 Unified differential evolution (UDE)
UDE (Trivedi et al. 2017) consolidates key mechanisms from several well-known DE variants, including CoDE, JADE, SaDE, and ranking-based mutation strategies, into a single cohesive algorithm. The population is divided into two subgroups at each generation. In the upper subgroup, three mutation strategies are simultaneously applied to every individual, following the CoDE paradigm. In contrast, the lower subgroup adaptively adjusts its strategies based on feedback from the upper subgroup’s performance. Additionally, UDE incorporates a mutation operator focused on local search enhancement, while constraint handling is addressed using a static penalty method.
2.1.6 Compound sinusoidal differential evolution (OCSinDE)
This algorithm employs a composite sinusoidal mechanism to dynamically adjust the scaling factor and crossover probability in differential evolution. To further improve exploration and mitigate premature stagnation, it integrates Opposition-Based Learning along with a restart strategy (Draa et al. 2019).
2.1.7 Automatically designed mutation operators for evolutionary programming (ADM-EP)
Traditional evolutionary programming typically relies on mutation operators derived from probability distributions, such as the Gaussian, Cauchy, or Lévy distributions. In contrast, ADM-EP (Hong et al. 2018) utilizes genetic programming to automatically evolve novel mutation operators. These generated operators are then systematically assessed across multiple classes of benchmark test functions to evaluate their effectiveness.
Evolutionary algorithms have been successfully employed in applications such as structural design, scheduling, portfolio optimization, and feature selection due to their inherent parallelism, scalability, and problem-independent nature.
2.2 Swarm intelligence algorithms
Swarm intelligence algorithms are motivated by the decentralized and self-organizing behaviors observed in social species such as birds, fish, ants, and insects. In contrast to evolutionary algorithms, which typically employ genetic operators, swarm-based methods model cooperative interactions among agents, allowing local information exchange with peers and the environment to jointly identify promising regions of the search space.
2.2.1 Artificial bee colony (ABC)
Among the recently developed population-based metaheuristic algorithms, inspired by the foraging behavior of honeybees. ABC (Karaboga and Basturk 2007) has three kinds of bees: employed bees, onlooker bees, and scout bees. The employed bees are responsible for searching for food sources and sharing information about these sources with onlooker bees after they have found them. Based on the quality of the food sources, onlooker bees then probabilistically choose food sources to exploit. In other words, when a particular food source is no longer being exploited, the task of the scout bees is to find new food sources. Essentially, ABC can balance exploration and exploitation, making it highly efficient in solving continuous optimization problems. However, convergence may be slower than in other swarm-based algorithms, requiring more iterations to ensure the solution’s reliability.
2.2.2 Biogeography-based optimization (BBO)
BBO is inspired by the distribution of different species in space. In BBO (Simon 2008), the solution can be conceptualized as a habitat, and the dependencies across habitats for features can be considered as a mirror of species migration. Those habitats that are more fit, or better solutions, have higher emigration rates since they spread their feature values to other habitats. For example, poorer-fitness habitats or less-than-optimal solutions may exhibit higher immigration rates, acquiring their feature values from elsewhere. BBO has been very effective in solving combinatorial optimization problems and has also been applied to power systems and image processing. However, one problem with BBO is that it sometimes lacks population diversity over time due to early convergence.
2.2.3 Ant colony optimization (ACO)
ACO is a population-based metaheuristic inspired by the foraging behavior of ants, particularly their use of pheromone trails to communicate the shortest paths to food sources. In ACO (Dorigo et al. 2006), the artificial ants build the solutions by traversing a graph and making some probabilistic choices on the arcs to follow based on the pheromone trace in a deposit that is then updated based on the quality of the solution found.ACO was moderately successful at addressing several discrete optimization problems, such as the Traveling Salesman Problem and the Vehicle Routing Problem. Its strength lies in its ability to find high-quality solutions even in dynamic environments and adapt them accordingly. ACO is usually computationally intensive, especially for large-scale problems that often require substantial parameter tuning, including the pheromone evaporation rate and the balance between exploration and exploitation.
2.2.4 Gray wolf optimizer (GWO)
GWO is inspired by the social hierarchy and hunting strategies of gray wolves. In GWO (Mirjalili et al. 2014), the population is divided into four categories: alpha, beta, delta, and omega wolves. Each of them symbolizes a different rank in the leadership hierarchy. The positions of those three kinds of wolves align to simulate the process of encircling and hunting. GWO has successfully solved continuous and discrete optimization problems with feature selection, image processing, and engineering design. However, like other nature-inspired algorithms, GWO may also be susceptible to local optima or premature convergence, particularly when the optimization landscape is highly complex.
2.2.5 Whale optimization algorithm (WOA)
WOA (Mirjalili and Lewis 2016) is a recently proposed algorithm that belongs to the class of Swarm Intelligence Optimization algorithms, inspired by the bubble-net hunting strategy adopted by humpback whales. WOA mathematically models the spiraling movement of whales as they circle their prey and conduct a random search for food sources. It alternates between exploration and exploitation phases, guided by a control parameter that enables the algorithm to search the solution space effectively. WOA has successfully solved many real-world applications involving engineering optimization, feature selection, and energy management. This algorithm typically suffers from slow convergence, and to maintain a balance between exploration and exploitation, parameter adjustments may be required.
2.2.6 Moth-flame optimization (MFO)
MFO (Mirjalili 2015a) is inspired by the navigation mechanism of moths, known as transverse orientation, where moths fly by maintaining a constant angle with respect to the light source. In MFO, the moth population moves toward the flames, a possible optimum solution. It revises each moth’s distance and direction based on the moths’ spatial positions in relation to the flames. This would enable the algorithm to properly explore the solution space. MFO has been successfully applied across a wide range of areas, including engineering design, machine learning, and biomedical engineering. However, like many population-based algorithms, MFO must be tuned, or its parameters adjusted, to avoid premature convergence and maintain population diversity.
2.2.7 African vultures optimization (AVOA)
The AVOA (Abdollahzadeh et al. 2021a) Algorithm is a recent development in the metaheuristic paradigm, inspired by the foraging practices of African vultures. AVOA mimics adaptive and opportunistic foraging behaviors expressed in vultures, enabling the algorithm to manage the trade-off between exploration and exploitation effectively. This algorithm holds considerable promise in solving complex optimization problems, particularly in engineering design and resource allocation domains. AVOA is still in early development and requires further research to fully assess its strengths and weaknesses, particularly in comparison with more established algorithms.
2.2.8 Grasshopper optimization (GOA)
The inspiration for the GOA (Saremi et al. 2017) is the swarming behavior of grasshoppers, which exhibits collective movement within a group. In GOA, the grasshoppers are modeled as a swarm of agents moving toward the optimal solution while avoiding being too far or too close to others. Several studies have found that GOA successfully solves different optimization problems regarding engineering design, machine learning, and scheduling applications. Like many other swarm-based algorithms, GOA is prone to premature convergence, especially when the fitness landscape is highly multimodal.
2.2.9 Mountain gazelle optimizer (MGO)
The MGO (Abdollahzadeh et al. 2022) draws inspiration from the agility and adaptability of mountain gazelles in their natural habitat. It interprets the motion behaviors and foraging strategies used to balance exploration and exploitation of familiar zones in wildlands with steep slopes. The MGO has shown promise in solving optimization problems that balance exploration and exploitation, particularly those related to logistics, resource management, and environmental modeling. However, as MGO is a recent algorithm, the detailed potentials and limitations of MGO have yet to be ascertained.
2.2.10 Puma optimizer (PO)
PO (Abdollahzadeh et al. 2024) draws inspiration from the predatory puma’s strategies. While pursuing and hunting prey, the PO model simulates pumas’ covert, calculated behavior. The algorithm is designed to be highly adaptable, enabling it to navigate the search space effectively and potentially avoid local optima. So far, PO methodology has been applied to robotics, machine learning, and network optimization. Yet, like other bio-inspired algorithms, PO requires careful parameter tuning, and it will likely take further investigation to understand its strengths and weaknesses across different problem domains.
2.2.11 Gorilla troops optimizer (GTO)
GTO (Agrawal and Panda 2025) 3is a recent metaheuristic algorithm inspired by the social structure and cooperative behaviors of gorilla groups in nature. In GTO, the population is modeled as a troop of gorillas led by a single silverback, which represents the best solution found in each iteration. The algorithm explicitly distinguishes between exploration and exploitation phases using five behavior-based operators derived from gorilla activities. During the exploration phase, three mechanisms are employed: migration to unknown locations to enhance global search, movement toward other gorillas to balance exploration and exploitation, and migration toward known positions to improve coverage of promising regions in the search space. Candidate solutions (GX) are generated at each iteration and replace the current positions (X) only if they provide better fitness, thereby ensuring a fair and robust selection process. The exploitation phase is guided by the silverback, in which gorillas adjust their positions by moving away from the weakest solution and toward the best, reflecting the collective decision-making and hierarchical leadership observed in real gorilla groups. This socially driven search strategy enables GTO to achieve strong performance across a wide range of optimization problems.
2.3 Human-inspired population-based algorithms
Human-inspired algorithms aim to emulate human behaviors and decision-making processes by incorporating social, cognitive, and cultural characteristics. By modeling elements such as learning, intuition, memory, and negotiation, these algorithms exhibit high adaptability and are well suited for solving complex and dynamic real-world problems.
2.3.1 Teaching–learning-based optimization (TLBO)
TLBO (Rao et al. 2011) draws inspiration from the teaching–learning methodology adopted in class. In TLBO, the population is divided into learners (students), while the procedure operates in the teacher and learner phases. During the teacher phase, the teacher presents the best solution to enhance the learners’ knowledge (fitness) by guiding them towards the teacher’s position. During the learner phase, learners interact with one another to further improve their knowledge. TLBO is simple and does not use any specific algorithm parameters; therefore, it is easy to implement. It was applied to various optimization problems, including mechanical design, power systems, and data clustering. However, TLBO can slowly converge to the global optimum, especially in high-dimensional, complex landscapes.
2.3.2 Social media optimization (SMO)
This algorithm models patterns of human interaction observed on social networking platforms, where optimization decisions are influenced by factors such as user engagement, popularity metrics, and emerging trends. Although initially conceptual, SMO (Ballings et al. 2016) has been applied to areas such as marketing strategy optimization, sentiment analysis, and influence propagation modeling.
2.3.3 Fitness dependent optimizer (FDO)
Motivated by cooperative behaviors observed in bee colonies, FDO (Abdullah and Ahmed 2019) introduces a fitness-driven velocity update mechanism that assigns greater influence to high-quality solutions. This strategy can accelerate convergence; however, its performance may degrade in rapidly changing or highly dynamic search environments.
2.3.4 Chimp optimization algorithm (ChOA)
ChOA (Khishe and Mosavi 2020) is inspired by the cooperative hunting strategies of chimpanzees, in which agents assume distinct functional roles, such as attackers, chasers, barriers, and drivers. These role-based interactions emulate coordinated group behavior and have demonstrated strong effectiveness in applications such as classification and feature selection.
2.3.5 Runge–Kutta optimizer (RKO)
Derived from classical Runge–Kutta numerical integration techniques, this optimizer utilizes slope-based information to guide solution updates. Its mathematical grounding provides a more principled search mechanism compared to purely heuristic approaches (Ahmadianfar et al. 2021).
2.3.6 Weighted mean of vectors (INFO)
INFO (Ahmadianfar et al. 2022) employs a weighted average of solution vectors, combined with local search strategies, to maintain a balance between convergence speed and population diversity. It has demonstrated competitive performance on large-scale, multimodal optimization problems.
2.3.7 Liver cancer algorithm (LCA)
This method simulates tumor growth and mutation dynamics observed in liver cancer development. By incorporating stochastic growth models and opposition-based learning, LCA (Houssein et al. 2023) emphasizes adaptability and aggressive exploration within the search space.
Human-inspired optimization algorithms offer effective alternatives for solving high-dimensional, noisy, and non-stationary problems, particularly in scenarios where traditional nature-inspired methods may struggle to achieve satisfactory performance.
2.4 Physics-inspired algorithms
This broad category encompasses a diverse range of optimization algorithms inspired by biological, ecological, and physical processes, such as wave propagation, diffusion phenomena, and chemical interactions. The concept of physics-inspired optimization can be traced back to Richard Feynman’s 1982 proposal of quantum-based computing grounded in the principles of quantum mechanics. Building on this idea, Narayanan and Moore introduced the Quantum-Inspired Genetic Algorithm (Agrawal and Panda 2025; QGA) in 1995, representing one of the earliest efforts to incorporate physical principles into optimization frameworks.
Following these early developments, a variety of optimization algorithms rooted in physical principles were proposed:
2.4.1 Electromagnetic field optimization (EFO)
EFO (Abedinpourshotorban et al. 2016) is inspired by the behavior of electromagnetic fields and incorporates concepts related to electromagnets with opposing polarities, as well as the golden ratio. In this framework, each candidate solution is represented as an electromagnetic particle whose dimensions correspond to the decision variables. The population is divided into positive, negative, and neutral groups, and the attraction–repulsion forces among these groups guide the search toward promising regions of the solution space. The golden ratio is used to regulate the interaction strength, thereby facilitating efficient convergence.
2.4.2 Arithmetic optimization algorithm (AOA)
This algorithm is conceptually motivated by fundamental arithmetic operators—addition, subtraction, multiplication, and division—which serve as abstract mechanisms for effectively exploring and exploiting the search space (Abualigah et al. 2021a).
2.4.3 Artificial lizard search optimization (ALSO)
ALSO (Kumar et al. 2021) is inspired by the tail-swinging behavior of lizards, which helps them maintain balance and respond rapidly when capturing prey. The algorithm has demonstrated applicability in areas such as dynamic control problems and mechanical system design.
2.4.4 Light spectrum optimizer (LSO)
LSO (Abdel-Basset et al. 2022) draws inspiration from the dispersion of light into different wavelengths as it refracts through raindrops, forming a visible spectrum. This physical phenomenon is translated into a search strategy that guides candidate solutions across the optimization landscape.
2.4.5 Prism refraction search (PRS)
PRS (Kundu et al. 2024) introduces a straightforward, yet efficient single-solution metaheuristic designed for real-valued optimization problems. The algorithm is based on ray optics principles, particularly the refraction of light through a triangular prism. Its effectiveness stems from a well-defined physical foundation grounded in established optical laws.
2.4.6 Kirchhoff’s law algorithm (KLA)
KLA (Ghasemi et al. 2025) is a physics-inspired metaheuristic derived from fundamental laws of electrical circuits. It models the tendency of electric current to flow from regions of higher potential to lower potential, with current increasing as resistance decreases. These principles directly guide the search process, allowing the algorithm to operate without additional control parameters beyond population size. Unlike many optimization methods that depend on extensive parameter tuning, KLA relies solely on its initial population, mirroring the deterministic nature of current flow governed by physical laws.
2.4.7 Harmony search (HS)
HS (Geem et al. 2001) is a population-based heuristic optimization technique. It draws on the improvisational behavior of musicians. In HS, each musician’s metaphor representing a decision variable- plays a note (solution value) to produce a harmony (solution vector). A fitness function will evaluate the quality of the harmony. In contrast, new harmonies are created by changing the notes according to some rules, including the consideration of memory, pitch adjustment, and randomizing features. HS is known for its simplicity and can handle continuous and discrete optimization problems. It has been successfully applied in many different areas, including structural optimization, machine learning, and power systems. However, the performance of HS may be sensitive to its parameter settings; poor choices can lead to suboptimal results.
2.4.8 Simulated annealing (SA)
The SA (Laarhoven et al. 1987) method was inspired by the principles of annealing. In 1983, in metallurgy, materials were heated and then gradually cooled to avoid imperfections, thereby improving structural integrity. SA starts from an initial solution and explores the solution space by randomly changing the current solution. The resulting new solutions are accepted based on a probability that depends on the fitness difference between the current and the latest solution, as well as on a temperature parameter that slowly decreases during the iteration. SA is extremely effective at escaping local optima; therefore, it is well-suited for combinatorial optimization problems. However, SA is highly sensitive to the cooling schedule and may converge to an optimal solution after many iterations.
To facilitate a clear evaluation and comparison of the discussed metaheuristic algorithms, a structured comparison is provided in Table 1 based on key distinguishing characteristics. Due to the structural and behavioral similarities among primate-inspired swarm intelligence algorithms, a direct comparison is necessary to clearly distinguish their search strategies and performance characteristics. Accordingly, GTO and ChOA are selected as representative benchmarks to position the proposed GLO within this algorithmic family and highlight its distinctive features.
The Gray Langurs Optimizer, Gorilla Troops Optimizer, and Chimp Optimization Algorithm all belong to the class of primate-inspired swarm intelligence algorithms and share a common foundation in modeling social hierarchies and cooperative behaviors. However, GLO differs from GTO and ChOA primarily through its multi-group population structure, which includes one-male, multi-male, and all-male groups operating simultaneously. This design enables parallel exploration strategies and promotes higher population diversity. In contrast, GTO relies on a single dominant silverback to guide exploitation, whereas ChOA employs fixed, role-based leaders, such as attackers and chasers. Additionally, GLO incorporates migration and free-roaming mechanisms, allowing individuals to transition between groups and escape local optima more effectively, which enhances its performance on multimodal and high-dimensional optimization problems.
Despite these advantages, GLO introduces a higher level of structural and computational complexity than GTO and ChOA, which are relatively simpler and may converge faster on low-dimensional or simpler problems. The multi-group modeling and additional behavioral operators in GLO can increase per-iteration computational cost and implementation effort. Therefore, in accordance with the No Free Lunch theorem, GLO should be regarded as selectively efficient rather than universally superior, offering greater robustness and exploration capability for complex problem landscapes, while GTO and ChOA may remain more suitable for problems where simplicity and rapid convergence are prioritized.
In brief, metaheuristic algorithms offer flexible, powerful tools for effectively handling complex problems. Each algorithm offers distinct strengths and weaknesses, and its actual performance typically depends on the nature of the problem and the specific implementation details. While research in this field is constantly evolving, a more hybrid approach is likely to emerge, with new algorithms developing to tackle complex optimization problems more capably.
3 Gray langurs optimizer
This section first provides a brief introduction to gray langurs. Followingly, describes the types of groups, social structures, group behaviors, and hierarchies of gray langurs. Next, the formulation of these approaches is outlined in the context of a multi-population optimization algorithm. Then, the computational complexity is explained. Eventually, the GLO’s limitations and strengths are mentioned.
3.1 Inspiration
Semnopithecus, known as Grey Langurs, is a genus of monkey native to India and Pakistan,which lives in forests, shrublands, orchards, grasslands, and urban areas. Generally, GreyLangurs have black faces and ears, while the darkness of their hands and feet varies amongdifferent species. The presence or absence of a crest and its color are different in species. In 2005, the MammalSpecies of the World introduced seven species of Grey Langurs, summarized in Table 2 (Roos et al. 2014).
Some species of Gray Langurs loop their tail tips towards their head, whereas others keep their tails in a ‘S’ or an inverted “U” shape during casual walks (Roonwal 1981) . Additionally, the sizes of Grey Langurs differ significantly depending on the sex. Typically, males are larger than females, and their tails are always longer than their bodies. The average weights of male and female gray langurs are 18 and 11 kg, respectively . Langurs mostly walk quadrupedally and spend half of their time on the ground and the other half in trees. They make bipedal hops, climbing and descending with their bodies upright, and take leaps. Langurs can leap 3.6 to 4.7 m horizontally and 10.7 to 12.2 m when descending . In Fig. 1, an Indian gray langur is shown (Burnie and Wilson 2005).
Indian Gray Langur
The distribution of gray langurs stretches from the north of the Himalayas to the south of Sri Lanka, and from the east of Bangladesh to the west of Pakistan . Some species can also be found in Afghanistan and India. Gray langurs can inhabit a variety of habitats, including rainforests, coniferous forests, deciduous forests, and mountainous regions. Additionally, Gray Langurs exist in human settlements, farms, villages, and towns . Leopards, gulls, tigers, wolves, jackals, Asian black bears, and pythons hunt these Langurs. Gray langurs sleep in trees, branches, electric poles, and so on during the night . Langurs are preyed upon by leopards, tigers, wolves, jackals, bears, and pythons (Jones 2004).
Gray langurs are mainly herbivores and eat the leaves and buds of plants, coniferous needles, fruits, cones, fruit buds, evergreen petioles, branches, roots, seeds, grass, bamboo, fern rhizomes, mosses, and lichens. Besides these, Gray Langurs also have non-vegetative meals, which include spider webs, termite mounds, and insect larvae. Langurs living in human areas also feed on human food. Langurs get most of the water they need in their body from the moisture in the food, but they also drink water (Starin 1978).
Social hierarchies, which are determined by the dominance of the male langurs, can be observed in all group types . In this regard, the low-ranking langurs obey the higher-ranking langurs. The mature females are also ranked according to their age and physical condition. Changes in social rank mostly occur during the evolution of group members. Replacement may happen rapidly or slowly, depending on the group.
Male gray langurs often interact with each other in a friendly or violent manner. In contrast, females behave in a friendly manner within a group. Females’ membership in small groups is usually stable, but leaving the mate and group can be observed in larger groups. Females perform various actions in a group, including grooming, foraging, traveling, babysitting, and resting. High-ranking males within the groups vocalize and engage in fights with one another. As a result, it can be stated that the relations between the males of different groups are hostile .
According to evidence, Gray Langurs live in three types of groups: one-male, multi-male, and all-male groups. In one-male groups, comprising one adult male, several females, and offspring, the male is usually the sole breeder of the females and sires all the young. The only male of this group is called the alpha and is responsible for leading and protecting the group members. The alpha gray langur gives orders, and the females and children follow him (Newton 1994).
In multi-male groups, several male gray langurs are ranked according to various criteria. The highest-ranking male in the group (alpha) is responsible for leading and making group decisions, and other males in the group follow him. Other males in the group assist the alpha in making decisions, guiding, foraging, and protecting the group’s members. Most of the females and children of the group belong to the alpha. However, other males in the group also have mates and offspring according to their rank. Higher-ranking females who have superior physical conditions are more reproductively successful and have a greater chance of being chosen by the alpha (Borries et al. 1991) .
All-male groups are the smallest ones, consisting of adults, subadults, and juveniles. In these groups, dominance is attained through aggression and mating success (Rajpurohit 1992). Observations indicate that multi- and all-male groups are unstable and tend to dissolve over time .
Infanticide is common among gray langurs, especially in one-male groups. Infanticide langurs, which are males that have recently immigrated into a group and driven out the prior male, kill infants of previous males. The cost of infanticide can be high in multi-male groups, since the other males may protect the infants. However, infanticide occurs in these groups to return a female to estrus and gain the opportunity to mate (Sugiyama 1965) .
Infants spend their first weeks suckling and sleeping on their mother’s chest and do not move much. At the end of the first month, the infants can walk quadrupodally, and by the second and third months, they can walk, run, and jump. When the infants reach two years of age, some of them are taken care of by other females of the group. In this case, the baby follows his/her mother and keeper (Agoramoorthy 1992) .
Gray langurs have stable populations in some areas and declining ones in others . Their populations are threatened by hunting, mining, forest fires, car accidents, and deforestation, among other factors.. The gray langurs are also used as food, medicine, and luck amulets by some tribes (Srinivasulu and Nagulu 2001) .
As a result of the phenomenon mentioned earlier, the langur group can be disintegrated. Also, the death of the only male of one-male groups or one or more males of multi-male groups can lead to the disintegration of the group and a change in its hierarchy. In the event of group disintegration, group members can form a new group or join other groups, depending on the presence of males in the remaining langurs.
3.2 Mathematical formulation
In this paper, a new optimization algorithm, named the Gray Langurs Optimizer (GLO), has been developed with inspiration from the social structure and group behavior of gray langurs in nature. This subsection mathematically formulates the social structure and group behavior of gray langurs in the GLO. The notations used in the remainder of the paper are explained in Table 3.
In the initial step, the population of gray langurs is scattered randomly within the search space using Eq. (1).
In Eq. (1), \({X}_{i}\) is the position vector of \(i\) th gray langue, \(r\) is a vector containing random numbers between 0 and 1, and \(lb\) and \(ub\) are the lower and upper boundaries of the search space, respectively. As mentioned earlier, the gray langurs live in three types of groups: one-male (OM), multi-male (MM), and all-male (AM) groups. Consequently, the initial population of \(N\) gray langurs are divided equally into three groups. In this case, the position of gray langurs can be represented as below:
where \({X}_{{OM}_{i,j}}\), \({X}_{{MM}_{i,j}}\), and \({X}_{{AM}_{i,j}}\) are the jth dimensions of ith gray langurs in the one-male, multi-male, and all-male groups, respectively. The \(D\) is the dimension of the search space, and \({N}_{om}\), \({N}_{mm}\), and \({N}_{am}\) are the numbers of gray langurs in the one-male, multi-male, and all-male groups, respectively. It is worth noting that the sum of \({N}_{om}\), \({N}_{mm}\), and \({N}_{am}\) is equal to \(N\). Once the gray langurs are scattered in the problem space, they are sorted according to their fitness. The highest-ranking gray langur in each group is the alpha langur, who is considered the group leader. Next in the rank are the adult male langurs. After them are the female langurs. Immature langurs and children are considered at the lowest rank. Although there is an alpha langur in all groups, the gender structure varies among the groups. For example, there are no other males besides the alpha in the one-male group. Also, there are no female langurs in all-male groups. The groups of langurs, along with their structure and mathematical modeling, are described in the following.
3.2.1 One-male group
As stated in subSect. 3.1, there is only one male, referred to as the alpha, in the one-male group who administers to the group members. Alpha langurs exhibit a variety of behaviors. In GLO, two common and prominent behaviors are modeled: roaming around their current location and moving toward the best area. The roaming behavior can have various reasons, including foraging, checking for threats, and searching for mates. This behavior, which provides the exploitation capability of the GLO, is formulated mathematically by Eq. (3).
where \(ct\) is the current iteration, \(mt\) is the maximum number of iterations, \({X}_{{OM}_{alpha}}\left(ct\right)\) is the position of the alpha langur in the current iteration. \(\alpha \) is a random number in the range of (-5, 5), and \(lb\) and \(ub\) are the lower and upper boundaries of the search space, respectively. The \(L\) is a Levy-based step size, and \(ASF\) is an adaptive scaling factor calculated by Eqs. (6) and (7), respectively.
In Eq. (6), \(\sigma \) is a vector containing numbers generated by the standard normal distribution. Due to the second behavior of alphas, the alpha langur moves towards better areas with more food resources or safer habitats. This behavior is simulated in GLO in such a way that the alpha moves towards the best position found so far. Equation (8) expresses this movement mathematically.
where \({X}_{GB}(ct)\) is the position of the global best gray langur, and \(\mu \) is a vector with a random number in (-1,1). In the GLO, the alpha chooses the position update strategy randomly using the parameter \({r}_{1}\) which is a random number in the interval (0,1). Accordingly, the alpha updates its position as follows:
The \(\beta \) and \(ASF\) parameters specify the neighborhood range that alpha searches in for different goals.
Equations (1), (8), and (10) update the position of the “alpha” in the one-male group. This movement can improve the algorithm’s convergence by enabling alpha to explore the search space (exploration) and move towards the best-found solutions, steering the algorithm towards optimal solutions. The SR, Eq. (4), is defined by the product of α, β, and L and represents the movement behavior of the alpha. The values of α and β are random coefficients that control the algorithm’s exploration capabilities. As the algorithm progresses through iterations, the values of these coefficients decrease, limiting exploration as it shifts to exploitation (refining the best-found solutions).
Equation (5) controls the exploration and exploitation balance. As iterations progress, β decreases, ensuring that the algorithm explores more in the initial iterations and exploits more towards the end of the search process.
Equation (6) models the Levy flight behavior, which enables large, random jumps in the search space, enhancing the exploration ability of the algorithm. The value of L provides randomness and diversity to the langurs’ movement, helping them escape local optima. Equation (7) defines the adaptive scaling factor ASF, which decreases over time, ensuring a smooth transition from exploration to exploitation. The ASF dynamically adjusts to optimize search behavior and ensures the algorithm adapts to different search space scales.
These parameters are defined in GLO in a way that is adaptable for search spaces of various scales. In other words, the value of this parameter varies in environments of different sizes. Additionally, the values of these coefficients decrease over time, resulting in a large search range in the initial iterations of the algorithm and a smaller range in later iterations. Figure 2 plots the searching range of the alpha (\(SR\)) for four search spaces with different scales.
Searching range of alpha (\(\alpha .\beta .L\)) in different search spaces over time
In the one-male groups, some females are the alpha’s mates and the mothers of the offspring. Females in the one-male group have the second rank of the group and often follow the alpha. As a result, Eq. (11) has been used to model the behavior of female gray langurs in the GLO.
In Eqs. (11) and (12), \({X}_{{OM}_{f,i}}\left(ct\right)\) is the position of the ith female gray langur in the current iteration. In this equation, the parameter \({C}_{2}\) plays an important role in establishing a balance between exploration and exploitation. As shown in Fig. 3, the value of this parameter decreases over time. This means that in the early iterations, the algorithm performs exploration, and in the late iterations, it performs exploitation.
The values of \({C}_{2}\) over 200 iterations
Furthermore, since the number of group members can change, the number of female gray langurs in each iteration is calculated as follows:
where \({S}_{OM}\) is the number of gray langurs in the one-male group, \({FP}_{OM}\) is the percentage of the females in the group, and \( \left\lfloor . \right\rfloor \) is the round down function. The \({FP}_{OM}\) in the GLO is set to 40%.
The rest of the group’s population is made up of offspring, who can be of various ages. Children do not have specific movement routines. However, they mostly follow their parents (mother or alpha). Consequently, Eq. (14) is defined in GLO to imitate the movements of children in the group.
where \({X}_{{OM}_{ch,i}}\left(ct\right)\) is the position of the ith child in the current iteration, \({X}_{{OM}_{m,i}}(ct)\) is the current position of the mother, which is selected randomly from the female population, and \({C}_{f}\) and \({C}_{f}\) are the coefficients of the father and mother, respectively. The parameter \({C}_{3}\) in this equation regulates the mutation rate in infants. In the GLO, to create a balance between exploration and exploitation capabilities and to make the search process as efficient as possible, the value of this parameter is defined as a decreasing random value. Figure 4 demonstrates the possible values of the parameter \({C}_{3}\) over 200 iterations. The one-male group is illustrated in Fig. 5.
The possible values of the parameter \({C}_{3}\)
The one-male group
3.2.2 Multi-male group
The multi-male group is very similar to the one-male group; however, there are differences outlined in this section. In this group, there is also an alpha langur who is responsible for leading and managing the group members. Moreover, several male langurs in this group assist the alpha in making decisions, protecting group members, and foraging, among other tasks. The behavior of the alpha langur in this group is the same as the behavior of the alpha in the one-male group, so this alpha also updates its position using Eq. (10). Other males in the group demonstrate multiple types of behavior, including following the alpha, searching his neighborhood, caring offspring, and approaching toward the best area found till now. In the GLO, Eq. (18) is developed to mathematically model the behavior of male gray langurs in a multi-male group.
where \({X}_{{MM}_{m,i}}\left(ct\right)\) is the position of the ith male of the multi-male group in the current iteration. Similar to the one-male group, there are also several female langurs in the multi-male group. The difference is that in the one-male group, all females are the mates of the alpha and follow him, but in the multi-male group, females can also be the mate of other male langurs. In this case, the woman tends to heed her mate. It is worth remembering that male langurs in better physical condition have a higher chance of being chosen by females. As a result, the Roulette wheel is employed in the GLO to select female mates, allowing langurs with better fitness to have a higher chance of being selected. Accordingly, the movement behavior of female langurs in the multi-male group can be imitated by Eq. (21).
where \({X}_{{MM}_{f,i}}\left(ct\right)\) is the position of the ith female gray langur of a multi-male group in the current iteration, \({X}_{{MM}_{mate,i}}\) is her mate selected by the Roulette wheel selection strategy, and \({C}_{2}\) is obtained by Eq. (12). The offspring/infants of the multi-male group have the same behavior as the one-male group. As a result, Eq. (14) has been used to update the position of the children of the multi-male group. It is worth noting that the number of males, females, and offspring of a multi-male group is obtained in each iteration using Eqs. (22)-(24), respectively.
where \({S}_{MM}\) is the size of a multi-male group, \({MP}_{MM}\) is the male percentage, \({FP}_{MM}\) is the female percentage, and \({N}_{m}\), \({N}_{f}\), and \({N}_{c}\) are the numbers of males, females, and children in the group, respectively. The multi-male group is represented in Fig. 6.
The multi-male group
3.2.3 All-male group
In the all-male group, one of the langurs acquires the alpha position by aggression and dominating the other male langurs. The alpha langur in this group is also responsible for organizing, guiding, and preserving the members. In the GLO, the movement procedure for this alpha is considered the same as for other groups, and Eq. (10) is utilized for this purpose. The behavior of other male gray langurs in this group is similar to that of males in a multi-male group. Consequently, Eq. (18) is used to update the position of male gray langurs in the all-male group. The all-male group of gray langurs is illustrated in Fig. 7.
The all-male group
3.2.4 Dynamism
As discussed in Sect. 3.1, the number of members in gray langur groups can change for a variety of reasons, including:
-
The maturation of children, which can lead to their separation from the group
-
Mating of langurs from different groups, which causes one langur to leave its group and join the mate’s group
-
The death of the alpha, which can lead to a change in the group hierarchy
-
The death of other female or male langurs due to reasons such as senility, predation, starvation, and so on
-
Birth of new infants
Accordingly, these circumstances are considered in GLO and a mechanism called Dynamism is provided, through which members of a group can move to other groups. Figure 8 depicts the Dynamism behavior of gray langurs. It is worth noting that due to the maintenance of comprehensiveness and the constant number of search agents (gray langurs) in the optimization process, the total population size (the number of gray langurs in all groups) is consistent, and langurs only move between groups. Additionally, two parameters, \(\omega \) and \(\varphi ,\) are included in GLO to control the migration rate of langurs. Parameter \(\omega \) specifies the migration probability within gray langur groups, and \(\varphi \) preserves the minimum group size, which is set to 0.05 and 5, respectively. Figure 9 reveals the pseudocode of the Dynamism mechanism.
The dynamism
The pseudocode of the Dynamism mechanism
3.2.5 Autonomy
In addition to the diverse behaviors of gray langurs in different groups, which have been expressed separately by social structure, gender, and maturity, gray langurs also exhibit autonomous behaviors and roam freely within their habitat. This autonomous behavior of langurs is taken into account in the GLO as a new phase named the autonomy phase. Through this phase, gray langurs roam around their habitat using Eq. (25).
where \({X}_{i}\left(ct\right)\) is the current position of ith gray langue, regardless of group, gender, and maturity, and \(step\) is the roam radius determined by the \(scale\) coefficient. Figure 10 depicts the values of \(step\) over 200 iterations.
The values of \(step\) over 200 iterations
As can be observed from Fig. 10, the roaming radius of gray langurs in this phase is limited and decreases with time. It is worth noting that the basic nature of this phase is exploitation. Finally, the pseudocode and the flowchart of the GLO algorithm are presented in Figs. 11 and 12.
The pseudocode of the GLO
The flowchart of the GLO
3.3 Computational complexity
In this subsection, the computational complexity, a crucial criterion for evaluating a metaheuristic, is discussed. The GLO is comprised of several parts, the complexity of each of which is provided in the following. The complexity of the initialization part is \(O(N)\times O(Obj)\), where \(N\) is the total number of Grey Langurs and \(O(obj)\) is the complexity of the problem. The complexity of the groups’ update in the main loop is \(O(mt)\times O({S}_{OM}+{S}_{MM}+{S}_{AM})\times O(Obj)\), where \(mt\) is the maximum number of iterations, and \({S}_{OM}\), \({S}_{MM}\), and \({S}_{AM}\) are the sizes of one-male, multi-male, and all-male groups, respectively. In the Autonomy part of the main loop, the langurs are updated by the complexity of \(O(mt)\times O({S}_{OM}+{S}_{MM}+{S}_{AM})\times O(Obj)\). Eventually, the complexity of the Dynamism part is \(\omega \times O(mt)\times O({S}_{OM}+{S}_{MM}+{S}_{AM})\times O(Obj)\), where \(\omega =0.05\) is the probability of migration. Assuming \(O\left(Obj\right)=1\) and.
\({S}_{OM}+{S}_{MM}+{S}_{AM}=N\), the final complexity of GLO is approximately equal to:
Likewise, the computational complexity of some other well-known and widely used metaheuristic algorithms is as follows:
-
Aquila Optimizer (AO; Abualigah et al. 2021b): \(O\left(N\right)+O(mt\times N)\)\(+O(mt\times N\times dim)\)
-
Arithmetic Optimization Algorithm (AOA; Abualigah et al. 2021a): \(O\left(N\right)+O\left(mt\times N\right)\)\(+O(mt\times N\times dim)\)
-
Equilibrium Optimizer (EO; Faramarzi et al. 2020): \(O(1+N\times dim+mt\times N\)\(+mt\times N+mt\times N\times dim)\)
-
Hippopotamus optimization algorithm (HOA; Amiri et al. 2024): \(O(N\times \left(1+\frac{5\times mt}{2}\right))\)
-
Puma Optimizer (PO; Abdollahzadeh et al. 2024): \(O(\left(2.mt+1\right)\times {N}^{2}\times N\times dim)\)
-
Reptile Search Algorithm (RSA; Abualigah et al. 2022): \(O\left(N\right)+O\left(mt\times N\right)\)\(+O(mt\times N\times dim)\)
-
Zebra Optimization Algorithm (ZOA; Trojovská et al. 2022): \(O\left(N\times dim\right)\)\(+O(2\times N\times mt\times dim)\)
3.4 Advantages and limitations
-
Advantages: The GLO’s tripartite multi-group structure (OM/MM/AM) provides complementary search behaviors that naturally balance exploration, exploitation, and cooperation, eliminating the need for complex parameter tuning common in single-population algorithms. The Dynamism mechanism prevents stagnation by controlling migration between specialized groups, while the Autonomy phase ensures that all agents maintain independent local refinement capabilities regardless of social hierarchy.
-
Limitations: The GLO has a higher computational cost due to multiple group updates. The migration rate ω = 0.05 requires sensitivity analysis for optimal balance—too low limits diversity transfer, and too high causes oscillation. While robust up to \(D=100\), very high-dimensional problems (\(D\ge 1000\)) may benefit from parallelization enhancements. Fixed \(\beta =1.5\) Levy parameter, though empirically optimal, lacks adaptive tuning for niche landscapes. Another limitation of the GLO algorithm is that there must be at least as many solutions as there are groups. In other words, the minimum number of solutions in the proposed method is 3.
4 Experimental results
This section presents the results of an in-depth comparison between our proposed algorithm (GLO) and 13 recent state-of-the-art metaheuristic algorithms across three benchmark sets: classical, CEC 2017, and CEC 2022.
These benchmarks are established purely for testing metaheuristic algorithms from different aspects. The metaheuristic algorithms selected as the competitors of the GLO are as follows:
-
Ant Lion Optimizer (ALO; Mirjalili 2015b)
-
Aquila Optimizer (AO; Abualigah et al. 2021b)
-
Arithmetic Optimization Algorithm (AOA; Abualigah et al. 2021a)
-
Atom Search Optimization (ASO; Zhao et al. 2019)
-
Krill Herd (KH; Gandomi and Alavi 2012)
-
Reptile Search Algorithm (RSA; Abualigah et al. 2022)
-
Spotted Hyena Optimizer (SHO; Dhiman and Kumar 2017)
-
Sooty Tern Optimization Algorithm (STOA; Dhiman and Kaur 2019)
-
Chimp Optimization Algorithm (ChOA; Khishe and Mosavi 2020)
-
Cuckoo Catfish Optimizer (CCO; Wang et al. 2025)
-
Differential Evolution (DE; Price 1996)
-
Dream Optimization Algorithm (DOA; Lang and Gao 2025)
-
Particle Swarm Optimization (PSO; Eberhart and Kennedy 1995)
The results of the algorithms obtained through independent executions are compared using statistical metrics, including the best, worst, average, median, and standard deviation. The results are also visually compared using box plot diagrams and convergence curves. Additionally, the comparisons are validated by the Friedman and Wilcoxon signed-rank test. Likewise, the average execution time of the algorithms are compared through bar graphs. The following subsections express the comparison results of the GLO and its competitors.
It is worth mentioning that a sensitivity analysis is performed in the key parameters of the GLO and its results are presented in Appendix 1. In this sensitivity analysis, 24 different scenarios are defined in which the values of \({FP}_{OM}\), \({FP}_{MM}\), \({MP}_{MM}\), and \(\omega \) parameters vary. Then the GLO, with the parameter values, is applied to six representative test functions and the results are compared.
4.1 Classical test functions
This subsection evaluates the performance of the GLO algorithm on the classical test functions expressed mathematically in Table 4. These test functions challenge the exploitation, exploration, and local departure capabilities of the algorithms. The numerical results of the algorithms on these test functions are presented in Table 5.
A detailed statistical comparison was performed to evaluate the effectiveness of the proposed GLO algorithm against a diverse set of state-of-the-art metaheuristic approaches on 23 classical benchmark functions. The evaluation relied on five complementary statistical metrics—best, worst, average, median, and standard deviation (STD)—to provide a comprehensive assessment of solution quality, convergence reliability, and robustness across multiple independent runs.
The results presented in Table 4 indicate that GLO consistently delivers superior or highly competitive performance across most test functions. In particular, for unimodal and low-dimensional problems (TF1–TF4 and TF9–TF11), GLO repeatedly reaches the global optimum with zero or near-zero variance, demonstrating exceptional convergence stability and repeatability. Unlike many stochastic competitors, whose performance fluctuates noticeably between runs, GLO exhibits tightly clustered best, average, and median values, reflecting a well-controlled search process with minimal randomness-induced deviation.
For multimodal and higher-complexity functions such as TF8 and TF21–TF23, GLO maintains a clear advantage in terms of average and median performance while keeping standard deviation relatively low. This indicates an effective balance between exploration and exploitation, allowing the algorithm to avoid premature convergence while steadily refining candidate solutions. In contrast, several competing algorithms achieve acceptable best-case results but exhibit large gaps between best and worst values and significantly higher STD, indicating sensitivity to initial conditions and unstable convergence behavior. Such variability reduces their reliability, particularly in problems characterized by rugged or deceptive landscapes.
Overall, the consistently low dispersion measures and competitive central tendency statistics achieved by GLO across a broad spectrum of benchmark functions confirm its robustness and dependable convergence behavior. These characteristics make GLO particularly suitable for real-world optimization tasks, where stable performance across repeated executions is often more critical than isolated optimal outcomes.
Conclusively, the findings presented in Table 4 substantiate the effectiveness and efficiency of the proposed GLO algorithm. It outperforms competing metaheuristic algorithms on all tested functions with an exceptionally desirable combination of accuracy, convergence reliability, and robustness. These findings demonstrate the potential of GLO as a state-of-the-art optimizer for tackling both classical and complex optimization challenges.
To more closely examine the results of the algorithms on classical benchmark functions, the convergence of the algorithms on these benchmarks is provided in Fig. 13.
Convergence curves of the GLO and competitors on the classical test functions
Figure 13 illustrates the convergence profiles of the compared metaheuristic algorithms on the classical benchmark functions. Overall, the proposed GLO exhibits consistently faster, smoother convergence than most competing methods. In the majority of cases, GLO rapidly decreases the objective function value during the early iterations and reaches the optimal or near-optimal region with fewer iterations, after which the convergence curves remain stable and nearly flat. This indicates an effective balance between global exploration and local exploitation, enabling GLO to maintain solution quality after convergence.
Among the competing algorithms, AO, AOA, and SHO exhibit relatively strong convergence on several functions, particularly in later iterations, suggesting acceptable exploitation capabilities once promising regions are identified. However, their convergence is generally more gradual and less stable than that of GLO, with visible oscillations or delayed improvements in multiple cases. Algorithms such as ALO and ASO tend to exhibit slower convergence rates and extended stagnation phases, reflecting difficulties in escaping local optima. Although RSA and STOA achieve reasonable performance on some functions, their convergence curves reveal higher sensitivity and less consistent behavior across different problems. In contrast, the smooth and dominant convergence trajectories of GLO across the benchmark set highlight its superior convergence speed, robustness, and reliability, especially on complex and multimodal optimization landscapes. Box plots of the algorithms’ results on classical benchmark functions are also provided in Fig. 14.
Box plots of the GLO and competitors on classical test functions
Figure 14 presents box plots summarizing the distribution of objective function values obtained by the compared metaheuristic algorithms over multiple independent runs on the classical benchmark functions. These plots provide insight into each algorithm’s robustness, repeatability, and sensitivity to stochastic variations by illustrating the median, interquartile range (IQR), and the presence of outliers. As observed, the GLO consistently exhibits a highly compact distribution, with medians closely aligned with the global optimum and remarkably narrow IQRs across most test functions. The absence or near-absence of outliers further underscores the algorithm’s stable behavior and indicates that high-quality solutions are reliably obtained across repeated executions.
In contrast, several competing algorithms display noticeably wider distributions, reflecting greater variability in their search performance. Algorithms such as ALO and ASO show large IQRs and dispersed medians on multiple functions, suggesting inconsistent convergence and susceptibility to suboptimal solutions. Other methods, including AO, AOA, and SHO, demonstrate comparatively greater stability; however, their box plots still show broader spreads and medians that deviate from the optimal region compared with GLO. While certain algorithms occasionally approach competitive performance, their distributions remain less concentrated, indicating reduced robustness. Overall, the box plot analysis visually confirms GLO’s superior consistency and reliability, reinforcing its ability to deliver high-quality solutions with minimal variation across runs on classical optimization problems.
4.2 CEC17 test functions
In addition to classical benchmark functions, the performance of the proposed GLO algorithm is tested on CEC benchmark functions. These test functions are among the most complicated. The test functions of CEC17 are shifted, rotated, and hybrid. In the shifted/rotated ones, the global optimum is shifted/rotated around an axis, making the optimization process more difficult. In the CEC17, there are hybrid and composite test functions that combine several test functions. The CEC17 has twenty-nine test functions, but the second and twenty-second test functions have been removed. The numerical results of the algorithms on the CEC17 test function are presented in Table 6.
A thorough comparative study of many renowned variants of metaheuristic algorithms, viz. The ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA results against the GLO algorithm proposed in the present work are shown in Table 6 on the CEC2017 benchmark, which consists of 29 highly challenging test functions. The test functions are designed to evaluate algorithms in real-world scenarios involving unimodal, multimodal, hybrid, and composite landscapes. The performance of all the methods is statistically analyzed in terms of five metrics: the best, worst, average, median, and standard deviation. Consistency and robustness in these evaluation metrics are very significant in judging an algorithm’s reliability, efficiency, and capability in terms of global optimization.
In most test functions, the GLO outperformed all other algorithms in terms of statistical metrics. In TF1, TF12, TF13, TF15, and TF18, the GLO was stable, in contrast to the competitor algorithms, which exhibited significant fluctuations and instability, as indicated by high standard deviations and extremes between the best and worst results. The GLO delivers significantly better results in TF1, while the AOA and RSA algorithms achieve average results with very high standard deviations, indicating the excellent exploration capabilities of the GLO and its resistance to premature convergence. Furthermore, the GLO has remained consistent throughout TF4 to TF11. On TF6 and TF8, the GLO has achieved average objective values significantly lower than those of the other algorithms (RSA, SHO, and STOA), which exhibit a broader performance range and higher dispersion. This pattern suggests that the GLO fine-tunes more effectively during exploitation, resulting in a more accurate convergence without compromising diversity in the early iterations.
The performance of GLO regarding hybrid and composition functions (TF19-TF29) reinforces its adaptive capability, as these functions are specifically designed to uncover deficiencies in algorithms that do not maintain an appropriate balance between diversification and intensification. Unlike algorithms such as ASO, which exhibit poor worst-case outcomes, the GLO displays significantly narrower ranges and much lower means. The proximity of the median and the average again confirms its ability to produce consistent and high-quality solutions. In addition, the standard deviations associated with the GLO are generally the least amongst all methods, even when the comparison considers other algorithms with similar best-case values. This is critical for very real-world optimization problems, wherein robustness and repeatability are just as important as proper accuracy. For example, on TF24 and TF25, most methods demonstrate large variations, while the GLO indicates lower STD values, which preserves solution quality across independent runs.
The statistical results in Table 6 support the claim of superiority for the GLO algorithm. It is thus established as a state-of-the-art metaheuristic, being able to yield consistent high-quality solutions across a wide range of difficult test functions while achieving small variance. With extraordinary global search ability, immunity against premature convergence, and robustness across a variety of landscape types, GLO is, therefore, an algorithm for both theoretical research and complex real-world optimization applications. The results achieved on the CEC17 suite serve to demonstrate the scalability and efficiency of the GLO over both traditional and recent algorithms in the metaheuristic literature. To more accurately evaluate the efficiency of the algorithms, the convergence of the GLO algorithm along with its competitors on CEC17 is plotted in Fig. 15.
Convergence curves of the GLO and other algorithms on the CEC17 test functions
Figure 15 presents a comparison between the GLO algorithm and other metaheuristic algorithms, including ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA, in terms of convergence rate on difficult test functions from the CEC17, which are considered highly challenging in terms of multimodality and hybridity. The best objective function values achieved during independent executions indicate how the algorithms have the capability to work out the complicated optimization spaces. The GLO convergence curve indicates a speedy and very short downward trend towards the global optimum. It suggests that the exploitation strategy in the GLO is promising, and its exploration efficiently covers the search space without getting stuck in a local optimum. The competing algorithms would exhibit different shortcomings; ALO and ASO have erratic convergence with very high oscillations, indicating their inability to escape local minima, while AO and KH have a slow but improving near-optimum value. Even strong algorithms like RSA and SHO demonstrate much variability and slower convergence than the smooth and steady GLO. This indicates the GLO’s resistance against premature convergence, a great advantage in high-dimensional CEC17 test functions. Due to its faster and stable convergence, the GLO is capable of scaling and adaptability, making it very suitable for optimization in real-time applications. These figures thus give strong visual evidence of the superiority of the GLO algorithm in complex test functions. In the following, box plot diagrams of the CEC17 benchmark functions are presented in Fig. 16, allowing for a more effective evaluation of the set of results obtained by the algorithms on these benchmark functions.
Box plot diagrams of the GLO and competitors on the CEC17 test functions
Box plots presented in Fig. 16 illustrate the distribution of the GLO against competitor metaheuristic algorithms, comprising the ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA on the CEC17 test functions designed to evaluate the robustness of algorithms in difficult multimodal problems. These box plots summarize the objective function values from different runs, emphasizing the median, quartiles, IQR, and outliers for assessing consistency and dependability. The GLO has extremely compact box plots, in that the median is very close to the global optimum and the IQR is very small, meaning very low variability in the results. The absence of outliers emphasizes stability and repeatability, even within the difficult problem space of the CEC17. The algorithms produce vastly wider distributions; for instance, the ALO and ASO present large IQRs and many outliers, which reflect poor consistency and sensitivity to suboptimal solutions. The AO, AOA, and RSA perform with moderate variability, but not to the same precision as GLO, as they differ from the optimum with wider spreads. The SHO and STOA algorithms, though sometimes competitive, still have considerable performance differences when compared to the tightly clustered results of GLO. This illustrates statistically what is found in Table 6, which mainly dispels any doubts about the accuracy and robustness of the GLO. Figure 16 bears witness to the success of the GLO in providing high-quality solutions, as evidenced by the variance across runs. There remains no doubt that the GLO should be classified as a state-of-the-art metaheuristic meant for complex optimization tasks.
4.3 CEC 2022 test functions
To further examine the robustness and generalization capability of the proposed approach, a comprehensive evaluation is conducted on the CEC 2022 benchmark suite. This test set includes a diverse collection of complex optimization problems designed to challenge modern metaheuristic algorithms under different landscape characteristics. The statistical results from multiple independent runs are summarized in Table 7 using standard performance metrics, including the best, worst, average, median, and standard deviation.
A detailed inspection of Table 7 reveals that GLO demonstrates strong and stable performance across a wide range of CEC 2022 test functions. On unimodal, relatively smooth functions such as TF3 and TF5, GLO achieves results that are consistently close to the known optimal values, with extremely low standard deviation, indicating high convergence reliability and minimal sensitivity to stochastic effects. In particular, the near-identical best, average, and median values observed for these functions highlight the algorithm’s ability to repeatedly locate high-quality solutions with negligible variation. This behavior contrasts with several competing algorithms that exhibit wider spreads between best and worst cases, reflecting less predictable search behavior.
For more challenging and multimodal problems, including TF1, TF6, and TF9, GLO maintains competitive average and median values while preserving relatively low variance compared to many peer methods. Although some algorithms occasionally achieve lower best-case values on specific functions, their large standard deviations and significant gaps between worst and average results indicate instability and a higher risk of premature convergence. In contrast, GLO shows a balanced search behavior, combining effective exploration with controlled exploitation, leading to more consistent outcomes across runs. Overall, the statistical evidence in Table 7 confirms that GLO offers a robust and dependable optimization performance on the CEC 2022 benchmark suite, making it a competitive choice for solving complex real-valued optimization problems under diverse search landscapes.
Figure 17 illustrates the convergence behavior of GLO compared with competing metaheuristic algorithms on the CEC 2022 test functions. The convergence curves depict the evolution of the objective function values over iterations, offering insight into both the convergence speed and the stability of the search process. As observed across most test functions, GLO exhibits a rapid initial descent, indicating an efficient exploration capability that enables the algorithm to quickly identify promising regions of the search space. This early-stage behavior is particularly evident in functions such as TF3, TF5, and TF7, where GLO approaches near-optimal values within a limited number of iterations and maintains a stable trajectory thereafter.
Convergence curves of the GLO and other algorithms on the CEC 2022 test functions
On more complex, highly multimodal functions, including TF1, TF6, and TF9, GLO continues to demonstrate competitive convergence. While some algorithms exhibit sharp improvements followed by stagnation or oscillatory behavior—suggesting susceptibility to local optima—GLO presents a smoother, more controlled convergence pattern. This smoothness reflects a well-balanced interaction between exploration and exploitation, allowing the algorithm to refine solutions progressively without premature convergence. In contrast, several peer algorithms display slower convergence rates or prolonged plateaus, indicating delayed adaptation to the underlying landscape complexity.
Overall, the convergence profiles in Fig. 17 confirm that GLO maintains a robust and reliable search behavior across the diverse CEC 2022 benchmark functions. Its ability to achieve steady improvements while avoiding erratic fluctuations underscores the effectiveness of its search mechanism across both simple and challenging optimization landscapes. These observations further support the earlier statistical findings, reinforcing GLO’s suitability for complex real-world optimization problems where convergence reliability and solution stability are critical.
Figure 18 illustrates the box plot distributions of the objective function values obtained by GLO and the competing algorithms on the CEC 2022 test functions. These visual representations provide valuable insight into the stability, robustness, and dispersion characteristics of each algorithm across multiple independent runs. As observed across most test functions, GLO produces compact box plots with medians near the optimal region and notably narrow interquartile ranges. This indicates a high level of consistency and low sensitivity to stochastic variations during the optimization process.
Box plot diagrams of the GLO and competitors on the CEC 2022 test functions
In contrast, several competing algorithms exhibit wider distributions and greater variability. For a number of test functions, algorithms such as ALO, ASO, and RSA exhibit extended interquartile ranges and outliers, suggesting inconsistent convergence and occasional deviations toward suboptimal regions. Other methods, including AO, AOA, and SHO, show relatively greater stability on certain functions; however, their box plots still reveal wider spreads and less concentrated medians compared to GLO. Notably, on more challenging functions, GLO maintains tight distributions without extreme outliers, reflecting a reliable balance between exploration and exploitation. Overall, the box plot in Fig. 18 visually confirms that GLO delivers more stable, repeatable performance across the CEC 2022 benchmark set, reinforcing its robustness in handling diverse, complex optimization landscapes.
4.4 Friedman test results
To provide a rigorous statistical validation of the comparative performance of the examined algorithms, the non-parametric Friedman test is employed in this study. The Friedman test is particularly suitable for algorithm-comparison studies, as it does not assume normality of the performance data and is robust to outliers and non-Gaussian distributions. By ranking the algorithms across multiple test functions, this test enables an objective assessment of their relative performance while accounting for variations across different problem landscapes.
Tables 8, 9, and 10 report the Friedman test results obtained for the benchmark suites considered in this study. These tables present the average ranks assigned to each algorithm based on its performance metrics, with lower ranks indicating superior overall performance. The results consistently show that GLO achieves one of the best average rankings across the evaluated benchmarks, reflecting its strong, reliable performance across a diverse set of optimization problems. This outcome suggests that the advantages observed in the convergence behavior and statistical distributions are not isolated cases but persist across multiple functions when assessed under a unified statistical framework.
A closer examination of the rankings reveals that while some competing algorithms perform well on specific functions, their overall ranks are adversely affected by performance fluctuations on more challenging problems. In contrast, GLO demonstrates a more balanced performance profile, maintaining competitive rankings even on complex and multimodal functions. The stability of GLO’s ranking across different benchmark sets highlights its robustness and adaptability, which are critical properties for practical optimization scenarios. Overall, the Friedman test results presented in Tables 8, 9 and 10 provide strong statistical evidence of GLO’s effectiveness and consistency, reinforcing its suitability as a reliable metaheuristic optimizer for a wide range of real-world and benchmark optimization problems.
4.5 Wilcoxon test results
An intensive and completely thorough statistical study, the Wilcoxon signed-rank test, was implemented to provide a detailed connection between the GLO algorithm and competitor metaheuristic algorithms. This non-parametric test was designed to determine whether statistically significant differences exist in the optimization performances of GLO and other peer algorithms across various benchmark functions. The test was performed at 5% significance level under each of three categories of benchmark functions: classical test functions, CEC2017, and CEC 2022 benchmark suite. The output p-values of the test will enable conducting rigorous comparisons of GLO performance superiority, identifying where this algorithm performs worse, better, or in line with other algorithms. The p-values reported by the test for the algorithms on classical test functions are provided in Table 11.
Table 11 presents the results of a comparative study of the GLO algorithm with competitive metaheuristic algorithms, including ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA, over 23 classical test functions. In the majority of these tests, the p-values are considerably lower than the generally accepted threshold of statistical significance (p < 0.05), particularly comparing the ALO, AO, AOA, ASO, SHO, and STOA approaches, indicating that GLO outperforms these methods in most cases. More specifically, 8.86E-05 appears to be present in almost all functions, providing strong statistical evidence in favor of the GLO.
Interestingly, the comparison with RSA yields a pretty unpredictable scenario. For TF1 to TF5, RSA seems to have performed on par or not statistically different from GLO (p-values nearing the vicinity of 1.00 for TF1 to TF3). The p-values dropped significantly below 0.05, indicating that GLO outperforms RSA in test functions. Another interesting case is KH, which consistently showed p-values near 8.86E-05, indicating a close performance to the GLO. Across the other functions (from TF9 to TF23), GLO systematically rules statistical supremacy, except for a few cases, such as TF9, TF10, TF20, and TF22, in which p-values rise and denote weaker or no statistical differences. For instance, a p-value of 2.32E-01 is recorded under the comparison with ALO for TF13, showing that for this particular test function, the two algorithms might behave quite similarly.
Accordingly, the results demonstrate the statistical superiority of the GLO over most competing methods in comparison to classical benchmark functions, and thus, it can be reinforced in terms of robustness and adaptability for various optimization problems. The p-values calculated by the test for the CEC17 test functions are presented in Table 12.
Table 12 reports the output of the Wilcoxon signed-rank test on the complex functions of the popularly known CEC17 benchmark suite, which is also regarded as a benchmarking suite on rigorous, challenging multimodal, compound, and hybrid functions to test an algorithm’s convergence, robustness, and adaptability. Above all, the table presents comparisons to the proposed GLO with respect to the same set of peer algorithms used previously.
The p-values reported in this table predominantly support the significance of the GLO over its competitors. The GLO consistently presents low p-values (approximately 8.86E-05) across the test functions in almost all cases, from TF1 to TF29, indicating that it outperforms the ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA. This pattern holds even in more challenging cases, such as TF5, TF6, and TF10, where p-values remain below the significance level, demonstrating the potential of the GLO algorithm to maintain its performance in complex landscapes.
There are a couple of notable exceptions. For instance, TF3 yields higher p-values compared to the AO (6.27E-01), AOA (8.52E-01), and SHO (5.69E-02), indicating statistically indistinguishable performances in those cases. In addition, for TF10 and TF14, there are situations, such as ALO and STOA, that are not statistically inferior to the GLO, as indicated by p-values greater than 0.05. These findings are interesting since they highlight specific problem types where GLO’s advantage is less pronounced; hence, possible hybridization or further tuning is expected. Overall, the CEC2017 statistical validation indeed supports the GLO consistently outperforming rivals on nearly all test functions, particularly against the ALO, AOA, ASO, and STOA. These results further endorse the generalization strengths of the GLO on high-dimensional and computationally expensive optimization problems.
Table 13 presents the Wilcoxon test results for the CEC2022 benchmark suite, which represents an even more recent and challenging evaluation framework. The statistical outcomes largely confirm the trends observed in earlier benchmark sets. GLO achieves significant performance improvements over most competing algorithms across most functions, particularly in problems characterized by strong nonlinearity and variable interactions. While a few functions exhibit higher p-values—indicating comparable performance levels—the overall distribution of results strongly favors GLO. These findings suggest that, even under the increased difficulty and refined design of CEC2022 functions, GLO preserves its competitive edge, balancing exploration and exploitation effectively without sacrificing stability.
In summary, the Wilcoxon signed-rank analysis across all three benchmark categories provides compelling statistical evidence of GLO’s superiority and reliability. The consistency of low p-values across classical, CEC2017, and CEC2022 test functions highlights not only the algorithm’s high solution quality but also its robustness across varying problem structures. Collectively, these results confirm that GLO constitutes a statistically reliable and competitive metaheuristic, capable of delivering strong, consistent performance across a broad spectrum of optimization challenges.
4.6 Average execution time
In addition to solution quality and convergence behavior, computational efficiency is a critical factor in assessing the practical applicability of metaheuristic optimization algorithms. Average execution time provides insight into the algorithmic overhead, internal complexity, and scalability when applied to benchmark problems of varying difficulty. To this end, Figs. 19, 20 and 21 present the average execution time of GLO compared with competing metaheuristic algorithms for classical benchmark functions, the CEC 2017 suite, and the CEC 2022 test functions, respectively.
As illustrated in Fig. 19, which corresponds to the classical test functions, GLO demonstrates a competitive computational profile relative to the reference algorithms. While some lightweight algorithms exhibit slightly lower execution times on simpler unimodal functions, GLO maintains a balanced time cost without excessive overhead. This behavior suggests that GLO’s internal search operators are computationally efficient and do not introduce unnecessary complexity during exploration and exploitation. In contrast, algorithms such as AOA and ASO tend to incur higher execution times, likely due to their more complex update mechanisms and repeated adjustments of control parameters.
Average execution time of the algorithms on the classical test functions
Figure 20 depicts the average execution time on the more challenging CEC 2017 benchmark suite, where function landscapes are high-dimensional, hybrid, and computationally demanding. Under these conditions, execution times generally increase for all algorithms. GLO preserves stable time performance and avoids the sharp escalation observed in some competitors, particularly AO and RSA, which show noticeable time growth across several functions. This indicates that GLO scales more gracefully as problem complexity increases, reflecting an efficient balance between population updates and fitness evaluations.
Average execution time of the algorithms on CEC 2017 test functions
A similar trend is observed in Fig. 21 for the CEC 2022 test functions. Despite the increased difficulty and diversity of these functions, GLO maintains a consistent execution time profile, remaining within a reasonable range compared to peer algorithms. Although a few methods occasionally achieve faster execution, they often do so at the cost of weaker solution accuracy, as demonstrated in previous sections. Overall, the execution-time analysis confirms that GLO does not trade off computational efficiency for performance gains. Instead, it achieves a favorable compromise between solution quality and computational cost, reinforcing its suitability for solving both standard and complex real-world optimization problems.
Average execution time of the algorithms on CEC 2022 test functions
5 Real-world applications
To thoroughly evaluate the performance of the GLO algorithm, it is necessary to apply it to a set of realistic engineering design problems. This section presents and compares the results of the proposed GLO and its competitors of the real-life problems. In this study, the GLO algorithm is applied to six engineering benchmarks: the design of a gear train, the three-bar truss design problem, the Speed reducer problem, the Car side impact design, the Corrugated bulkhead design, and the reinforced concrete beam design. These problems were carefully selected to ensure diversity in problem characteristics and varying levels of complexity, providing a comprehensive assessment of the GLO algorithm’s capability to address unknown search spaces and real-world constraints. These experiments highlight both the accuracy of the solutions and the computational efficiency of the algorithms in tackling real-world optimization problems.
5.1 Design of gear train
The gear train design problem is an unconstrained optimization task involving four integer design variables. Originally introduced by Sandgren (Sandgren 1988), the objective is to minimize the cost associated with the gear ratio in the gear train illustrated in Fig. 22. The gear ratio is defined as follows:
Design of gear train problem
Here, \({T}_{i}\) represents the number of teeth on gear i, with all gear tooth counts constrained to integer values within the range of 12 to 60. The mathematical formulation of the problem is as follows:
The optimal solution obtained by the GLO algorithm is \((Td, Tb, Ta, Tf) = (19, 16, 43, 49)\), yielding an objective value of \(2.70086\times 10-12\). Table 9 presents the statistical results achieved by various optimization methods. As evident from the comparison, the GLO algorithm delivers substantially better performance than the other approaches (see Table 14).
5.2 Three-bar truss design problem
This structural optimization problem, commonly encountered in civil engineering, involves minimizing the weight of a system by optimizing two design variables. The schematic representation of the three-bar truss structure is provided in Fig. 23, and the mathematical formulation of the problem is given in Eq. 30. As shown in Table 15, the GLO algorithm demonstrates superior performance in optimizing the parameters x1 and x2 for the three-bar truss problem compared to the other methods evaluated. According to the results presented in the table, the GLO algorithm achieved the highest ranking, outperforming all other methods in solving this problem. ALO secured the second position, followed by KH and SHO, respectively.
Design of gear train problem
5.3 Speed reducer problem
This optimization problem aims to minimize the total weight of a speed reducer by adjusting seven design variables, subject to constraints related to gear tooth bending stress, shaft transverse deflection, shaft stress, and surface stress. The structural layout of the problem is illustrated in Fig. 24, and its mathematical formulation is presented in Eq. 31. The performance of the proposed GLO algorithm was evaluated against several meta-heuristic methods, including ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA. The comparative results are summarized in Table 16. As indicated, GLO achieved the best performance, ranking first among all tested algorithms. ALO was the second-best performer, followed by SHO.
where \(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}\le 8.3,\) \(7.8 \le {x}_{5}\le 8.3, 2.9 \le {x}_{6}\le 3.9, 5.0\le {x}_{7}\le 5.5\)
Speed reducer problem
5.4 Car side impact design
The optimization of vehicle side-impact crashworthiness constitutes a practical, constrained engineering problem in automotive safety design (Gu et al. 2001). Figure 25 presents a schematic illustration of a vehicle undergoing a side-impact collision, modeled according to the standards set by the European Enhanced Vehicle-Safety Committee (EEVC). The objective is to minimize the overall weight of the vehicle by adjusting nine design variables, including the thicknesses of the door beam, B-pillar inner and reinforcement, cross members, floor side inner, roof rail, and door beltline reinforcement (denoted as × 1 to × 7). This problem encompasses three primary objectives: reducing the force transmitted to the passenger, minimizing vehicle weight, and optimizing the average velocity of the V-pillar, which is responsible for absorbing the collision load. The simplified mathematical representation of this optimization problem is given below (Dhiman et al. 2021):
Car side impact design problem
Table 17 presents the results of the car side-impact design problem after 200 iterations using various optimization algorithms. As shown in the table, the proposed GLO algorithm outperformed the majority of the other methods, achieving performance that was marginally superior to both ALO and ASO.
5.5 Corrugated bulkhead design
This issue illustrates the minimum-weight design of corrugated bulkheads for a tanker, addressed in the research from Kavlie et al. (Moe et al. 1970). The design variables are the width (b), depth (h), length (l), and plate thickness (t). The optimization problem below should be solved to obtain the minimal weight:
The minimum weight and the statistical values of the best solution obtained using the GLO algorithm are presented in Table 18. A comparison of the results demonstrates that the GLO algorithm significantly outperforms the random search method.
5.6 Reinforced concrete beam design
A simplified optimization of the total cost for a reinforced concrete beam, as shown in Fig. 26, was presented by Amir and Hasegawa (Amir and Hasegawa 1989). The beam is modeled as simply supported with a span of 30 feet, subjected to a live load of 2.0 kips and a dead load of 1.0 kip, including the weight of the beam itself. The concrete compressive strength (rc) is 5 ksi, and the yield stress of the reinforcing steel (ry) is 50 ksi. The optimization variables include the area of the reinforcement (As), the beam width (b), and the beam depth (h), all of which must be determined to minimize the total cost of the structure. In this formulation, the cross-sectional area of the reinforcing bars (As) is treated as a discrete variable that must be selected from standard bar dimensions listed by Amir and Hasegawa (1989). The beam width (b) is considered an integer variable, while the depth of the beam (h) is a continuous variable. The effective depth is assumed to be 0.8 times the beam depth. The design must satisfy the strength requirements according to the ACI Building Code 318-77, as outlined below:
Reinforced concrete beam design problem
In this context, Mu, Md, and Ml represent the flexural strength, dead load moment, and live load moment of the beam, respectively. Specifically, \(Md=1350\) and \(Ml=2700\). The ratio of the beam’s depth to its width is constrained to be no greater than 4. The optimization problem can be formulated as follows:
Subject to:
Table 19 summarizes the optimal designs for this problem along with the corresponding parameters. The results indicate that the GLO method is highly effective in performance.
Figure 27 provides the convergence curves and boxplots that demonstrate both the dynamic performance characteristics and statistical performance stability of the GLO algorithm across the tested engineering optimization problems.
Convergences and box plot results
The convergence plots indicated GLO will achieve solutions extremely close to optimal in less elapsed time than its competitor algorithms, highlighting the exploitation and convergence qualities of the GLO algorithm. The information from the conversion curves relative to the GLO algorithm reinforces the significant capability of GLO for navigating complex, constrained design spaces while limiting the occurrence of locally optimal solutions, a limitation commonly found in metaheuristic optimization.
The boxplots confirm the statistical performance of GLO and provide evidence that GLO had low variability across 20 independent runs for each benchmark problem. This variability suggests that GLO can deliver high-quality solutions with consistent relative performance across diverse problem domains. The low variability in recorded results for each problem domain, as shown in the boxplots, supports the GLO algorithm’s stability and robustness to randomness and initial conditions, which is a crucial consideration for real-world engineering applications.
The findings within Fig. 27 summarize the effective practical performance of GLO. There were significant benefits of GLO performance in terms of solution quality and statistical consistency compared to existing methods for modeling engineering optimization problems across multiple solutions in structural, mechanical, and automotive design contexts.
The comparative performance of the GLO algorithm was thoroughly tested using six real-world engineering optimization challenges. The results reported in Fig. 22 (i.e., convergence curves and boxplots) demonstrate that the GLO algorithm significantly optimized the result, both in terms of quality and repeatability. From the convergence plots, the GLO was able to find optimal or near-optimal solutions faster than its comparative state-of-the-art metaheuristic algorithms. The relevant algorithms include ALO, AO, AOA, ASO, KH, RSA, SHO, and STOA. The GLO algorithm’s rapid convergence indicates a strong exploitative ability and efficient search behavior.
The GLO algorithm can be viewed as a robust enhancement over similar algorithms, specifically designed to solve problems with complex constraints and nonlinear objective functions. At the same time, the box plots provide a statistical perspective on the performance of the algorithms over 20 independent runs for each of the problems.
The GLO consistently shows a narrow interquartile range, indicating low variability and high stability in its representation of the final solution. In contrast to some of the other competitive methods, which had considerable dispersion in the box plot, indicating significant susceptibility to randomness. GLO is able to replicate its good performance over varying starting conditions. This feature is particularly important when the performance of an engineering solution must reliably meet an acceptable level of performance, rather than just an optimal value. The conclusion drawn from the results shown in the figure indicates that GLO optimally achieved the best or near-best objective values in all problem cases, while also exhibiting very strong reliability and convergence characteristics. In conclusion, these results suggest that GLO is a practical and reliable approach for optimizing complex real-world problems.
6 Conclusion and future perspectives
This study introduces a novel bio-inspired metaheuristic algorithm called Gray Langur Optimizer (GLO), modeling the group behavior of gray langurs in nature. The gray langurs live in three types of groups: one-male, multi-male, and all-male groups. Each group has its hierarchy, social structure, and policies. The top-ranking male (the best gray langur) in each group is the alpha, who is responsible for managing the group, making decisions, and finding food, among other tasks. The other members of the group, including other males, females, and children, follow the alpha.
In a one-male group, there is only one male, the alpha, a number of females, and infants. In this group, the alpha is the mate of all females and the father of infants, and all mothers and cubs follow him. The second type of group is the multi-male group, in which there are other males in addition to the alpha. Females can be the mate of any male in the group, but the alpha has a higher chance of attracting females. Males assist the alpha in protecting the group and making decisions. In the third rank of this group, some females mate with males and are the mothers of the infants. At the lowest rank, there are children. In the third group, the all-male group, there are no females, and all members are males. Members of this group are more likely to leave the group and join other groups. In this group, there is also an alpha, who is responsible for leading and managing the group members.
The GLO divides the initial population of gray langurs into three groups and mathematically formulates the behavior and hierarchy of each group. Members of each group update their position according to the group rules. The GLO also models the migratory behavior of gray langurs in the wild, where gray langurs leave their group and join another group for reasons such as reaching maturity or finding a mate. For this purpose, a new phase with adjustable migration rate parameters and a minimum number of group members is provided in GLO. In addition, observations and documentation reveal that gray langurs exhibit autonomous behavior, in which they search and roam within their territory and neighborhood. This autonomous behavior is also considered in GLO and simulated as a mechanism to improve the search process.
The GLO’s performance is assessed against eight preeminent metaheuristic counterparts, comprising ALO, AO, AOA, ASO, KH, RSA, and SHO. As a consequence of what has preceded, the GLO and competitors are applied to twenty-three classical test functions, including unimodal, multimodal, and fixed-dimension benchmarks. To evaluate the effectiveness of the GLO more in depth, the algorithms are also applied to the CEC17 test functions, which are shifted, rotated, and composite. Additionally, the GLO and peer algorithms are utilized to solve six real-world applications with various constraints, thereby evaluating their accuracy.
The obtained results of the algorithms are compared numerically using statistical metrics, including the best, worst, average, median, and standard deviation. Additionally, the set of solutions found by the algorithms during their independent executions is evaluated by the box plot diagrams. The convergence rate of the algorithms towards the global optimum is also studied using convergence curves. Finally, the superiority of the proposed GLO over competitor algorithms is explored by the non-parametric Wilcoxon signed-rank test.
The experimental results divulged GLO’s superior and markedly competitive standing over both challenging benchmark functions and constrained real-world problems. The results revealed the supreme exploration and potential of the GLO, as well as its premier capability in addressing real-world scenarios.
Given that the GLO algorithm is a multi-population algorithm and organizes and manages solutions in multiple groups, its computational complexity and, therefore, execution time are higher than those of single-population algorithms. Another limitation of the GLO algorithm is that there must be at least as many solutions as there are groups. In other words, the minimum number of solutions in the proposed method is 3.
The proposed directions for subsequent investigation of GLO could include applying GLO to more challenging real-world scenarios, such as machine learning and deep learning. Additionally, a direct numerical comparison with HWGW-TC and QANA would be an interesting avenue for future work. Likewise, the footprint or communication overhead for large-scale problems can be investigated.
Data availability
Data will be made available on request.
References
Abdel-Basset M et al (2022) Light spectrum optimizer: a novel physics-inspired metaheuristic optimization algorithm. Mathematics 10(19):3466
Abdollahzadeh B et al (2022) Mountain gazelle optimizer: a new nature-inspired metaheuristic algorithm for global optimization problems. Adv Eng Softw 174:103282
Abdollahzadeh B et al (2024) Puma optimizer (PO): a novel metaheuristic optimization algorithm and its application in machine learning. Cluster Comput. https://doi.org/10.1007/s10586-023-04221-5
Abdollahzadeh B, Gharehchopogh FS, Mirjalili S (2021a) African vultures optimization algorithm: a new nature-inspired metaheuristic algorithm for global optimization problems. Comput Ind Eng 158:107408
Abdollahzadeh B, Soleimanian Gharehchopogh F, Mirjalili S (2021b) Artificial gorilla troops optimizer: a new nature-inspired metaheuristic algorithm for global optimization problems. Int J Intell Syst 36(10):5887–5958
Abdullah JM, Ahmed T (2019) Fitness dependent optimizer: inspired by the bee swarming reproductive process. IEEE Access 7:43473–43486
Abedinpourshotorban H et al (2016) Electromagnetic field optimization: a physics-inspired metaheuristic optimization algorithm. Swarm Evol Comput 26:8–22
Abualigah L et al (2021a) The arithmetic optimization algorithm. Comput Methods Appl Mech Eng 376:113609
Abualigah L et al (2021b) Aquila optimizer: a novel meta-heuristic optimization algorithm. Comput Ind Eng 157:107250
Abualigah L et al (2022) Reptile search algorithm (RSA): a nature-inspired meta-heuristic optimizer. Expert Syst Appl 191:116158
Agoramoorthy, G. (1992). Reproductive biology of the Hanuman langur Presbytis entellus in Jodhpur, Western India. Journal of the Bombay Natural History Society, 89(1), 84-93.
Agrawal UK, Panda N (2025) Quantum-inspired adaptive mutation operator enabled PSO (QAMO-PSO) for parallel optimization and tailoring parameters of Kolmogorov–Arnold network. J Supercomput 81(14):1310
Ahmadianfar I et al (2021) RUN beyond the metaphor: an efficient optimization algorithm based on Runge Kutta method. Expert Syst Appl 181:115079
Ahmadianfar I et al (2022) INFO: an efficient optimization algorithm based on weighted mean of vectors. Expert Syst Appl 195:116516
Amir HM, Hasegawa T (1989) Nonlinear mixed-discrete structural optimization. J Struct Eng 115(3):626–646
Amiri MH et al (2024) Hippopotamus optimization algorithm: a novel nature-inspired optimization algorithm. Sci Rep 14(1):5032
Ballings M, Van den Poel D, Bogaert M (2016) Social media optimization: identifying an optimal strategy for increasing network size on Facebook. Omega Oxf 59:15–25
Barshandeh S, Dana R, Eskandarian P (2022b) A learning automata-based hybrid MPA and JS algorithm for numerical optimization problems and its application on data clustering. Knowl Based Syst 236:107682
Barshandeh S et al (2022c) A range-free localization algorithm for IoT networks. Int J Intell Syst 37(12):10336–10379
Barshandeh S et al (2023) A learning-based metaheuristic administered positioning model for 3D IoT networks. Appl Soft Comput 136:110113
Barshandeh S, Haghzadeh M (2021) A new hybrid chaotic atom search optimization based on tree-seed algorithm and Levy flight for solving optimization problems. Eng Comput 37(4):3079–3122
Barshandeh S, Piri F, Sangani SR (2022a) HMPA: an innovative hybrid multi-population algorithm based on artificial ecosystem-based and Harris Hawks optimization algorithms for engineering problems. Eng Comput 38(2):1581–1625
Benaissa B et al (2024) Metaheuristic optimization algorithms: an overview. HCMCOU J Sci Adv Comput Struct 14:33–61
Benyamin A, Farhad SG, Saeid B (2021) Discrete farmland fertility optimization algorithm with metropolis acceptance criterion for traveling salesman problems. Int J Intell Syst 36(3):1270–1303
Borries, C., Sommer, V., & Srivastava, A. (1991). Dominance, age, and reproductive success in free-ranging female Hanuman langurs (Presbytis entellus). International Journal of Primatology, 12(3), 231-257
Burnie D and Wilson DE (Eds.), Animal: The Definitive Visual Guide to the World's Wildlife. DK Adult (2005), ISBN 0-7894-7764-5
Dhiman G et al (2021) A novel hybrid hypervolume indicator and reference vector adaptation strategies based evolutionary algorithm for many-objective optimization. Eng Comput 37(4):3017–3035
Dhiman G, Kaur A (2019) STOA: a bio-inspired based optimization algorithm for industrial engineering problems. Eng Appl Artif Intell 82:148–174
Dhiman G, Kumar V (2017) Spotted hyena optimizer: a novel bio-inspired based metaheuristic technique for engineering applications. Adv Eng Softw 114:48–70
Dorigo M, Birattari M, Stutzle T (2006) Ant colony optimization. IEEE Comput Intell Mag 1(4):28–39
Draa A, Chettah K, Talbi H (2019) A compound sinusoidal differential evolution algorithm for continuous optimization. Swarm Evol Comput 50:100450
Eberhart R, Kennedy J (1995) Particle swarm optimization. in Proceedings of the IEEE international conference on neural networks. Perth, Australia
El-Kenawy E-SM et al (2024a) Greylag goose optimization: nature-inspired optimization algorithm. Expert Syst Appl 238:122147
El-Kenawy E-SM et al (2024b) Football optimization algorithm (fboa): a novel metaheuristic inspired by team strategy dynamics. J Artif Intell Metaheuristics 8(1):21–38
Faramarzi A et al (2020) Equilibrium optimizer: a novel optimization algorithm. Knowl-Based Syst 191:105190
Gandomi AH, Alavi AH (2012) Krill herd: a new bio-inspired optimization algorithm. Commun Nonlinear Sci Numer Simul 17(12):4831–4845
Geem ZW, Kim JH, Loganathan GV (2001) A new heuristic optimization algorithm: harmony search. SIMULATION 76(2):60–68
Gharehchopogh FS et al (2023a) Cqffa: a chaotic quasi-oppositional farmland fertility algorithm for solving engineering optimization problems. J Bionic Eng 20(1):158–183
Gharehchopogh FS et al (2023b) A multi-objective mutation-based dynamic Harris Hawks optimization for botnet detection in IoT. Internet Things 24:100952
Ghasemi M et al (2016) Colonial competitive differential evolution: an experimental study for optimal economic load dispatch. Appl Soft Comput 40:342–363
Ghasemi M et al (2025) Kirchhoff’s law algorithm (KLA): a novel physics-inspired non-parametric metaheuristic algorithm for optimization problems. Artif Intell Rev 58(10):325
Gu L et al (2001) Optimisation and robustness for crashworthiness of side impact. Int J Veh des 26(4):348–360
Heidari AA et al (2019) Harris hawks optimization: algorithm and applications. Future Gener Comput Syst 97:849–872
Holland JH (1992) Genetic algorithms. Sci Am 267(1):66–73
Hong L et al (2018) A hyper-heuristic approach to automated generation of mutation operators for evolutionary programming. Appl Soft Comput 62:162–175
Houssein EH et al (2023) Liver cancer algorithm: a novel bio-inspired optimizer. Comput Biol Med 165:107389
Jones, D. B. (2004). A taxonomic revision of the langurs and leaf monkeys (Primates: Colobinae) of South Asia. ZOOS'PRINT JOURNAL, 19(8), 1552-159.
Karaboga D, Basturk B (2007) Artificial bee colony (ABC) optimization algorithm for solving constrained optimization problems. International fuzzy systems association world congress. Springer, New York
Kaveh A, Talatahari S, Khodadadi N (2022) Stochastic paint optimizer: theory and application in civil engineering. Eng Comput 38(3):1921–1952
Khishe M, Mosavi MR (2020) Chimp optimization algorithm. Expert Syst Appl 149:113338
Kumar N, Singh N, Vidyarthi DP (2021) Artificial lizard search optimization (ALSO): a novel nature-inspired meta-heuristic algorithm. Soft Comput 25(8):6179–6201
Kundu R et al (2024) Prism refraction search: a novel physics-based metaheuristic algorithm. J Supercomput 80(8):10746–10795
Lang Y, Gao Y (2025) Dream optimization algorithm (DOA): A novel metaheuristic optimization algorithm inspired by human dreams and its applications to real-world engineering problems. Comput Methods Appl Mech Eng 436:117718
Mahapatra AK et al (2024) A fast-flying particle swarm optimization for resolving constrained optimization and feature selection problems. Clust Comput 28(2):91
Mahapatra AK, Panda N, Pattanayak BK (2025) Quantized orthogonal experimentation SSA (QOX-SSA): a hybrid technique for feature selection (FS) and neural network training. Arab J Sci Eng 50(2):1025–1056
Masdari M, Barshandeh S (2020) Discrete teaching–learning-based optimization algorithm for clustering in wireless sensor networks. J Ambient Intell Humaniz Comput 11(11):5459–5476
Mirjalili S (2015a) Moth-flame optimization algorithm: a novel nature-inspired heuristic paradigm. Knowl Based Syst 89:228–249
Mirjalili S (2015b) The ant lion optimizer. Adv Eng Softw 83:80–98
Mirjalili S et al (2017) Salp swarm algorithm: a bio-inspired optimizer for engineering design problems. Adv Eng Softw 114:163–191
Mirjalili S, Lewis A (2016) The whale optimization algorithm. Adv Eng Softw 95:51–67
Mirjalili S, Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61
Moe J, Kavlie D, Lund S (1970) Optimum design of ship structures. J Soc Nav Archit Jpn 1970(128):27–47
Mohammadzadeh A et al (2023) Energy-aware workflow scheduling in fog computing using a hybrid chaotic algorithm. J Supercomput 79(16):18569–18604
Mohammadzadeh A et al (2024) Use of whale optimization algorithm and its variants for cloud task scheduling: a review. Handbook Whale Optim Algorithm. https://doi.org/10.1016/B978-0-32-395365-8.00010-5
Mohammadzadeh A, Javaheri D, Artin J (2024) Chaotic hybrid multi-objective optimization algorithm for scientific workflow scheduling in multisite clouds. J Oper Res Soc 75(2):314–335
Mohammadzadeh A, Mirjalili S (2024) Eel and grouper optimizer: a nature-inspired optimization algorithm. Cluster Comput 27(9):12745–12786
Newton, P. (1994). Social stability and change among forest Hanuman langurs (Presbytis entellus). Primates, 35(4), 489-498.
Price KV (1996) Differential evolution: a fast and simple numerical optimizer. In Proceedings of North American fuzzy information processing. IEEE
Rajpurohit, L. S. (1992). Origin and Composition of the Unisexual Unit-An All-male Band in Hanuman Langur, Presbytisentellus, around Jodhpur, India. Primate Report, 47-47.
Rao RV, Savsani VJ, Vakharia DP (2011) Teaching–learning-based optimization: a novel method for constrained mechanical design optimization problems. Comput Aided des 43(3):303–315
Roonwal, M. L. (1981). Intraspecific variation in size, proportion of body parts and weight in the Hanuman langur, Presbytis entellus (Primates), in south Asia, with remarks on subspeciation. Records of the Zoological Survey of India, 125-158.
Roos C, Boonratana R, Supriatna J, Fellowes J. R, Groves C. P, Nash, S. D, Rylands A. B, Mittermeier, R. A. (2014). An updated taxonomy and conservation status review of Asian primates. Asian Primates J 4(1), 2–38.
Sala R, Baldanzini N, Pierini M (2017) SQG-Differential Evolution for difficult optimization problems under a tight function evaluation budget. International workshop on machine learning, optimization, and big data. Springer, New York
Sandgren E (1988) Nonlinear integer and discrete programming in mechanical design. In International design engineering technical conferences and computers and information in engineering conference. Am Soc Mech Eng
Saremi S, Mirjalili S, Lewis A (2017) Grasshopper optimisation algorithm: theory and application. Adv Eng Softw 105:30–47
Simon D (2008) Biogeography-based optimization. IEEE Trans Evol Comput 12(6):702–713
Srinivasulu, C., & Nagulu, V. (2001). Status of primates in Andhra Pradesh. Envis Bulletin: Wildlife and Protected Areas, 1(1), 109-112.
Starin, E. D. (1978). A preliminary investigation of home range use in the Gir Forest langur. Primates, 19(3), 551-567.
Storn R, Price K (1997) Differential evolution—a simple and efficient heuristic for global optimization over continuous spaces. J Glob Optim 11:341–359
Sugiyama, Y. (1965). Behavioral development and social structure in two troops of Hanuman langurs (Presbytis entellus). Primates, 6(2), 213-247.
Trivedi A et al (2017) A unified differential evolution algorithm for constrained optimization problems. In 2017 IEEE congress on evolutionary computation (CEC). IEEE
Trojovská E, Dehghani M, Trojovský P (2022) Zebra optimization algorithm: a new bio-inspired optimization algorithm for solving optimization algorithm. IEEE Access 10:49445–49473
Van Laarhoven PJ et al (1987) Simulated annealing. Springer, New York
Wang T-L et al (2025) Cuckoo catfish optimizer: a new meta-heuristic optimization algorithm. Artif Intell Rev 58(10):326
Wolpert, D. H., & Macready, W. G. (2002). No free lunch theorems for optimization. IEEE transactions on evolutionary computation, 1(1), 67-82.
Yaqoob A, Verma NK, Aziz RM (2024) Metaheuristic algorithms and their applications in different fields: a comprehensive review. Metaheuristics Mach Learn Algorithms Appl 5:45. https://doi.org/10.1002/9781394233953.ch1
Zhao W et al (2024) Electric eel foraging optimization: a new bio-inspired optimizer for engineering applications. Expert Syst Appl 238:122200
Zhao W, Wang L, Zhang Z (2019) Atom search optimization and its application to solve a hydrogeologic parameter estimation problem. Knowl-Based Syst 163:283–304
Funding
The authors gratefully acknowledge the following financial support for this research: the Taisei Chair of Civil Engineering at the University of California, Berkeley.
Author information
Authors and Affiliations
Contributions
S.B: conceptualization, methodology, writing—original draft, visualization. N.K: writing—original draft, methodology, visualization, investigation, software. B.A: conceptualization, data curation, writing—review & editing, visualization, formal analysis. A.M: methodology, visualization, investigation, writing—original draft. S.K: data curation, writing—original draft, visualization, formal analysis. M.E: data curation, writing—original draft, visualization. K.M: resources, writing—review & editing, supervision.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Ethical approval
This article does not contain any studies with human participants or animals performed by any of the authors. Informed consent was not required as no human or animals were involved.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1
Sensitivity analysis of GLO parameters
This appendix reports the detailed numerical results of the sensitivity analysis conducted on the main control parameters of GLO. A total of 28 parameter configurations were evaluated on representative benchmark functions to assess robustness against parameter variations.
The results of sensitivity analysis on key parameters (\({FP}_{OM}, {FP}_{MM}\), \({MP}_{MM}\), and \(\omega \)) | |||||||
|---|---|---|---|---|---|---|---|
Parameters | Test function | ||||||
Constant(s) | Variable(s) | F2 | F5 | F8 | F14 | F19 | F23 |
\({FP}_{OM}=0.3\) \(\omega =0.05\) | \({FP}_{MM}=0.1\) \({MP}_{MM}=0.6\) | 0 | 2.13115E-01 | − 4.18934E+03 | 1.29582E+00 | − 3.86278E+00 | − 7.43294E+00 |
\({FP}_{MM}=0.2\) \({MP}_{MM}=0.5\) | 0 | 1.71746E-01 | − 3.84806E+03 | 1.19681E+00 | − 3.86278E+00 | − 1.05363E+01 | |
\({FP}_{MM}=0.3\) \({MP}_{MM}=0.4\) | 0 | 2.10599E-01 | − 3.83465E+03 | 1.19681E+00 | − 3.86278E+00 | − 9.76337E+00 | |
\({FP}_{MM}=0.4\) \({MP}_{MM}=0.3\) | 0 | 1.20441E-01 | − 3.96030E+03 | 1.19681E+00 | − 3.86278E+00 | − 8.52607E+00 | |
\({FP}_{MM}=0.5\) \({MP}_{MM}=0.2\) | 0 | 4.29383E-01 | − 4.07491E+03 | 1.69303E+00 | − 3.86278E+00 | − 9.09332E+00 | |
\({FP}_{MM}=0.6\) \({MP}_{MM}=0.1\) | 0 | 3.81249E-01 | − 3.75649E+03 | 1.49423E+00 | − 3.86278E+00 | − 8.05698E+00 | |
\({FP}_{MM}=0.3\) \(\omega =0.05\) | \({FP}_{OM}=0.1\) \({MP}_{MM}=0.6\) | 0 | 9.68604E-01 | − 4.11998E+03 | 1.19641E+00 | − 3.86278E+00 | − 8.95177E+00 |
\({FP}_{OM}=0.2\) \({MP}_{MM}=0.5\) | 0 | 1.72465E-01 | − 4.05043E+03 | 1.39522E+00 | − 3.86278E+00 | − 9.86545E+00 | |
\({FP}_{OM}=0.3\) \({MP}_{MM}=0.4\) | 0 | 1.32820E-01 | − 4.04730E+03 | 1.59363E+00 | − 3.86278E+00 | − 8.24448E+00 | |
\({FP}_{OM}=0.4\) \({MP}_{MM}=0.3\) | 0 | 9.80129E-02 | − 3.95786E+03 | 1.69317E+00 | − 3.86278E+00 | − 9.76335E+00 | |
\({FP}_{OM}=0.5\) \({MP}_{MM}=0.2\) | 0 | 2.72007E-01 | − 3.64839E+03 | 1.59049E+00 | − 3.86278E+00 | − 1.05364E+01 | |
\({FP}_{OM}=0.5\) \({MP}_{MM}=0.1\) | 0 | 3.08468E-01 | − 3.87098E+03 | 1.68950E+00 | − 3.86278E+00 | − 1.05364E+01 | |
\({MP}_{MM}=0.3\) \(\omega =0.05\) | \({FP}_{OM}=0.1\) \({FP}_{MM}=0.6\) | 0 | 1.43884E+00 | − 3.99939E+03 | 1.39482E+00 | − 3.86278E+00 | − 9.86630E+00 |
\({FP}_{OM}=0.2\) \({FP}_{MM}=0.5\) | 0 | 9.01528E-01 | − 4.05935E+03 | 1.39561E+00 | − 3.86278E+00 | − 9.72762E+00 | |
\({FP}_{OM}=0.3\) \({FP}_{MM}=0.4\) | 0 | 1.05829E-01 | − 3.99796E+03 | 1.68950E+00 | − 3.86278E+00 | − 9.05484E+00 | |
\({FP}_{OM}=0.4\) \({FP}_{MM}=0.3\) | 0 | 1.49106E-01 | − 3.65873E+03 | 1.09805E+00 | − 3.86278E+00 | − 8.83264E+00 | |
\({FP}_{OM}=0.5\) \({FP}_{MM}=0.2\) | 0 | 9.86859E-02 | − 3.87447E+03 | 1.19641E+00 | − 3.86278E+00 | − 9.72549E+00 | |
\({FP}_{OM}=0.6\) \({FP}_{MM}=0.1\) | 0 | 4.48842E-01 | − 3.75175E+03 | 1.29621E+00 | − 3.86278E+00 | − 9.19621E+00 | |
\({FP}_{OM}=0.4\) \({FP}_{MM}=0.3\) \({MP}_{MM}=0.3\) | \(\omega =0.05\) | 0 | 4.74914E-01 | − 4.08624E+03 | 1.29582E+00 | − 3.86278E+00 | − 9.72550E+00 |
\(\omega =0.15\) | 0 | 4.41924E-01 | − 3.93211E+03 | 1.29582E+00 | − 3.86278E+00 | − 9.76343E+00 | |
\(\omega =0.25\) | 0 | 2.46995E+00 | − 3.94674E+03 | 1.19641E+00 | − 3.86278E+00 | − 9.86630E+00 | |
\(\omega =0.35\) | 0 | 2.64938E+00 | − 4.00360E+03 | 1.88830E+00 | − 3.86278E+00 | − 8.27901E+00 | |
\(\omega =0.45\) | 0 | 3.48685E+00 | − 4.10021E+03 | 1.19641E+00 | − 3.86278E+00 | − 9.86630E+00 | |
\(\omega =0.55\) | 0 | 8.95531E-01 | − 3.84539E+03 | 9.98004E-01 | − 3.86278E+00 | − 1.05364E+01 | |
\(\omega =0.65\) | 0 | 4.05796E+00 | − 3.81452E+03 | 9.98004E-01 | − 3.86278E+00 | − 9.72550E+00 | |
\(\omega =0.75\) | 0 | 3.64766E+00 | − 4.06880E+03 | 1.29621E+00 | − 3.86278E+00 | − 1.05364E+01 | |
\(\omega =0.85\) | 0 | 4.06381E+00 | − 3.96471E+03 | 1.59363E+00 | − 3.86278E+00 | − 1.05364E+01 | |
\(\omega =0.95\) | 0 | 4.34409E+00 | − 3.73310E+03 | 1.89105E+00 | − 3.86278E+00 | − 1.05364E+01 | |
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Barshandeh, S., Khodadadi, N., Abdollahzadeh, B. et al. Gray langurs optimizer: a multi-group bio-inspired optimization algorithm. Artif Intell Rev 59, 166 (2026). https://doi.org/10.1007/s10462-026-11529-2
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1007/s10462-026-11529-2
















































