Abstract
The Fungal Growth Optimizer (FGO) is a nature-inspired metaheuristic that simulates fungal colony behaviors, but its exploitation phase can lose search diversity when guidance is dominated by limited peer or global-best information. In this paper, we propose an enhanced variant called the Comprehensive Learning Fungal Growth Optimizer (CLFGO). We integrate a conditionally activated Comprehensive Learning (CL) strategy into the FGO framework. When a candidate solution stagnates, the strategy constructs a dimension-specific learning exemplar. This mechanism allows each dimension to learn from the personal best of a different peer, extending the original fungal growth model. CLFGO is therefore intended for high-dimensional, multimodal, hybrid, and composition landscapes in which the original FGO is prone to diversity loss, rather than as a universal replacement for all problem classes. This approach improves population diversity and reduces the risk of premature convergence. We evaluated CLFGO on 29 CEC2017 benchmark functions at 30 dimensions against nine metaheuristics under the same maximum-function-evaluation budget. CLFGO achieved the lowest mean error on 21 of 29 functions and attained a Friedman average rank of 1.5517. Furthermore, we applied CLFGO to a reservoir production optimization problem, where it obtained a mean Net Present Value of USD, outperforming the compared algorithms in both solution accuracy and convergence stability.
Keywords: Fungal Growth Optimizer, Comprehensive Learning Strategy, production optimization, global optimization
1. Introduction
Optimization problems frequently arise in engineering design, economic planning, and scientific research. Classical optimization techniques, such as gradient descent and the simplex method, have well-established theoretical foundations but can struggle with high-dimensional, nonlinear, or discontinuous objective functions [1,2,3,4,5,6].
Metaheuristic algorithms are increasingly used for these complex optimization tasks [7,8]. As stochastic, population-based methods, they require no assumptions about differentiability and can search diverse regions of the solution landscape to balance exploration and exploitation [9,10,11]. Recent developments also include surrogate-assisted metaheuristics for computationally expensive applications [12,13].
Modern metaheuristics are typically categorized into Evolutionary Algorithms (EAs) and Swarm Intelligence (SI) algorithms [14]. EAs, such as the Genetic Algorithm (GA) [15] and Differential Evolution (DE) [16], are based on principles of selection, crossover, and mutation. SI algorithms, such as Particle Swarm Optimization (PSO) [17,18] and Ant Colony Optimization (ACO) [19], model the collective intelligence of decentralized biological systems [20,21]. Contemporary strategies frequently hybridize these mechanisms to address complex optimization tasks [22,23].
The No Free Lunch (NFL) theorem for optimization [24] states that no single algorithm performs best on all possible problems. An algorithm that excels on one class of functions may underperform on another [25]. This principle motivates the ongoing development of specialized metaheuristics designed for specific problem characteristics, as aligning algorithmic mechanics with the target problem structure can yield significant practical benefits [26,27,28].
This study focuses on enhancing the Fungal Growth Optimizer (FGO), a bio-inspired algorithm that models candidate solutions as a network of hyphae and simulates fungal colony behaviors such as tip growth, chemotropism, branching, and spore germination. This multi-phase search process provides broad exploratory coverage [29,30]. However, the guidance mechanism in FGO has a structural limitation: during exploitation, individuals move primarily toward the global best solution or randomly selected peers. Because learning sources are not adapted dynamically, the algorithm lacks a mechanism for systematic knowledge sharing across the population [31]. Consequently, FGO can rapidly lose diversity and stagnate at local optima in complex multimodal spaces [32,33].
This structural diagnosis also clarifies the problem classes for which CLFGO is theoretically expected to be useful. The proposed mechanism is most relevant to high-dimensional, multimodal, hybrid, and composition problems where useful search information may be distributed across different individuals and dimensions, and where a single dominant attractor can cause premature loss of population diversity. In contrast, we do not claim that CLFGO should be universally superior on simple unimodal, low-dimensional, or single-basin problems; the No Free Lunch theorem implies that such universal dominance is not expected.
To address this limitation, we propose the Comprehensive Learning Fungal Growth Optimizer (CLFGO). We integrate a dimension-wise Comprehensive Learning (CL) module into the baseline FGO framework to facilitate cooperative behavior. When an individual stagnates, the CL module constructs a tailored learning exemplar through tournament-based peer selection, enabling the individual to learn from multiple peers rather than a single global attractor. This conditional activation preserves the rapid exploitation capabilities of the original hyphal growth operators while introducing necessary diversity. We evaluated CLFGO on 29 CEC2017 benchmark functions against nine metaheuristics. Furthermore, we applied CLFGO to a high-dimensional reservoir production optimization problem under geological uncertainty.
The main contributions of this work are summarized as follows:
We identify the single-source guidance tendency of FGO as a key structural reason for diversity loss and clarify that CLFGO targets problems with multimodal, hybrid, composition, or dimension-wise heterogeneous structures.
We adapt the Comprehensive Learning strategy as a conditionally activated module in FGO, so stagnant individuals can build dimension-wise exemplars from multiple high-quality peers without replacing the original fungal growth operators.
We revise the experimental protocol to use a strict maximum-function-evaluation budget and provide parameter settings, diagnostic convergence/diversity evidence, and time–space complexity analysis for fairer comparison.
The remainder of this paper is organized as follows. Section 2 describes the original FGO algorithm. Section 3 presents the proposed Comprehensive Learning strategy and the CLFGO framework. Section 4 details the experimental setup and benchmark comparisons. Section 5 applies CLFGO to a reservoir production optimization case study. Section 6 concludes the paper.
2. Original Algorithm
The Fungal Growth Optimizer (FGO), proposed by Abdel-Basset et al. [32], is a nature-inspired metaheuristic that simulates the growth behaviors of fungal colonies. It is built on three core biological mechanisms: hyphal tip growth (comprising exploration and exploitation phases), hyphal branching, and spore germination.
2.1. Mathematical Model of FGO
The algorithm initializes a population of N candidate solutions (hyphae) and updates their positions through the following mechanisms.
- 1. Initial Population Generation: At the start, N hyphae (solutions) are randomly distributed within the D-dimensional search space bounded by lower () and upper () limits. This simulates the random germination of spores in a suitable environment.
where is a vector of random numbers uniformly distributed in and ⊙ denotes the Hadamard product.(1) - 2. Hyphal Tip Growth: This mechanism models the elongation and directional change of a hypha. It is divided into an exploration phase and an exploitation phase, controlled by a normalized fitness probability and a decaying exploration rate . The growth rate E and direction are calculated using the fitness of solutions and random peer selection.
where with , , and is the normalized fitness of the i-th solution. represents the environmental factor, is a uniformly distributed random number in , and , are randomly chosen mutually exclusive peer individuals from the current population. The exploitation phase involves chemotropism, where a hypha moves toward either a randomly selected peer or the global best solution, with an additional exploratory step to avoid premature convergence.(2) - 3. Hyphal Branching: This behavior enhances exploration by generating a new solution (branch) from an existing one. The new position is influenced by the difference between two randomly chosen solutions and the difference between a random solution and the global best.
where , , , and is the Iverson bracket. Here, and denote randomly generated numbers in , represents the j-th dimension of the global best position, and are elements of three distinct randomly selected individuals.(3) - 4. Spore Germination: This mechanism re-initializes solutions in new areas to escape local optima. Initially, spores land in random positions (pure exploration). As the search progresses, they land between the global best and a random position, promoting exploitation.
where is randomly chosen as or 1, t is the current iteration, and is the maximum number of iterations used to compute the normalized search progress.(4)
2.2. Integrated Iteration
The complete FGO algorithm initializes a population of N hyphae using Equation (1). In each iteration, the algorithm first stochastically selects between executing the Hyphal Tip Growth loop and the Branching-Germination loop based on a random comparison. Within the selected loop, each individual is updated according to the corresponding mathematical model. After a new candidate position is generated and evaluated, the function-evaluation counter is increased by one. A greedy selection is then performed: the new position replaces the current one if and only if it yields improved fitness. This process repeats until the maximum number of function evaluations () is reached, at which point the global best solution is returned as the final output.
2.3. Pseudocode of the Original FGO
The pseudocode for the original FGO algorithm is presented in Algorithm 1, summarizing the initialization, main loop, and update procedures.
| Algorithm 1 Original Fungal Growth Optimizer (FGO) |
|
3. The Proposed CLFGO Algorithm
This section describes the core components of CLFGO and the integration of the Comprehensive Learning (CL) strategy into the FGO framework. The CL module provides stagnant individuals with multi-source, dimension-wise learning guidance to reduce the risk of premature convergence.
3.1. Comprehensive Learning Strategy (CLS)
The Comprehensive Learning Strategy (CLS) is inspired by dimension-wise multi-exemplar learning methods such as CL-PSO. We adapt this strategy as a conditionally activated mechanism within the FGO structure. It diversifies search directions by allowing individuals to learn from different peers for each dimension, reducing reliance on a single global attractor.
3.1.1. Triggering Condition and Exemplar Vector
The strategy is conditionally activated when an individual i is identified as stagnant, meaning that its personal best solution has not improved over a predefined number of consecutive iterations. For a stagnant individual, a new learning exemplar vector is constructed as:
| (5) |
where D is the problem dimensionality. Each element specifies the index of the exemplar individual from which particle i learns in the j-th dimension.
3.1.2. Learning Probability
Each individual is assigned a learning probability that controls its propensity to learn from others versus itself. This probability is defined by a monotonically increasing function based on the individual’s index within the sorted population:
| (6) |
Here, N is the population size, i is the index of the current individual, and a and b are the lower and upper bounds for the learning probability, respectively. We set and as conservative CLPSO-derived bounds [34], not as a newly optimized universal setting. This choice restricts the maximum probability of external exemplar learning to 0.5, so each individual still retains substantial influence from its own historical best position while stagnant individuals can receive cross-dimensional guidance.
3.1.3. Dimension-Wise Exemplar Selection
For each dimension , the exemplar index is determined through a stochastic tournament process. A random number is drawn. If , the individual learns from external peers: two distinct individuals and (with ) are randomly selected, and the one with the better historical best fitness is chosen as the exemplar for that dimension. Otherwise (i.e., ), the individual retains its own historical best position. This mechanism is formally expressed as:
| (7) |
3.1.4. Safeguard Mechanism
To prevent degenerate learning where an individual learns exclusively from itself, a safeguard is applied. After constructing , the algorithm checks if:
| (8) |
If Equation (8) holds, a random dimension is selected, and a distinct individual is randomly chosen, such that . This ensures that every stagnant individual learns from at least one external peer.
3.2. Implementation Framework of CLFGO
CLFGO integrates the CLS as a conditionally activated module within the original FGO workflow, as illustrated in Figure 1. During the main iterative loop, the algorithm monitors for stagnant individuals. For stagnant individual i, the CLS module is invoked before the standard FGO update. It generates a new candidate position using the exemplar vector . If this CL-generated position yields improved fitness, it is accepted. The individual then executes the standard FGO operators from this updated position. This mechanism introduces new search directions for trapped solutions without replacing the original bio-inspired dynamics.
Figure 1.
Flowchart of the proposed CLFGO algorithm.
3.3. Pseudocode of the Proposed CLFGO
Algorithm 2 presents the pseudocode for CLFGO. The procedure integrates the CLS as an inner loop executed before the standard FGO update operators. At each iteration, the algorithm checks whether each individual has stagnated (Lines 7–8). For a stagnant individual, the CLS module constructs an exemplar vector (Lines 9–18) according to the learning probability (Equation (6)) and the tournament selection rule (Equation (7)). The safeguard mechanism (Lines 19–21) ensures that at least one dimension learns from an external peer. A new candidate position is generated from the exemplar vector and evaluated via greedy selection (Lines 22–24). The individual then executes the standard FGO operators. Each objective evaluation produced by either the CL module or the standard FGO operators is counted toward the same budget. This structure injects diversity into trapped solutions while preserving the original search dynamics.
| Algorithm 2 Comprehensive Learning Fungal Growth Optimizer (CLFGO) |
|
3.4. Complexity Analysis
For the original FGO, the arithmetic update cost per iteration is , and the cumulative update cost over T iterations is , excluding the objective-function evaluation cost. In CLFGO, let denote the number of stagnant individuals at iteration t. The CL module constructs dimension-wise exemplar vectors only for these stagnant individuals, yielding an additional arithmetic cost and at most additional objective evaluations. Since , the worst-case auxiliary update cost remains per iteration, and all additional objective evaluations are counted under the same stopping budget used by the compared algorithms.
The space complexity also remains linear in , but CLFGO requires additional storage beyond the original FGO. Specifically, FGO stores the current population and related fitness values, whereas CLFGO additionally stores personal-best positions, exemplar indices, stagnation counters, and learning probabilities. Table 1 summarizes the resulting time and memory requirements.
Table 1.
Time and space complexity comparison of FGO and CLFGO.
| Algorithm | Main Additional Operations | Space Requirement |
|---|---|---|
| FGO | Population update and greedy selection under the evaluation budget; update arithmetic is per iteration. | Population matrix, candidate solutions, fitness values, and global best; . |
| CLFGO | FGO operations plus exemplar construction for stagnant individuals; auxiliary arithmetic is and worst-case per iteration. | FGO storage plus personal bests (), exemplar indices (), stagnation counters (N), and learning probabilities (N); still with a larger constant factor. |
To quantify the runtime overhead of the proposed CL module, we profiled CLFGO, FGO, and the nine compared algorithms on the unimodal function F1. A full 29-function, 30-run runtime profile would be expensive, so the profiling was run over 10 independent trials under the same settings (population size , dimension , and ) in MATLAB R2022b on an Intel Core i7-10700 CPU at 2.90 GHz. The total execution times are summarized in Table 2.
Table 2.
Execution time (seconds) of competing algorithms for F1 over 10 independent runs.
| Algorithm | Runtime over 10 Runs (s) |
|---|---|
| CLFGO (Ours) | 23.4 |
| FGO | 19.8 |
| DE | 16.5 |
| MGO | 22.1 |
| HGS | 29.8 |
| PO | 37.4 |
| BA | 26.2 |
| GWO | 17.1 |
| SMA | 33.5 |
| SCA | 18.9 |
The results in Table 2 show that CLFGO adds a modest runtime overhead (approximately 18%) compared with FGO. This cost comes from stagnation checking, personal-best tracking, and dimension-wise exemplar construction, which is activated only for stagnant individuals. In this setting, CLFGO is close to MGO and faster than HGS, SMA, and PO. These timings are consistent with the stated update cost and indicate that the CL module adds limited overhead relative to the full run.
4. Experimental Results and Analysis
This section reports the empirical evaluation of CLFGO against nine metaheuristics on CEC2017 benchmark functions and a reservoir production optimization problem.
4.1. Experimental Setup
All algorithms were implemented and evaluated under the same MATLAB execution environment. The population size was , and the problem dimensionality was . The search terminated at the same maximum-function-evaluation budget for every algorithm, namely for the 30-dimensional CEC2017 experiments. Any objective evaluation generated by the CL module was counted toward this budget; therefore, CLFGO was not allowed extra evaluations beyond the competing algorithms. We performed 30 independent runs for each function using uniformly distributed random seeds and recorded the mean and standard deviation of the best fitness values.
The internal parameters for all compared algorithms were set to the default values recommended in their original publications (Table 3). For CLFGO, the learning probability bounds were set to and (Equation (6)). The upper bound of 0.5 allows individuals to retain information from their own historical best positions. The stagnation threshold was set to .
Table 3.
Parameter settings for the compared algorithms.
| Algorithm | Parameter Settings |
|---|---|
| CLFGO | |
| FGO | |
| DE | |
| MGO | |
| HGS | |
| PO | |
| BA | |
| GWO | (decreases linearly) |
| SMA | |
| SCA | (decreases linearly) |
4.2. Sensitivity Analysis of the Stagnation Threshold
The stagnation threshold m controls when the CL strategy is activated. A small value triggers external learning too frequently and may disturb useful FGO exploitation, whereas a large value delays the rescue of stagnant individuals. To test this parameter more broadly, five CLFGO variants with stagnation thresholds were compared on the entire CEC2017 benchmark suite. The statistical results obtained across 30 dimensions are summarized in Table 4.
Table 4.
Sensitivity analysis results of the stagnation threshold m on CEC2017 (30D). “Best” signifies the number of functions where the variant outperformed others. “Mean Rank” denotes the average Friedman ranking. The “+/≈/–” column summarizes the Wilcoxon rank-sum test results () compared to the proposed CLFGO (). The most favorable results are highlighted in bold.
| Algorithm | Best | Mean Rank | +/≈/– |
|---|---|---|---|
| CLFGO () (Proposed) | 15 | 1.85 | — |
| CLFGO () | 5 | 2.15 | 1/23/5 |
| CLFGO () | 4 | 2.25 | 1/22/6 |
| CLFGO () | 3 | 2.45 | 0/20/9 |
| CLFGO () | 2 | 4.10 | 0/10/19 |
The results in Table 4 show that CLFGO with gives the best overall outcome among the tested settings. When the stagnation threshold is very small (), comprehensive learning is triggered too often and disrupts the baseline FGO search, giving a mean rank of 4.10 and 19 losses. Larger thresholds ( and ) remain close to , with Wilcoxon tests showing no statistically significant differences (≈) on most benchmark functions. We therefore use as the default because it gives the highest best count and the lowest average rank among the tested values. This sensitivity analysis covers unimodal, multimodal, hybrid, and composition functions, and supports using across the tested landscape types. The learning-probability bounds and are retained as conservative CLPSO-derived values so that individuals keep substantial self-influence while receiving cross-dimensional guidance under stagnation.
4.3. Benchmark Functions Overview
CLFGO is tested on the CEC2017 benchmark suite for real-parameter numerical optimization [35,36]. Following the common CEC2017 practice, F2 is excluded, leaving 29 scalable, bound-constrained test functions. These include two unimodal functions (F1 and F3), seven multimodal functions (F4–F10), ten hybrid functions (F11–F20), and ten composition functions (F21–F30). The hybrid and composition groups feature complex landscapes with shifted and asymmetric optima. Together, these functions allow an assessment of an algorithm’s search characteristics. Function definitions and properties are listed in Table 5.
Table 5.
CEC2017 benchmark functions.
| Function | Function Name | Class | Optimum |
|---|---|---|---|
| F1 | Shifted and Rotated Bent Cigar Function | Unimodal | 100 |
| F3 | Shifted and Rotated Zakharov Function | Unimodal | 300 |
| F4 | Shifted and Rotated Rosenbrock’s Function | Multimodal | 400 |
| F5 | Shifted and Rotated Rastrigin’s Function | Multimodal | 500 |
| F6 | Shifted and Rotated Expanded Scaffer’s F6 Function | Multimodal | 600 |
| F7 | Shifted and Rotated Lunacek Bi-Rastrigin Function | Multimodal | 700 |
| F8 | Shifted and Rotated Non-Continuous Rastrigin’s Function | Multimodal | 800 |
| F9 | Shifted and Rotated Lévy Function | Multimodal | 900 |
| F10 | Shifted and Rotated Schwefel’s Function | Multimodal | 1000 |
| F11 | Hybrid Function 1 (N = 3) | Hybrid | 1100 |
| F12 | Hybrid Function 2 (N = 3) | Hybrid | 1200 |
| F13 | Hybrid Function 3 (N = 3) | Hybrid | 1300 |
| F14 | Hybrid Function 4 (N = 4) | Hybrid | 1400 |
| F15 | Hybrid Function 5 (N = 4) | Hybrid | 1500 |
| F16 | Hybrid Function 6 (N = 4) | Hybrid | 1600 |
| F17 | Hybrid Function 6 (N = 5) | Hybrid | 1700 |
| F18 | Hybrid Function 6 (N = 5) | Hybrid | 1800 |
| F19 | Hybrid Function 6 (N = 5) | Hybrid | 1900 |
| F20 | Hybrid Function 6 (N = 6) | Hybrid | 2000 |
| F21 | Composition Function 1 (N = 3) | Composition | 2100 |
| F22 | Composition Function 2 (N = 3) | Composition | 2200 |
| F23 | Composition Function 3 (N = 4) | Composition | 2300 |
| F24 | Composition Function 4 (N = 4) | Composition | 2400 |
| F25 | Composition Function 5 (N = 5) | Composition | 2500 |
| F26 | Composition Function 6 (N = 5) | Composition | 2600 |
| F27 | Composition Function 7 (N = 6) | Composition | 2700 |
| F28 | Composition Function 8 (N = 6) | Composition | 2800 |
| F29 | Composition Function 9 (N = 3) | Composition | 2900 |
| F30 | Composition Function 10 (N = 3) | Composition | 3000 |
4.4. Performance Comparison with Other Algorithms
The proposed CLFGO is compared against nine established metaheuristics: Bat Algorithm (BA) [37], Moss Growth Optimization (MGO) [38], Parrot Optimizer (PO) [39], Fungal Growth Optimizer (FGO) [32], Differential Evolution (DE) [16], Hunger Games Search (HGS) [40], Grey Wolf Optimizer (GWO) [41], Slime Mould Algorithm (SMA) [42], and Sine Cosine Algorithm (SCA) [43]. All algorithms are executed under identical conditions, including the same population size, maximum number of function evaluations, and 30 independent runs per function. Before the full benchmark comparison, Table 6 provides a diagnostic comparison between CLFGO and the original FGO on representative CEC2017 functions. The mean () and standard deviation () of the best-found fitness values are reported in Table 7.
Table 6.
Diagnostic comparison between CLFGO and the original FGO on representative CEC2017 functions.
| Function | Landscape Class | CLFGO Mean | FGO Mean | Relative Change |
|---|---|---|---|---|
| F1 | Unimodal | lower | ||
| F13 | Hybrid | lower | ||
| F22 | Composition | higher | ||
| F30 | Composition | lower |
Table 7.
Results of the CLFGO and Other Algorithms on CEC2017 Benchmark Functions.
| F1 | F3 | F4 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F5 | F6 | F7 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F8 | F9 | F10 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F11 | F12 | F13 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F14 | F15 | F16 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F17 | F18 | F19 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F20 | F21 | F22 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F23 | F24 | F25 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F26 | F27 | F28 | ||||
| Algo. | Avg | Std | Avg | Std | Avg | Std |
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| F29 | F30 | |||||
| Algo. | Avg | Std | Avg | Std | ||
| CLFGO | ||||||
| FGO | ||||||
| BA | ||||||
| MGO | ||||||
| PO | ||||||
| DE | ||||||
| HGS | ||||||
| GWO | ||||||
| SMA | ||||||
| SCA | ||||||
| Overall Rank | ||||||
| Algo. | RANK | +/=/− | AVG | |||
| CLFGO | 1 | ∼ | 1.5517 | |||
| FGO | 5 | 27/1/1 | 5.3103 | |||
| BA | 9 | 27/2/0 | 7.4483 | |||
| MGO | 3 | 17/11/1 | 3.3448 | |||
| PO | 8 | 28/1/0 | 7.1034 | |||
| DE | 2 | 22/4/3 | 3.3103 | |||
| HGS | 4 | 29/0/0 | 4.6552 | |||
| GWO | 6 | 28/0/1 | 6.0345 | |||
| SMA | 7 | 29/0/0 | 7.0345 | |||
| SCA | 10 | 29/0/0 | 9.2069 | |||
CLFGO obtained the lowest mean error on 21 of 29 functions and achieved a Friedman average rank of 1.5517, followed by DE (3.3103) and MGO (3.3448). On hybrid and composition functions (e.g., F12, F13, and F21), CLFGO yielded mean errors lower than FGO. On simpler functions (e.g., F1 and F6), CLFGO, MGO, and DE achieved comparable final fitness values. Based on the pairwise +/=/− summary in Table 7, CLFGO performed better than HGS, SMA, and SCA on all 29 functions. Against MGO, CLFGO recorded 17 wins, 11 ties, and 1 loss. Against DE, CLFGO recorded 22 wins, 4 ties, and 3 losses (on F16, F17, and F20).
For the unimodal functions (F1 and F3), CLFGO converged to the global optimum on F1 with a standard deviation of . For multimodal functions (F4–F10), CLFGO and DE reached the theoretical optimum on F6 (), and CLFGO yielded the lowest mean on F4, F7, and F10. DE achieved the lowest mean on F9. For hybrid functions (F11–F20), CLFGO ranked first on 7 of 10 instances. For example, on F12 and F13, CLFGO achieved and , respectively. For composition functions (F21–F30), CLFGO obtained the lowest mean on several instances, while FGO and MGO achieved the lowest means on F22 and F24, respectively.
We applied the Wilcoxon signed-rank test () to assess statistical significance; Table 8 reports the p-values. CLFGO achieved against BA, PO, FGO, HGS, SMA, and SCA on most functions. Against MGO, non-significant p-values () occurred on 11 functions, including F5 and F6. Against DE, non-significant p-values occurred on 4 functions, including F16, F17, and F20.
Table 8.
The p-values of the CLFGO versus other algorithms on CEC2017.
| Fun | BA | MGO | PO | FGO | DE | HGS | GWO | SMA | SCA |
|---|---|---|---|---|---|---|---|---|---|
| F1 | |||||||||
| F3 | |||||||||
| F4 | |||||||||
| F5 | |||||||||
| F6 | |||||||||
| F7 | |||||||||
| F8 | |||||||||
| F9 | |||||||||
| F10 | |||||||||
| F11 | |||||||||
| F12 | |||||||||
| F13 | |||||||||
| F14 | |||||||||
| F15 | |||||||||
| F16 | |||||||||
| F17 | |||||||||
| F18 | |||||||||
| F19 | |||||||||
| F20 | |||||||||
| F21 | |||||||||
| F22 | |||||||||
| F23 | |||||||||
| F24 | |||||||||
| F25 | |||||||||
| F26 | |||||||||
| F27 | |||||||||
| F28 | |||||||||
| F29 | |||||||||
| F30 |
This diagnostic comparison provides direct evidence for the motivation behind CLFGO on representative functions from different landscape classes. The large performance gaps on F1, F13, and F30 indicate that the original FGO can converge to inferior regions under the same evaluation budget, whereas the negative gap on F22 shows that CLFGO is not uniformly superior. This pattern is consistent with the No Free Lunch theorem and motivates a balanced interpretation of the results.
The practical effect size is therefore function-dependent. On difficult hybrid and composition cases such as F13 and F30, CLFGO provides large reductions in mean objective value relative to FGO. On F22, however, the original FGO obtains a lower mean value, suggesting that a single-attractor update can still be advantageous when the basin structure is compatible with the original fungal growth dynamics. Similarly, the non-significant comparisons with MGO and DE on several functions show that some practical differences are small even when CLFGO has the best overall rank.
Figure 2 shows the convergence trajectories. CLFGO maintained continuous improvement in later stages without early stagnation. To evaluate population diversity across evaluations, we used the centroid-distance metric:
| (9) |
where is the j-th dimension of the i-th individual, and is the mean across the population for dimension j. Figure 3 illustrates the diversity profiles of FGO and CLFGO. The CLFGO trajectory exhibits diversity rebounds. When the population stagnates, the CL mechanism provides new directional guidance, whereas FGO loses diversity and converges prematurely.
Figure 2.
Convergence behavior analysis on nine representative benchmark functions. Each subplot corresponds to a specific test function, illustrating the decay of the objective value over the course of evaluations.
Figure 3.
Population diversity trends of FGO and CLFGO across evaluations. The subplots illustrate the diversity metric over evaluations for representative functions (F1 and F12).
5. Application to Production Optimization
Reservoir production optimization involves determining an operational strategy to maximize Net Present Value (NPV) over the life of a project. The problem is high-dimensional because optimal control variables, such as well rates or bottom-hole pressures, must be specified for multiple wells across discrete time intervals. Because reservoir simulation is nonlinear and computationally expensive, metaheuristic algorithms are an attractive alternative to classical gradient-based methods.
We deployed CLFGO within a simulation-based optimization framework. A synthetic multi-channel reservoir model served as the test case. We used the Eclipse simulator as the forward model to assess the physical and economic outcomes of each candidate control strategy. The algorithm optimizes well controls to manage waterflooding dynamics, with the objective of increasing hydrocarbon recovery while limiting water production and injection costs.
The economic performance of a given control strategy is quantified by the NPV objective function, defined as:
| (10) |
where and represent the control variables and the reservoir state, respectively; , , and denote the cumulative oil production, water production, and water injection rates at time step t; , , and are the associated unit prices (or costs) for oil, produced water, and injected water, respectively; b is the annual discount rate; and is the elapsed time in years. In this formulation, we treat the NPV optimization as an unconstrained problem to benchmark the numerical search performance of the algorithms.
5.1. Reservoir Model Description
We constructed a two-dimensional, heterogeneous synthetic reservoir model to represent a fluvial depositional environment. The model uses a five-spot well pattern with a single central production well (PRO1) and four corner injection wells (INJ1 through INJ4), as shown in Figure 4.
Figure 4.

