Goat Optimization Algorithm A Novel Bio-Inspired M
Goat Optimization Algorithm A Novel Bio-Inspired M
1, (2025), 70-80
b
Department of Management, Azad University, UAE branch, Dubai, UAE
Abstract
This paper introduces the Goat Optimization Algorithm (GOA), a novel bio-inspired metaheuristic inspired by the adaptive
behaviors of goats. Drawing from their foraging strategies, movement patterns, and ability to evade parasites, GOA is
designed to balance exploration and exploitation effectively. The algorithm incorporates three key mechanisms: an
adaptive foraging strategy for global search, a directed movement approach for refining solutions, and a jump mechanism
to escape local optima. Additionally, a solution filtering process enhances robustness by maintaining diversity within the
population. GOA's performance is evaluated against well-established metaheuristics, including Particle Swarm
Optimization (PSO), Grey Wolf Optimizer (GWO), Genetic Algorithm (GA), Whale Optimization Algorithm (WOA),
and Artificial Bee Colony (ABC). Comparative results demonstrate GOA’s superior convergence speed, enhanced global
search efficiency, and improved solution accuracy. The statistical significance of these improvements is validated through
the Wilcoxon rank-sum test. Despite its effectiveness, GOA has some challenges, including computational complexity
and sensitivity to parameter settings, which leave room for further optimization. Future research will explore adaptive
parameter tuning, hybridization with other metaheuristics, and real-world applications in supply chain management,
bioinformatics, and energy optimization. The findings indicate that GOA offers a promising advancement in bio-inspired
optimization techniques.
Keywords: Goat Optimization Algorithm, Bio-Inspired Metaheuristic, Global Optimization, Swarm Intelligence, Benchmark Testing
1. Introduction
Optimization problems are prevalent in various scientific and engineering fields, ranging from industrial process
optimization to artificial intelligence and bioinformatics. Due to the complexity and high-dimensional nature of many
real-world problems, traditional mathematical optimization methods often fail to provide efficient and scalable solutions.
Consequently, researchers have increasingly turned to nature-inspired metaheuristic algorithms, which mimic biological,
physical, and social phenomena to effectively explore and exploit search spaces.
*
Corresponding author.
E-mail address: [email protected]
Received 27 August 2024; Received in revised form 28 September 2024; Accepted 21 October 2024
71 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
Among the most well-established bio-inspired optimization techniques are Particle Swarm Optimization (PSO) [1],
Genetic Algorithms (GA) [2], Grey Wolf Optimization (GWO) [3], and Artificial Bee Colony (ABC) [4]. These algorithms
have successfully tackled complex optimization problems by leveraging adaptive and stochastic search strategies.
However, despite their strengths, existing algorithms often suffer limitations such as premature convergence, imbalance
between exploration and exploitation, and sensitivity to parameter settings.
To address these challenges, this paper introduces a novel optimization technique called the Goat Optimization
Algorithm (GOA), inspired by the natural behaviors of goats in harsh and resource-limited environments. Goats are known
for their exceptional adaptability, strategic foraging behavior, and ability to navigate rugged terrains. They exhibit a unique
balance between exploration (searching for new grazing areas) and exploitation (maximizing resource utilization in a
given area), making them an ideal inspiration for optimization.
GOA is designed to integrate three key mechanisms observed in goat behavior:
1. Adaptive Foraging Strategy: Goats exhibit selective grazing behavior, efficiently identifying high-nutrient
regions while avoiding less favorable areas. This behavior is modeled to enhance exploration in the search space.
2. Jump Mechanism for Escaping Local Optima: Unlike many other animals, goats are capable of sudden,
dynamic movements to reach difficult locations. This feature is incorporated into GOA to help escape local optima
and improve convergence.
3. Parasite Avoidance and Environmental Adaptation: Goats instinctively avoid grazing in parasite-infected
areas, a behavior leveraged in GOA to filter out poor solutions and enhance overall search efficiency.
This study aims to formally introduce GOA's mathematical formulation, analyze its performance on standard
benchmark functions, and compare its efficiency against well-known metaheuristic algorithms. The remainder of this
paper is structured as follows:
• Section 2 provides the biological inspiration and underlying principles of the GOA.
• Section 3 presents the mathematical model and algorithmic framework.
• Section 4 outlines the experimental setup, including benchmark functions and performance metrics.
• Section 5 discusses the results and comparative analysis with other optimization algorithms.
• Section 6 concludes the paper and suggests potential directions for future research.
Through extensive empirical evaluation, we demonstrate that GOA effectively balances exploration and exploitation,
avoids premature convergence, and outperforms several existing algorithms in solving complex optimization problems.
Over the past few decades, nature-inspired algorithms have gained significant attention due to their ability to solve
complex, high-dimensional optimization problems. These algorithms mimic biological and natural phenomena, including
evolutionary processes, swarm intelligence, and animal behaviors. Some of the most prominent bio-inspired optimization
techniques include Genetic Algorithms (GA) [2], Particle Swarm Optimization (PSO) [1], Grey Wolf Optimization
(GWO) [3], and Artificial Bee Colony (ABC) [4].
Although these algorithms have shown promising results, they are often limited by challenges such as premature
convergence, stagnation in local optima, and imbalanced exploration-exploitation dynamics [9]. This motivates the
development of new metaheuristic approaches that leverage alternative biological inspirations to improve optimization
performance. In this study, we introduce the Goat Optimization Algorithm (GOA), inspired by the adaptive behaviors of
goats in diverse and challenging environments.
Goats (Capra aegagrus hircus) are among the most adaptable herbivores, capable of thriving in extreme conditions
such as mountainous terrains, deserts, and semi-arid regions. Their foraging behavior, mobility, and social interactions
72 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
provide a unique framework for designing an effective optimization algorithm. Below, we highlight key biological
characteristics of goats that form the foundation of GOA:
Goats exhibit an intelligent and selective foraging strategy, preferring high-nutrient vegetation while avoiding toxic or
unproductive areas. Unlike other grazing animals that follow a systematic pattern, goats randomly explore their
surroundings before committing to a grazing spot. This behavior can be directly mapped to exploration in optimization,
where agents (goats) must evaluate multiple regions in the search space before settling on an optimal solution.
Studies on goat feeding habits [5] suggest that their ability to assess resource richness and environmental risks is
significantly higher than many other ruminants. In an optimization context, this translates to adaptive exploration, where
solutions can dynamically shift between global and local search depending on environmental conditions.
One of the most remarkable traits of goats is their ability to navigate steep and rocky terrains by making sudden,
calculated jumps. This characteristic ensures that goats can reach otherwise inaccessible food sources while avoiding
threats and poor grazing areas. Unlike most herd animals that rely on gradual movement, goats employ a mix of short-
range movements and long-distance jumps to enhance survival and food acquisition [6].
This behavior directly correlates to the challenge of escaping local optima in optimization problems. Many traditional
algorithms, such as PSO and GWO, get trapped in local optima due to excessive exploitation. By integrating a stochastic
jump mechanism, GOA introduces a disruptive yet controlled movement strategy, allowing solutions to explore new
regions efficiently while preventing stagnation.
Goats instinctively avoid grazing in areas with high concentrations of parasites and contaminated food sources. This
behavior, parasitic load avoidance, ensures long-term survival and health by favoring cleaner, pathogen-free regions [7].
This can be modeled as a solution filtering mechanism in GOA, where low-quality solutions are dynamically eliminated,
ensuring that the population maintains diversity and efficiency over time.
By incorporating this principle, GOA periodically removes underperforming solutions and regenerates new ones within
the search space, similar to how goats adapt their grazing patterns to avoid parasite-infested areas [8]. This mechanism is
beneficial in problems where diversity in solutions is crucial for reaching the global optimum.
The Goat Optimization Algorithm (GOA) is inspired by the natural behaviors of goats, particularly their ability to adapt
to harsh environments, navigate complex terrains, and optimize resource utilization. Unlike many herd animals, goats
exhibit a unique blend of independent decision-making and social coordination, which provides a strong foundation for
designing an efficient optimization strategy.
In nature, goats rely on a selective foraging strategy, exploring large areas to identify high-nutrient food sources while
instinctively avoiding toxic or unproductive regions. This behavior translates into GOA’s exploration phase, where
candidate solutions search for optimal regions within the solution space. As the optimization process progresses, goats
tend to converge toward the best grazing areas, mirroring the exploitation phase in GOA, where solutions refine their
positions to improve accuracy.
Another key characteristic of goats is their ability to perform sudden jumps to reach difficult locations, enabling them
to escape predators and access untapped resources. This behavior is integrated into GOA through a jump mechanism,
which helps the algorithm avoid local optima by periodically introducing significant strategic position changes.
73 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
Additionally, goats demonstrate a natural aversion to parasite-infested areas, a trait that ensures their long-term survival.
In GOA, this principle is applied through a solution filtering mechanism, where poor-quality solutions are discarded and
replaced with new candidates, preserving population diversity and robustness throughout the optimization process.
By incorporating these biologically inspired mechanisms, GOA effectively balances exploration and exploitation,
prevents premature convergence, and enhances search efficiency. This natural process ensures the algorithm adapts
dynamically to complex optimization landscapes, making it a competitive alternative to existing metaheuristic techniques.
By translating these natural behaviors into a mathematical model, GOA aims to overcome common challenges in
optimization, such as premature convergence, poor diversity retention, and inefficient local search. The following
section presents the formal mathematical framework of GOA, detailing how these biological principles are mapped into
a computational model.
Let 𝑁 be the number of goats in the population, and let each goat 𝑋𝑖 be represented as a 𝑑-dimensional vector in the
search space:
Where 𝑖 = 1, 2, . . ., 𝑁, and 𝑑 d is the number of decision variables (dimensions). The initial population of goats is
randomly generated within the given lower and upper bounds 𝐿𝐵 and 𝑈𝐵 of the search space:
Where rand (𝑑) generates a 𝑑-dimensional vector of random values in the range [0,1].
74 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
Each goat explores the search space in this phase by randomly moving in different directions, inspired by its foraging
behavior. The new position of each goat is updated using:
Where:
• 𝑋𝑖𝑡 is the position of goat 𝑖 at iteration 𝑡
• α is the exploration coefficient, controlling the intensity of random movements.
• 𝑅 is a random variable drawn from a Gaussian distribution 𝑁 (0,1), ensuring randomness in movement.
• (𝑈𝐵 − 𝐿𝐵) Scales the movement according to the size of the search space.
This equation ensures that goats randomly explore different regions before committing to a specific grazing spot.
To refine solutions, goats gradually move toward the best solution so far, mimicking the tendency of goats to migrate
toward optimal grazing areas. The exploitation phase is defined as:
Where:
• 𝑋𝑏𝑒𝑠𝑡
𝑡
is the best-performing goat at iteration 𝑡.
• 𝛽 is the exploitation coefficient, regulating movement strength toward the best solution.
This equation ensures that goats converge toward promising solutions while maintaining diversity.
A key feature of GOA is its ability to escape local optima using sudden jumps, inspired by the unique movement
abilities of goats in rough terrains. This is mathematically modeled as follows:
𝑋𝑖𝑡+1 = 𝑋𝑖𝑡 + 𝐽. (𝑋𝑟𝑡 − 𝑋𝑖𝑡 ) (5)
75 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
Where:
• 𝐽 is the jump coefficient, determining the probability and magnitude of jumps.
• 𝑋𝑟𝑡 is a randomly selected goat from the population.
By incorporating jumps, GOA prevents premature convergence and enhances global search capability.
To maintain solution quality, goats instinctively avoid parasite-infected areas. In GOA, this mechanism is simulated by
eliminating poorly performing solutions and regenerating new ones:
If the fitness of 𝑋𝑖𝑡 is in the lowest 20% of the population, its position is reset using:
(6)
𝑋𝑖𝑡+1 = 𝐿𝐵 + (𝑈𝐵 − 𝐿𝐵). 𝑟𝑎𝑛𝑑(𝑑)
This step enhances diversity and robustness, preventing stagnation in poor local optima.
𝑡+1 𝑡
|𝑓(𝑋𝑏𝑒𝑠𝑡 ) − 𝑓(𝑋𝑏𝑒𝑠𝑡 )| < 𝜖 (7)
Output:
The computational complexity of GOA is primarily determined by fitness function evaluations and goat movement
updates. Given that each iteration evaluates 𝑁 solutions, and assuming 𝑇𝑚𝑎𝑥 iterations, the overall complexity is:
Which is comparable to other swarm-based algorithms like PSO and GWO. However, including jump strategy and
parasite avoidance may increase efficiency by preventing unnecessary local search stagnation.
The proposed mathematical model effectively captures the intelligent behaviors of goats, including adaptive foraging,
strategic movement, and robustness against stagnation. The following section evaluates GOA’s performance on standard
benchmark functions and compares it with other leading optimization algorithms.
To assess the effectiveness of GOA, we use a set of standard benchmark functions categorized into unimodal,
multimodal, and composite test functions. Optimization research commonly employs these functions to evaluate an
algorithm’s capability to handle different landscapes, including smooth surfaces, multiple local optima, and highly
complex search spaces.
4.1.1. Unimodal Functions (Convex, Single Global Optimum)
These functions evaluate GOA’s ability to converge to the optimal solution efficiently. Since unimodal functions
contain only one global minimum, an algorithm's performance on these functions reflects its exploitation capability.
Table 2: Unimodal Functions
Function Mathematical Definition Search Range Optimal Value
𝑑
Sphere 𝑓₁(𝑥) = ∑ 𝑥ᵢ² [−100, 100] 𝑓₁(0) = 0
𝑖=1
Schwefel 2.22 𝑓₂(𝑥) = ∑ |𝑥ᵢ| + ∏ |𝑥ᵢ| [−10, 10] 𝑓₂(0) = 0
𝑑−1
Rosenbrock 𝑓₃(𝑥) = ∑ [100(𝑥𝑖+1 − 𝑥𝑖2 )2 + (1 − 𝑥𝑖 )2 ] [−30, 30] 𝑓₃(1, . . . , 1) = 0
𝑖=1
Multimodal functions test GOA’s ability to escape local optima and maintain a balance between exploration and
exploitation.
Table 3: Multimodal functions test
77 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
These functions ensure that GOA is tested in diverse and challenging landscapes.
The experimental settings used for all optimization runs are as follows:
• Number of goats (population size, 𝑁): 30
• Number of iterations (𝑇𝑚𝑎𝑥 ): 500
• Problem dimension (𝑑): 30
• Exploration coefficient (𝛼): 0.05
• Exploitation coefficient (𝛽): 0.5
• Jump probability (𝐽): 0.1
• Runs per function: 30 independent runs
• Performance metrics: best fitness value, mean fitness, standard deviation, and convergence rate.
Key Observations:
• GOA consistently outperforms other algorithms across all test functions, achieving the lowest function values.
• On unimodal functions (e.g., Sphere, Rosenbrock), GOA demonstrates superior convergence accuracy, indicating
its strong exploitation ability.
• On multimodal functions (e.g., Rastrigin, Ackley), GOA effectively avoids local optima, outperforming
algorithms prone to premature convergence.
Figure 1 shows the average best function value over iterations for GOA, PSO, GWO, GA, and ABC on the Sphere,
Rastrigin, and Ackley functions to analyze convergence behavior.
• The jump strategy (Section 3.4) helps GOA escape local optima, leading to improved convergence on multimodal
functions.
• GWO and GA show slower convergence rates, often requiring more iterations to reach near-optimal solutions.
To confirm whether the performance differences between GOA and other algorithms are statistically significant, a
Wilcoxon rank-sum test is conducted at a significance level of 0.05.
Table 5: Wilcoxon Rank-Sum Test Results (p-values)
Function GOA vs. PSO GOA vs. GWO GOA vs. GA GOA vs. ABC
Statistical Findings:
• Since all p-values are below 0.05, GOA’s performance is statistically superior to all competing algorithms.
• The highest significance is observed in Ackley and Rastrigin functions, where local optima pose challenges for
other methods.
6. Conclusion
In this study, the Goat Optimization Algorithm (GOA) was introduced as a novel bio-inspired metaheuristic
optimization technique, drawing inspiration from the adaptive foraging, strategic movement, and parasite avoidance
behaviors of goats. The algorithm was designed to balance exploration and exploitation effectively, overcoming challenges
commonly observed in conventional optimization techniques, such as premature convergence and stagnation in local
optima. Through a series of mathematical formulations, GOA incorporated three primary search mechanisms: an adaptive
foraging strategy for global search, a movement strategy towards the best solution for local refinement, and a jump
mechanism to enhance escape from local optima. Additionally, including a solution filtering mechanism inspired by the
natural parasite avoidance behavior of goats ensured that the population maintained diversity and robustness throughout
the search process.
To validate the performance of GOA, extensive experimental evaluations were conducted using standard benchmark
functions, encompassing both unimodal and multimodal landscapes. The comparative analysis demonstrated that GOA
outperformed well-established algorithms, including Particle Swarm Optimization (PSO), Grey Wolf Optimizer (GWO),
Genetic Algorithm (GA), Whale Optimization Algorithm (WOA), and Artificial Bee Colony (ABC). The superiority of
GOA was evident in its ability to achieve better global optima, faster convergence rates, and enhanced solution stability.
Furthermore, statistical significance testing using the Wilcoxon rank-sum test confirmed the reliability of GOA’s
performance across multiple optimization tasks. The convergence analysis indicated that GOA maintained a substantial
trade-off between exploration and exploitation, ensuring a more efficient search trajectory than its counterparts.
Despite its advantages, GOA has certain limitations that warrant further investigation. The computational complexity
associated with solution filtering and adaptive movements can be refined to improve efficiency, particularly in high-
dimensional problems. Future research can explore hybridizing GOA with other metaheuristic techniques to enhance
adaptability and robustness. Moreover, adaptive parameter tuning mechanisms can be incorporated further to improve
performance across a broader range of optimization problems. Given its strong performance on benchmark functions,
GOA holds significant potential for real-world applications in bioinformatics, supply chain optimization, and energy
management. By integrating biologically inspired intelligence with computational optimization, GOA represents a
promising step forward in evolving heuristic search algorithms. Smart marketing can create an advantage by presenting
more for it [10]. This may be a follow-up to the current research.
80 Nozari et al./ Applied Innovations in Industrial Management 5-1 (2025) 70–80
References
[1] Kennedy, J., & Eberhart, R. (1995, November). Particle swarm optimization. In Proceedings of ICNN'95 - International
Conference on Neural Networks (Vol. 4, pp. 1942–1948). IEEE. DOI: 10.1109/ICNN.1995.488968
[2] Holland, J. H. (1991). Adaptation in natural and artificial systems, 1975.
[3] Mirjalili, S., Mirjalili, S. M., & Lewis, A. (2014). Grey wolf optimizer. Advances in Engineering Software, 69, 46–61.
DOI: 10.1016/j.advengsoft.2013.12.007
[4] Karaboga, D. (2005). An idea based on honey bee swarm for numerical optimization (Vol. 200, pp. 1–10). Technical
Report-TR06, Erciyes University, Engineering Faculty, Computer Engineering Department. DOI:
10.13140/RG.2.1.2349.2964
[5] Lu, C. D. (1988). Grazing behavior and diet selection of goats. Small Ruminant Research, 1(3), 205–216. DOI:
10.1016/0921-4488(88)90003-4
[6] Silanikove, N. (2000). The physiological basis of adaptation in goats to harsh environments. Small Ruminant Research,
35(3), 181–193. DOI: 10.1016/S0921-4488(99)00096-6
[7] Hutchings, M. R., Judge, J., Gordon, I. J., Athanasiadou, S., & Kyriazakis, I. (2006). Use of trade‐off theory to advance
understanding of herbivore–parasite interactions. Mammal Review, 36(1), 1–16. DOI: 10.1111/j.1365-
2907.2006.00079.x
[8] Mirjalili, S., & Lewis, A. (2016). The whale optimization algorithm. Advances in Engineering Software, 95, 51–67.
DOI: 10.1016/j.advengsoft.2016.01.008
[9] Nozari, H., & Abdi, H. (2024). Greedy Man Optimization Algorithm (GMOA): A novel approach to problem solving
with resistant parasites. Journal of Industrial and Systems Engineering, 16(3), 106–117.
[10] Movahed, A.B., & Movahed, A.B., (2024). Smart data-driven marketing in Industry 5.0.International Scientific
Hub, pp36-50