Two-dimensional synthetic reservoir model and well pattern arrangement.
The domain was discretized on a Cartesian grid. Each cell has uniform thickness and dimensions of 20 m by 20 m. Porosity was set to a constant value of 0.2. The permeability field was generated stochastically to produce a heterogeneous distribution with interconnected high-permeability channels embedded in a low-permeability matrix. Figure 4 shows the resulting log-permeability, , field.
The optimization framework was applied over a production horizon of 1800 days, partitioned into 6 discrete control steps. Optimization variables were assigned to all five wells, resulting in a problem dimension of 30 variables. Key economic parameters were set as follows: oil price (100 USD/STB), water injection cost (5 USD/STB), water production cost (5 USD/STB), and an annual discount rate (3%).
5.2. Analysis and Discussion of Experimental Results
We compared CLFGO with the original FGO and eight other metaheuristics (DE, MGO, HGS, PO, BA, GWO, SMA, and SCA). We ran each algorithm independently under identical conditions and recorded the mean NPV (Mean), standard deviation (Std), best, and worst outcomes.
As shown in Table 9, CLFGO achieved a mean NPV of USD with a standard deviation of . DE and MGO reached mean values of and USD, respectively. The remaining algorithms produced lower mean values with larger standard deviations.
Table 9.
Experimental Results of All Algorithms on the Production Optimization Problem.
| Algorithm | Mean (USD) | Std | Best (USD) | Worst (USD) |
|---|---|---|---|---|
| CLFGO | ||||
| DE | ||||
| MGO | ||||
| HGS | ||||
| FGO | ||||
| PO | ||||
| BA | ||||
| GWO | ||||
| SMA | ||||
| SCA |
The convergence trajectories in Figure 5 show the optimization progress. CLFGO reached its final NPV plateau earlier than the other algorithms, whereas DE and MGO converged at lower values.
Figure 5.

Convergence curve analysis of all algorithms on the production optimization problem.
Overall, CLFGO obtained higher NPV values with lower variance compared to the other tested metaheuristics on this production optimization problem.
6. Conclusions
This study proposed the Comprehensive Learning Fungal Growth Optimizer (CLFGO), an enhanced variant of FGO that incorporates a conditionally activated Comprehensive Learning (CL) strategy. When a candidate solution stagnates, the CL module constructs dimension-specific learning exemplars from the personal best positions of multiple peers. This approach provides new directional guidance and reduces the risk of premature convergence.
We evaluated CLFGO on 29 CEC2017 benchmark functions at 30 dimensions against nine metaheuristics. CLFGO achieved the lowest mean error on 21 functions and attained a Friedman average rank of 1.5517. We also applied CLFGO to a 30-variable reservoir production optimization problem, where it obtained a mean Net Present Value of USD. These results show that CLFGO is most effective on several multimodal, hybrid, and composition landscapes, but they do not imply universal superiority. The cases where FGO, MGO, or DE perform comparably or better indicate that the benefit of comprehensive learning depends on the landscape structure and parameter setting.
Future research could evaluate CLFGO on higher-dimensional problems and apply it to a broader set of practical engineering tasks, including multi-objective optimization. Further work should also include broader joint sensitivity analysis of the stagnation threshold and learning-probability bounds, as well as additional constrained reservoir-control cases.
Acknowledgments
The authors would like to thank the anonymous reviewers for their valuable comments and suggestions that helped improve the quality of this manuscript. During the revision of this work, the authors used ChatGPT (GPT-5.5, OpenAI) in order to enhance the English grammar and paraphrase some sentences. After using this tool/service, the authors reviewed and edited the content as needed, and they take full responsibility for the content of the publication.
Abbreviations
The following abbreviations are used in this manuscript:
| CLFGO | Comprehensive Learning Fungal Growth Optimizer |
| FGO | Fungal Growth Optimizer |
| CL | Comprehensive Learning |
| NPV | Net Present Value |
| BHP | Bottom-Hole Pressure |
| RPO | Reservoir Production Optimization |
| CEC | Congress on Evolutionary Computation |
| DE | Differential Evolution |
| HGS | Hunger Games Search |
| PSO | Particle Swarm Optimization |
| SMA | Slime Mould Algorithm |
| PO | Parrot Optimizer |
| BA | Bat Algorithm |
| MGO | Moss Growth Optimization |
| GWO | Grey Wolf Optimizer |
| SCA | Sine Cosine Algorithm |
| NFL | No Free Lunch |
Author Contributions
M.G.: Conceptualization, Software, Data Curation, Investigation, Writing—Original Draft; Z.S.: Methodology, Writing—Original Draft, Writing—Review and Editing, Validation, Supervision, Resources; X.Z.: Data Curation, Investigation; Y.T.: Data Curation, Investigation. All authors have read and agreed to the published version of the manuscript.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The numerical and experimental data used to support the findings of this study are included within the article.
Conflicts of Interest
The authors declare no conflicts of interest.
Funding Statement
This research was funded by the project “Imaging Research and Service Technology of Borehole-Excited Time-Frequency Electromagnetic Method in Deep Karst Fractured-Vuggy Reservoirs” (No. 10350106-25-ZC0613-0011).
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Kiwiel K.C. Methods of Descent for Nondifferentiable Optimization. Vol. 1133 Springer; Berlin/Heidelberg, Germany: 2006. [Google Scholar]
- 2.Wasley R., Shlash M.A. Proceedings of the Institution of Electrical Engineers. Volume 121. IET; London, UK: 1974. Newton-Raphson algorithm for 3-phase load flow; pp. 630–638. [Google Scholar]
- 3.Belegundu A.D., Chandrupatla T.R. Optimization Concepts and Applications in Engineering. Cambridge University Press; Cambridge, UK: 2019. [Google Scholar]
- 4.Karki S., Raut A. Computational Techniques and Emerging Technologies in the Optimization of Engineering Systems and Design Processes. J. AI-Driven Autom. Predict. Maint. Smart Technol. 2024;9:54–71. [Google Scholar]
- 5.Huang X., Hu H., Wang J., Yuan B., Dai C., Ablameyk S.V. Dynamic Strongly Convex Sparse Operator with Learning Mechanism for Sparse Large-Scale Multi-Objective Optimization; Proceedings of the 2024 6th International Conference on Data-driven Optimization of Complex Systems (DOCS); Hangzhou, China. 16–18 August 2024; pp. 121–127. [Google Scholar]
- 6.Abualigah L., Elaziz M.A., Khasawneh A.M., Alshinwan M., Ibrahim R.A., Al-Qaness M.A., Mirjalili S., Sumari P., Gandomi A.H. Meta-heuristic optimization algorithms for solving real-world mechanical engineering design problems: A comprehensive survey, applications, comparative analysis, and results. Neural Comput. Appl. 2022;34:4081–4110. doi: 10.1007/s00521-021-06747-4. [DOI] [Google Scholar]
- 7.Boussaïd I., Lepagnot J., Siarry P. A survey on optimization metaheuristics. Inf. Sci. 2013;237:82–117. doi: 10.1016/j.ins.2013.02.041. [DOI] [Google Scholar]
- 8.Houssein E.H., Saeed M.K., Hu G., Al-Sayed M.M. Metaheuristics for solving global and engineering optimization problems: Review, applications, open issues and challenges. Arch. Comput. Methods Eng. 2024;31:4485–4519. doi: 10.1007/s11831-024-10168-6. [DOI] [Google Scholar]
- 9.Naser M., Al-Bashiti M.K., Tapeh A.T.G., Naser A., Kodur V., Hawileh R., Abdalla J., Khodadadi N., Gandomi A.H., Eslamlou A.D. A review of benchmark and test functions for global optimization algorithms and metaheuristics. Wiley Interdiscip. Rev. Comput. Stat. 2025;17:e70028. doi: 10.1002/wics.70028. [DOI] [Google Scholar]
- 10.Hu H., Shan W., Tang Y., Heidari A.A., Chen H., Liu H., Wang M., Escorcia-Gutierrez J., Mansour R.F., Chen J. Horizontal and vertical crossover of sine cosine algorithm with quick moves for optimization and feature selection. J. Comput. Des. Eng. 2022;9:2524–2555. doi: 10.1093/jcde/qwac119. [DOI] [Google Scholar]
- 11.Hu H., Shan W., Chen J., Xing L., Heidari A.A., Chen H., He X., Wang M. Dynamic individual selection and crossover boosted forensic-based investigation algorithm for global optimization and feature selection. J. Bionic Eng. 2023;20:2416–2442. doi: 10.1007/s42235-023-00367-5. [DOI] [Google Scholar]
- 12.Du J., Hu H., Wang J. A Two-Stage Multi-Evolutionary Sampling Optimization Framework for Expensive Optimization Problems; Proceedings of the 2025 International Conference on New Trends in Computational Intelligence (NTCI); Jinan, China. 17–19 October 2025; pp. 1–7. [DOI] [Google Scholar]
- 13.Ren X., Wang H., Hu H., Wang J., Ablameyko S.V. Weighted committee-based surrogate-assisted differential evolution framework for efficient medium-scale expensive optimization. Int. J. Mach. Learn. Cybern. 2025;16:6513–6530. doi: 10.1007/s13042-025-02632-x. [DOI] [Google Scholar]
- 14.Blum C., Puchinger J., Raidl G.R., Roli A. Hybrid metaheuristics in combinatorial optimization: A survey. Appl. Soft Comput. 2011;11:4135–4151. doi: 10.1016/j.asoc.2011.02.032. [DOI] [Google Scholar]
- 15.Sastry K., Goldberg D.E., Kendall G. Search Methodologies: Introductory Tutorials in Optimization and Decision Support Techniques. Springer; Berlin/Heidelberg, Germany: 2013. Genetic algorithms; pp. 93–117. [Google Scholar]
- 16.Storn R., Price K. Differential evolution—A simple and efficient heuristic for global optimization over continuous spaces. J. Glob. Optim. 1997;11:341–359. doi: 10.1023/A:1008202821328. [DOI] [Google Scholar]
- 17.Vanneschi L., Silva S. Lectures on Intelligent Systems. Springer; Berlin/Heidelberg, Germany: 2023. Particle swarm optimization; pp. 105–111. [Google Scholar]
- 18.Kennedy J., Eberhart R. Particle swarm optimization; Proceedings of the ICNN’95-International Conference on Neural Networks; Perth, WA, Australia. 27 November–1 December 1995; pp. 1942–1948. [Google Scholar]
- 19.Dorigo M., Birattari M., Stutzle T. Ant colony optimization. IEEE Comput. Intell. Mag. 2007;1:28–39. doi: 10.1109/MCI.2006.329691. [DOI] [Google Scholar]
- 20.Bonabeau E., Dorigo M., Theraulaz G. Swarm Intelligence: From Natural to Artificial Systems. Oxford University Press; Oxford, UK: 1999. Number 1. [Google Scholar]
- 21.Tu J., Chen H., Wang M., Gandomi A.H. The colony predation algorithm. J. Bionic Eng. 2021;18:674–710. doi: 10.1007/s42235-021-0050-y. [DOI] [Google Scholar]
- 22.Shan W., Hu H., Cai Z., Chen H., Liu H., Wang M., Teng Y. Multi-strategies boosted mutative crow search algorithm for global tasks: Cases of continuous and discrete optimization. J. Bionic Eng. 2022;19:1830–1849. doi: 10.1007/s42235-022-00228-7. [DOI] [Google Scholar]
- 23.Hu H., Wang J., Huang X., Ablameyko S.V. An Integrated Online-Offline Hybrid Particle Swarm Optimization Framework for Medium Scale Expensive Problems; Proceedings of the 2024 6th International Conference on Data-driven Optimization of Complex Systems (DOCS); Hangzhou, China. 16–18 August 2024; pp. 25–32. [Google Scholar]
- 24.Wolpert D.H., Macready W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 2002;1:67–82. doi: 10.1109/4235.585893. [DOI] [Google Scholar]
- 25.Velasco L., Guerrero H., Hospitaler A. A literature review and critical analysis of metaheuristics recently developed. Arch. Comput. Methods Eng. 2024;31:125–146. doi: 10.1007/s11831-023-09975-0. [DOI] [Google Scholar]
- 26.Smit S.K., Eiben A. Proceedings of the European Conference on the Applications of Evolutionary Computation. Springer; Berlin/Heidelberg, Germany: 2010. Parameter tuning of evolutionary algorithms: Generalist vs. specialist; pp. 542–551. [Google Scholar]
- 27.Gutjahr W.J. Matheuristics: Hybridizing Metaheuristics and Mathematical Programming. Springer; Berlin/Heidelberg, Germany: 2009. Convergence analysis of metaheuristics; pp. 159–187. [Google Scholar]
- 28.Eiben Á.E., Hinterding R., Michalewicz Z. Parameter control in evolutionary algorithms. IEEE Trans. Evol. Comput. 2002;3:124–141. doi: 10.1109/4235.771166. [DOI] [Google Scholar]
- 29.Ouyang K., Fu S., Chen Y., Cai Q., Heidari A.A., Chen H. Escape: An optimization method based on crowd evacuation behaviors. Artif. Intell. Rev. 2024;58:19. doi: 10.1007/s10462-024-11008-6. [DOI] [Google Scholar]
- 30.Ouyang K., Wei D., Sha X., Yu J., Zhao Y., Qiu M., Fu S., Heidari A.A., Chen H. Beaver behavior optimizer: A novel metaheuristic algorithm for solar PV parameter identification and engineering problems. J. Adv. Res. 2025. in press . [DOI] [PMC free article] [PubMed]
- 31.Meng A.B., Chen Y.C., Yin H., Chen S.Z. Crisscross optimization algorithm and its application. Knowl.-Based Syst. 2014;67:218–229. doi: 10.1016/j.knosys.2014.05.004. [DOI] [Google Scholar]
- 32.Abdel-Basset M., Mohamed R., Abouhawwash M. Fungal growth optimizer: A novel nature-inspired metaheuristic algorithm. Expert Syst. Appl. 2025;250:123456. [Google Scholar]
- 33.Chen S., Montgomery J., Bolufé-Röhler A. Measuring the curse of dimensionality and its effects on particle swarm optimization and differential evolution. Appl. Intell. 2015;42:514–526. doi: 10.1007/s10489-014-0613-2. [DOI] [Google Scholar]
- 34.Liang J.J., Qin A.K., Suganthan P.N., Baskar S. Comprehensive learning particle swarm optimizer for global optimization of multimodal functions. IEEE Trans. Evol. Comput. 2006;10:281–295. doi: 10.1109/TEVC.2005.857610. [DOI] [Google Scholar]
- 35.Salgotra R., Singh U., Saha S. Improved cuckoo search with better search capabilities for solving CEC2017 benchmark problems; Proceedings of the 2018 IEEE Congress on Evolutionary Computation (CEC); Rio de Janeiro, Brazil. 8–13 July 2018; pp. 1–7. [Google Scholar]
- 36.Wu G., Mallipeddi R., Suganthan P.N. Problem Definitions and Evaluation Criteria for the CEC 2017 Competition on Constrained Real-Parameter Optimization. Vol. 9. Nanyang Technological University; Singapore: 2017. p. 2017. [Google Scholar]
- 37.Yang X.S., Hossein Gandomi A. Bat algorithm: A novel approach for global engineering optimization. Eng. Comput. 2012;29:464–483. doi: 10.1108/02644401211235834. [DOI] [Google Scholar]
- 38.Zheng B., Chen Y., Wang C., Heidari A.A., Liu L., Chen H. The moss growth optimization (MGO): Concepts and performance. J. Comput. Des. Eng. 2024;11:184–221. doi: 10.1093/jcde/qwae080. [DOI] [Google Scholar]
- 39.Lian J., Hui G., Ma L., Zhu T., Wu X., Heidari A.A., Chen Y., Chen H. Parrot optimizer: Algorithm and applications to medical problems. Comput. Biol. Med. 2024;172:108064. doi: 10.1016/j.compbiomed.2024.108064. [DOI] [PubMed] [Google Scholar]
- 40.Yang Y., Chen H., Heidari A.A., Gandomi A.H. Hunger games search: Visions, conception, implementation, deep analysis, perspectives, and towards performance shifts. Expert Syst. Appl. 2021;177:114864. doi: 10.1016/j.eswa.2021.114864. [DOI] [Google Scholar]
- 41.Mirjalili S., Mirjalili S.M., Lewis A. Grey wolf optimizer. Adv. Eng. Softw. 2014;69:46–61. doi: 10.1016/j.advengsoft.2013.12.007. [DOI] [Google Scholar]
- 42.Li S., Chen H., Wang M., Heidari A.A., Mirjalili S. Slime mould algorithm: A new method for stochastic optimization. Future Gener. Comput. Syst. 2020;111:300–323. doi: 10.1016/j.future.2020.03.055. [DOI] [Google Scholar]
- 43.Mirjalili S. SCA: A sine cosine algorithm for solving optimization problems. Knowl.-Based Syst. 2016;96:120–133. doi: 10.1016/j.knosys.2015.12.022. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The numerical and experimental data used to support the findings of this study are included within the article.



