Skip to main content
Biomimetics logoLink to Biomimetics
. 2026 May 27;11(6):370. doi: 10.3390/biomimetics11060370

Comprehensive Learning Fungal Growth Optimizer for Numerical Optimization and Reservoir Production Optimization

Mingyang Gong 1, Zhenyu Song 2,*, Xiaonan Zhang 1, Yi Tang 1
Editor: Chaoqun Li
PMCID: PMC13296441  PMID: 42345659

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 9.97×108 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 (SL→) and upper (SU→) limits. This simulates the random germination of spores in a suitable environment.
    Si→=SL→+r→⊙(SU→−SL→),i=1,2,…,N, (1)
    where r→ is a vector of random numbers uniformly distributed in [0,1] and ⊙ denotes the Hadamard product.
  • 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 pi and a decaying exploration rate Er. The growth rate E and direction D→ are calculated using the fitness of solutions and random peer selection.
    Sit+1→=Sit→+E·D→,ifpi<Er(ExplorationPhaseI)performlocalchemotropismsearch,otherwise(ExploitationPhaseI) (2)
    where E=eF with F=fi∑k=1Nfk·r1·E, D→=Sta→−Stc→, and pi is the normalized fitness of the i-th solution. E represents the environmental factor, r1 is a uniformly distributed random number in [0,1], and Sta→, Stc→ 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.
  • 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.
    Si,jt+1=[Rj<r3]·Si,jt+(1−[Rj<r3])·Si,jt+r5·EL·Di,jep1+(1−r5)·EL·Di,jep2, (3)
    where Di,jep1=Sa,jt−Sb,jt, Di,jep2=Sc,jt−Sj∗, EL=1+efi∑k=1Nfk·[r6<r7], and [·] is the Iverson bracket. Here, Rj,r3,r5,r6, and r7 denote randomly generated numbers in [0,1], Sj∗ represents the j-th dimension of the global best position, and Sa,jt,Sb,jt,Sc,jt are elements of three distinct randomly selected individuals.
  • 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.
    Si,jt+1=[Rj<r3]·Si,jt+(1−[Rj<r3])·(ttmax·Sj∗+1−ttmax·Sa,jt2+Sb,jt+Sg·r5·E·Sc,jt+Sa,jt+Sb,jt3−Si,jt), (4)
    where Sg is randomly chosen as −1 or 1, t is the current iteration, and tmax is the maximum number of iterations used to compute the normalized search progress.

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 (MaxFEs) is reached, at which point the global best solution S∗→ 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)
  •   1:

    Input: Population size N, maximum function evaluations MaxFEs, problem dimension D, bounds SL→,SU→

  •   2:

    Initialize N hyphae Si→ using Equation (1)

  •   3:

    Evaluate fitness f(Si→) and identify the global best S∗→

  •   4:

    FEs←N, t←1

  •   5:

    while FEs<MaxFEs do

  •   6:

        Generate random numbers r9,r10∼rand(0,1)

  •   7:

        if r9<r10 then                       ▹ Execute Hyphal Tip Growth loop

  •   8:

            for i=1 to N do

  •   9:

               if FEs≥MaxFEs then

  • 10:

                   break

  • 11:

               end if

  • 12:

               Compute exploration rate Er and normalized fitness probability pi

  • 13:

               if pi<Er then

  • 14:

                   Update Sit+1→ via Exploration Phase I (Equation (2))

  • 15:

               else

  • 16:

                   Update Sit+1→ via Exploitation Phase I (Equation (2))

  • 17:

               end if

  • 18:

               Evaluate Sit+1→ and set FEs←FEs+1

  • 19:

               Greedy selection: if f(Sit+1→)<f(Sit→), set Sit→←Sit+1→

  • 20:

            end for

  • 21:

        else                        ▹ Execute Branching and Germination loop

  • 22:

            for i=1 to N do

  • 23:

               if FEs≥MaxFEs then

  • 24:

                   break

  • 25:

               end if

  • 26:

               Generate random number r7∼rand(0,1)

  • 27:

               if r7<0.5 then

  • 28:

                   Update Sit+1→ via Hyphal Branching (Equation (3))

  • 29:

               else

  • 30:

                   Update Sit+1→ via Spore Germination (Equation (4))

  • 31:

               end if

  • 32:

               Evaluate Sit+1→ and set FEs←FEs+1

  • 33:

               Greedy selection: if f(Sit+1→)<f(Sit→), set Sit→←Sit+1→

  • 34:

            end for

  • 35:

        end if

  • 36:

        Update global best S∗→ if a better solution is found

  • 37:

        t←t+1

  • 38:

    end while

  • 39:

    Output: Global best solution S∗→

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:

ei=[ei(1),ei(2),…,ei(D)], (5)

where D is the problem dimensionality. Each element ei(j) 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 Pci 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:

Pci=a+b×exp10·i−1N−1exp(10)−1. (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 a=0 and b=0.5 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 j∈{1,2,…,D}, the exemplar index ei(j) is determined through a stochastic tournament process. A random number rand∈[0,1] is drawn. If rand<Pci, the individual learns from external peers: two distinct individuals k1 and k2 (with k1,k2≠i) are randomly selected, and the one with the better historical best fitness is chosen as the exemplar for that dimension. Otherwise (i.e., rand≥Pci), the individual retains its own historical best position. This mechanism is formally expressed as:

ei(j)=argmink∈{k1,k2}pfit(k),ifrand<Pci,i,ifrand≥Pci. (7)

3.1.4. Safeguard Mechanism

To prevent degenerate learning where an individual learns exclusively from itself, a safeguard is applied. After constructing ei, the algorithm checks if:

ei(j)=i,∀j∈{1,2,…,D}. (8)

If Equation (8) holds, a random dimension j′ is selected, and a distinct individual k3≠i is randomly chosen, such that ei(j′)=k3. 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 ei. 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.

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 Pci (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 MaxFEs budget. This structure injects diversity into trapped solutions while preserving the original search dynamics.

Algorithm 2 Comprehensive Learning Fungal Growth Optimizer (CLFGO)
  •   1:

    Input: Population size N, maximum function evaluations MaxFEs, dimension D, bounds SL→,SU→, stagnation threshold m, learning bounds a,b

  •   2:

    Initialize N hyphae Si→ using Equation (1); evaluate fitness; identify S∗→

  •   3:

    Initialize personal best positions pbesti→←Si→, stagnation counters sci←0, ∀i

  •   4:

    Compute learning probabilities Pci using Equation (6), ∀i

  •   5:

    FEs←N, t←1

  •   6:

    while FEs<MaxFEs do

  •   7:

        for i=1 to N do                                               ▹ CLS Module

  •   8:

            if FEs≥MaxFEs then

  •   9:

               break

  • 10:

            end if

  • 11:

            if sci≥m then                                           ▹ Individual i is stagnant

  • 12:

               for j=1 to D do                                         ▹ Build exemplar vector ei

  • 13:

                   Generate rand∼rand(0,1)

  • 14:

                   if rand<Pci then

  • 15:

                       Randomly select k1,k2≠i

  • 16:

                       ei(j)←argmink∈{k1,k2}pfit(k)                                  ▹ Tournament selection

  • 17:

                   else

  • 18:

                       ei(j)←i                                           ▹ Learn from own best

  • 19:

                   end if

  • 20:

               end for

  • 21:

               if ei(j)=i,∀j then                                            ▹ Safeguard check

  • 22:

                   Randomly select dimension j′ and individual k3≠i

  • 23:

                   ei(j′)←k3

  • 24:

               end if

  • 25:

               Construct candidate SiCL→: for each dimension j, set Si,jCL←pbestei(j),j

  • 26:

               Evaluate SiCL→ and set FEs←FEs+1

  • 27:

               if f(SiCL→)<f(Sit→) then Sit→←SiCL→; sci←0

  • 28:

            end if

  • 29:

        end for

  • 30:

                                              ▹ Standard FGO Update (Algorithm 1, Lines 6–16)

  • 31:

        Execute Hyphal Tip Growth or Branching-Germination loop on all individuals while respecting MaxFEs

  • 32:

        Perform greedy selection for each individual; update pbesti→ and sci accordingly

  • 33:

        Update global best S∗→ if a better solution is found

  • 34:

        t←t+1

  • 35:

    end while

  • 36:

    Output: Global best solution S∗→

3.4. Complexity Analysis

For the original FGO, the arithmetic update cost per iteration is O(N·D), and the cumulative update cost over T iterations is O(T·N·D), excluding the objective-function evaluation cost. In CLFGO, let qt 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 O(qt·D) arithmetic cost and at most qt additional objective evaluations. Since qt≤N, the worst-case auxiliary update cost remains O(N·D) per iteration, and all additional objective evaluations are counted under the same MaxFEs stopping budget used by the compared algorithms.

The space complexity also remains linear in N·D, 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 O(N·D) per iteration. Population matrix, candidate solutions, fitness values, and global best; O(N·D).
CLFGO FGO operations plus exemplar construction for qt stagnant individuals; auxiliary arithmetic is O(qt·D) and worst-case O(N·D) per iteration. FGO storage plus personal bests (N·D), exemplar indices (N·D), stagnation counters (N), and learning probabilities (N); still O(N·D) 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 N=30, dimension D=30, and MaxFEs=300,000) 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 O(T·N·D) 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 N=30, and the problem dimensionality was D=30. The search terminated at the same maximum-function-evaluation budget for every algorithm, namely MaxFEs=10,000×D=300,000 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 a=0 and b=0.5 (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 m=5.

Table 3.

Parameter settings for the compared algorithms.

Algorithm Parameter Settings
CLFGO a=0,b=0.5,m=5
FGO M=0.6,Ep=0.7,R=0.9
DE F=0.5,CR=0.2
MGO w=2,d1=0.2,rec_num=10,divide_num=dim/4
HGS l=0.03
PO γ=1.5,c=0.2,F:S:C:O=1:1:1:1
BA fmin=0,fmax=2,α=0.9,γ=0.9
GWO a=[2,0] (decreases linearly)
SMA a=[2,0],vb=[−2,2],E=[0,2]
SCA a=2 (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 m∈{1,3,5,7,10} 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 (α=0.05) compared to the proposed CLFGO (m=5). The most favorable results are highlighted in bold.

Algorithm Best Mean Rank +/≈/–
CLFGO (m=5) (Proposed) 15 1.85 —
CLFGO (m=7) 5 2.15 1/23/5
CLFGO (m=10) 4 2.25 1/22/6
CLFGO (m=3) 3 2.45 0/20/9
CLFGO (m=1) 2 4.10 0/10/19

The results in Table 4 show that CLFGO with m=5 gives the best overall outcome among the tested settings. When the stagnation threshold is very small (m=1), comprehensive learning is triggered too often and disrupts the baseline FGO search, giving a mean rank of 4.10 and 19 losses. Larger thresholds (m=7 and m=10) remain close to m=5, with Wilcoxon tests showing no statistically significant differences (≈) on most benchmark functions. We therefore use m=5 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 m=5 across the tested landscape types. The learning-probability bounds a=0 and b=0.5 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 (Avg) and standard deviation (Std) 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 1.00×102 2.62×103 96.18% lower
F13 Hybrid 1.35×103 2.07×104 93.49% lower
F22 Composition 2.83×103 2.30×103 23.20% higher
F30 Composition 5.16×103 1.61×105 96.79% 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 1.0000×102 3.1224×10−14 3.0063×102 1.2162×100 4.2069×102 2.8216×101
FGO 2.6185×103 3.2117×103 3.0001×102 6.0714×10−3 5.0936×102 3.6315×101
BA 5.7871×105 2.8969×105 3.0013×102 1.2475×10−1 4.7587×102 3.8566×101
MGO 8.0227×104 7.1266×104 4.7192×104 8.2184×103 4.9016×102 1.4137×101
PO 5.9712×107 6.3476×107 4.9114×103 3.6644×103 5.2519×102 3.7885×101
DE 1.2465×103 2.6438×103 1.8776×104 4.7163×103 4.8979×102 9.0528×100
HGS 7.0059×103 5.2460×103 1.0356×103 2.6317×103 4.7948×102 3.3440×101
GWO 3.1471×109 2.3755×109 3.3884×104 1.0158×104 5.9220×102 7.5289×101
SMA 2.7439×109 1.1593×109 3.6615×104 7.6129×103 6.3196×102 6.5237×101
SCA 1.2267×1010 1.7253×109 3.5714×104 6.7693×103 1.4070×103 2.4774×102
F5 F6 F7
Algo. Avg Std Avg Std Avg Std
CLFGO 5.6551×102 1.5657×101 6.0000×102 8.7542×10−5 7.9017×102 9.5515×100
FGO 6.8698×102 3.0135×101 6.5051×102 7.2809×100 9.9622×102 7.2567×101
BA 8.1173×102 5.4997×101 6.7303×102 8.4768×100 1.5826×103 2.2143×102
MGO 5.6439×102 8.6187×100 6.0000×102 2.8616×10−4 8.0374×102 1.4414×101
PO 7.2900×102 3.2296×101 6.5597×102 9.6543×100 1.1439×103 5.7275×101
DE 6.0625×102 9.3108×100 6.0000×102 2.1111×10−14 8.4370×102 9.9951×100
HGS 6.1673×102 2.4442×101 6.0236×102 1.8238×100 8.7604×102 3.6968×101
GWO 6.0702×102 3.2027×101 6.0804×102 2.9029×100 8.6088×102 3.5516×101
SMA 7.1159×102 2.8875×101 6.4204×102 6.8119×100 1.0796×103 5.5986×101
SCA 7.7770×102 1.4535×101 6.4945×102 4.4785×100 1.1242×103 3.9541×101
F8 F9 F10
Algo. Avg Std Avg Std Avg Std
CLFGO 8.6878×102 1.3353×101 9.6523×102 8.2741×101 3.0367×103 2.5171×102
FGO 9.4138×102 2.2556×101 3.7809×103 5.7515×102 4.9612×103 5.8230×102
BA 1.0386×103 5.8998×101 1.2391×104 4.2309×103 5.4809×103 6.6000×102
MGO 8.6549×102 1.3013×101 9.4407×102 4.0522×101 4.7499×103 4.6335×102
PO 9.6217×102 2.5998×101 4.8895×103 6.8892×102 5.6530×103 6.7458×102
DE 9.1376×102 7.2919×100 9.0000×102 1.0342×10−13 5.8382×103 3.1386×102
HGS 9.1667×102 2.9234×101 3.4154×103 1.0052×103 3.7864×103 6.3334×102
GWO 8.8478×102 1.3488×101 1.7883×103 5.8545×102 3.8627×103 4.3283×102
SMA 9.7919×102 1.9267×101 5.8268×103 1.0532×103 5.6326×103 5.6824×102
SCA 1.0430×103 1.5779×101 5.4439×103 1.0109×103 8.1121×103 3.4609×102
F11 F12 F13
Algo. Avg Std Avg Std Avg Std
CLFGO 1.1396×103 2.9169×101 5.1839×103 4.8496×103 1.3471×103 1.5072×101
FGO 1.2502×103 5.3899×101 2.2899×106 1.3651×106 2.0704×104 9.9764×103
BA 1.3172×103 5.9886×101 2.5551×106 2.2489×106 3.0351×105 1.6486×105
MGO 1.1772×103 2.4467×101 9.6367×105 5.4647×105 3.1574×104 2.2113×104
PO 1.3059×103 5.5515×101 3.5675×107 5.2930×107 1.0568×105 6.3400×104
DE 1.1632×103 2.1787×101 1.8651×106 9.4241×105 3.5372×104 2.1249×104
HGS 1.2010×103 3.1945×101 8.0344×105 6.2646×105 4.2522×104 2.6288×104
GWO 1.6985×103 5.1984×102 6.4165×107 9.3655×107 5.7469×106 4.3713×106
SMA 1.5857×103 1.1707×102 1.4945×108 1.0666×108 2.6827×106 4.3713×106
SCA 2.1585×103 3.9949×102 1.0162×109 2.7512×108 3.9721×108 1.1359×108
F14 F15 F16
Algo. Avg Std Avg Std Avg Std
CLFGO 1.4353×103 1.4754×101 1.5211×103 1.8680×101 2.1785×103 1.9776×102
FGO 1.6765×103 1.6433×102 1.0511×104 4.1576×103 2.8919×103 2.8358×102
BA 7.5921×103 4.2427×103 1.1284×105 5.8977×104 3.4022×103 4.5829×102
MGO 2.0743×104 1.6799×104 1.7591×104 1.3086×104 2.2031×103 1.4777×102
PO 3.9725×104 3.0240×104 4.9128×104 3.5657×104 3.0939×103 3.0875×102
DE 5.4598×104 4.1089×104 8.0324×103 6.0760×103 2.0778×103 1.6211×102
HGS 3.9166×104 3.0219×104 2.7673×104 1.6455×104 2.7487×103 2.8922×102
GWO 2.5305×105 3.1890×105 5.1330×105 9.8548×105 2.3731×103 2.4511×102
SMA 1.6881×105 1.0876×105 1.7247×105 6.4281×105 2.8088×103 3.3201×102
SCA 1.1362×105 6.5603×104 1.3411×107 1.1272×107 3.6244×103 1.7430×102
F17 F18 F19
Algo. Avg Std Avg Std Avg Std
CLFGO 1.8480×103 1.0555×102 1.8726×103 1.9099×102 1.9147×103 5.3481×100
FGO 2.2678×103 1.8486×102 2.3034×104 2.2942×104 4.9358×103 4.4045×103
BA 2.7794×103 3.3758×102 2.2400×105 1.2361×105 6.0405×105 2.9488×105
MGO 1.8838×103 6.5789×101 4.1333×105 2.5438×105 9.2284×103 7.2945×103
PO 2.2929×103 1.7937×102 5.0234×105 3.5019×105 6.8670×105 4.4668×105
DE 1.8311×103 4.9974×101 3.4824×105 2.2942×105 9.6917×103 5.6799×103
HGS 2.1973×103 2.3921×102 1.1893×105 1.6991×105 2.2311×104 2.2521×104
GWO 1.9739×103 1.4562×102 7.3615×105 8.2559×105 1.3495×106 5.5985×106
SMA 2.2596×103 2.1955×102 8.0325×105 1.0480×106 4.3189×105 5.5269×105
SCA 2.4009×103 1.2734×102 2.7108×106 1.1316×106 2.4890×107 1.4984×107
F20 F21 F22
Algo. Avg Std Avg Std Avg Std
CLFGO 2.1684×103 9.9530×101 2.3665×103 1.4913×101 2.8348×103 1.0140×103
FGO 2.5064×103 1.2560×102 2.4777×103 3.9610×101 2.3010×103 1.6392×100
BA 2.9968×103 1.8068×102 2.6322×103 7.6396×101 6.5599×103 1.8544×103
MGO 2.2551×103 7.7499×101 2.3719×103 1.2168×101 2.8287×103 1.3438×103
PO 2.4920×103 1.7183×102 2.5003×103 4.1516×101 3.0979×103 1.6947×103
DE 2.1425×103 7.2484×101 2.4094×103 9.0707×100 4.2000×103 2.0147×103
HGS 2.5202×103 2.1445×102 2.4286×103 3.1083×101 4.9980×103 1.2853×103
GWO 2.4200×103 1.5127×102 2.3859×103 2.3691×101 4.4522×103 1.3513×103
SMA 2.4322×103 1.3670×102 2.4751×103 2.5228×101 3.4253×103 1.6710×103
SCA 2.6059×103 1.0097×102 2.5559×103 2.2058×101 8.3144×103 2.2804×103
F23 F24 F25
Algo. Avg Std Avg Std Avg Std
CLFGO 2.7190×103 1.5028×101 2.9410×103 3.2951×101 2.8861×103 2.5847×100
FGO 3.0667×103 9.5498×101 3.2420×103 1.2636×102 2.9282×103 2.1691×101
BA 3.3586×103 1.5560×102 3.3492×103 1.0859×102 2.9017×103 1.8713×101
MGO 2.7204×103 1.4945×101 2.8981×103 1.2466×101 2.8874×103 9.1349×10−1
PO 2.9415×103 7.1979×101 3.1225×103 6.4519×101 2.9347×103 2.4053×101
DE 2.7572×103 8.5421×100 2.9542×103 1.3829×101 2.8873×103 3.1655×10−1
HGS 2.7778×103 2.7694×101 3.0268×103 6.2773×101 2.8910×103 1.2417×101
GWO 2.7535×103 3.2826×101 2.9216×103 4.7920×101 2.9830×103 5.8611×101
SMA 2.8523×103 3.0503×101 3.0201×103 3.1537×101 2.9933×103 3.8583×101
SCA 2.9984×103 2.7915×101 3.1611×103 3.1751×101 3.1737×103 5.3460×101
F26 F27 F28
Algo. Avg Std Avg Std Avg Std
CLFGO 3.9654×103 6.7275×102 3.2114×103 9.2192×100 3.1472×103 6.0208×101
FGO 5.1451×103 2.2654×103 3.5693×103 1.3619×102 3.2151×103 2.9918×101
BA 8.2947×103 2.5934×103 3.4247×103 1.5669×102 3.1332×103 5.7901×101
MGO 3.9685×103 4.6393×102 3.2126×103 4.8143×100 3.2339×103 1.4265×101
PO 6.3802×103 1.9104×103 3.3019×103 3.9899×101 3.3119×103 3.8727×101
DE 4.6657×103 1.0047×102 3.2060×103 3.3728×100 3.1900×103 4.6866×101
HGS 4.9201×103 2.5296×102 3.2258×103 1.3544×101 3.2167×103 3.8900×101
GWO 4.5536×103 4.0377×102 3.2533×103 2.5744×101 3.4435×103 1.5892×102
SMA 5.1881×103 6.9145×102 3.2530×103 2.4309×101 3.4201×103 6.2090×101
SCA 7.0468×103 2.4922×102 3.4033×103 3.9376×101 3.8630×103 1.3177×102
F29 F30
Algo. Avg Std Avg Std
CLFGO 3.4181×103 1.0825×102 5.1623×103 1.8983×102
FGO 4.4539×103 3.6476×102 1.6062×105 1.5679×105
BA 5.0101×103 5.9578×102 1.2658×106 7.8956×105
MGO 3.6333×103 9.4229×101 6.1726×104 3.0469×104
PO 4.4419×103 3.5618×102 6.9220×106 5.1619×106
DE 3.5130×103 7.5662×101 1.1489×104 2.7288×103
HGS 3.7876×103 1.8836×102 5.8306×104 7.6510×104
GWO 3.7556×103 1.5097×102 7.0190×106 8.4021×106
SMA 4.0269×103 2.8186×102 4.4078×106 3.6517×106
SCA 4.6254×103 2.0776×102 6.7893×107 2.9522×107
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 3.12×10−14. For multimodal functions (F4–F10), CLFGO and DE reached the theoretical optimum on F6 (Avg=6.00×102), 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 Avg=5.18×103 and 1.35×103, 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 (α=0.05) to assess statistical significance; Table 8 reports the p-values. CLFGO achieved p<0.05 against BA, PO, FGO, HGS, SMA, and SCA on most functions. Against MGO, non-significant p-values (p>0.05) 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 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F3 2.71×10−1 1.73×10−6 1.73×10−6 9.32×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F4 2.16×10−5 3.52×10−6 1.73×10−6 1.92×10−6 1.73×10−6 2.60×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F5 1.73×10−6 6.88×10−1 1.73×10−6 1.73×10−6 1.92×10−6 4.73×10−6 7.69×10−6 1.73×10−6 1.73×10−6
F6 1.73×10−6 9.59×10−1 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F7 1.73×10−6 1.25×10−4 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F8 1.73×10−6 2.71×10−1 1.73×10−6 1.73×10−6 1.73×10−6 1.92×10−6 4.90×10−4 1.73×10−6 1.73×10−6
F9 1.73×10−6 6.29×10−1 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.92×10−6 1.73×10−6 1.73×10−6
F10 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.36×10−5 1.92×10−6 1.73×10−6 1.73×10−6
F11 1.73×10−6 1.80×10−5 1.73×10−6 1.92×10−6 4.39×10−3 1.36×10−5 1.73×10−6 1.73×10−6 1.73×10−6
F12 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F13 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F14 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F15 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F16 1.73×10−6 4.41×10−1 1.73×10−6 1.73×10−6 6.56×10−2 2.88×10−6 5.67×10−3 1.73×10−6 1.73×10−6
F17 1.73×10−6 1.16×10−1 1.92×10−6 1.92×10−6 5.86×10−1 4.29×10−6 1.11×10−3 3.18×10−6 1.73×10−6
F18 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F19 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6
F20 1.73×10−6 3.61×10−3 2.60×10−6 1.73×10−6 3.39×10−1 3.52×10−6 9.32×10−6 2.35×10−6 1.73×10−6
F21 1.73×10−6 3.93×10−1 1.73×10−6 1.73×10−6 1.92×10−6 1.73×10−6 5.71×10−4 1.73×10−6 1.73×10−6
F22 3.88×10−6 1.41×10−1 1.06×10−1 6.14×10−1 8.73×10−3 1.24×10−5 3.59×10−4 4.49×10−2 2.60×10−6
F23 1.73×10−6 6.58×10−1 1.73×10−6 1.73×10−6 1.73×10−6 2.60×10−6 3.72×10−5 1.73×10−6 1.73×10−6
F24 1.73×10−6 3.88×10−6 1.73×10−6 1.73×10−6 5.19×10−2 2.88×10−6 2.70×10−2 6.98×10−6 1.73×10−6
F25 1.13×10−5 1.38×10−3 1.73×10−6 1.73×10−6 2.83×10−4 3.87×10−2 1.73×10−6 1.73×10−6 1.73×10−6
F26 6.98×10−6 8.13×10−1 1.80×10−5 8.73×10−3 2.35×10−6 1.92×10−6 6.89×10−5 5.22×10−6 1.73×10−6
F27 1.92×10−6 7.50×10−1 1.73×10−6 1.73×10−6 1.48×10−3 2.41×10−4 1.73×10−6 1.73×10−6 1.73×10−6
F28 8.29×10−1 4.73×10−6 1.73×10−6 2.41×10−4 9.77×10−3 1.25×10−4 1.73×10−6 1.73×10−6 1.73×10−6
F29 1.73×10−6 6.34×10−6 1.73×10−6 1.73×10−6 5.31×10−5 2.88×10−6 1.92×10−6 1.73×10−6 1.73×10−6
F30 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6 1.73×10−6

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:

Div=1N∑i=1N∑j=1D(xi,j−x¯j)2 (9)

where xi,j is the j-th dimension of the i-th individual, and x¯j 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.

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.

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:

NPV(x,z)=∑t=1nΔt·(Qo,tro−Qw,trw−Qi,tri)(1+b)pt (10)

where x and z represent the control variables and the reservoir state, respectively; Qo,t, Qw,t, and Qi,t denote the cumulative oil production, water production, and water injection rates at time step t; ro, rw, and ri are the associated unit prices (or costs) for oil, produced water, and injected water, respectively; b is the annual discount rate; and pt 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.

Figure 4

Two-dimensional synthetic reservoir model and well pattern arrangement.

The domain was discretized on a 25×25 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, ln(K), 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 9.9742×108 USD with a standard deviation of 1.353×107. DE and MGO reached mean values of 9.536×108 and 9.487×108 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 9.9742×108 1.353×107 1.046×109 9.785×108
DE 9.536×108 1.845×107 9.721×108 9.348×108
MGO 9.487×108 1.954×107 9.680×108 9.292×108
HGS 9.321×108 2.164×107 9.532×108 9.075×108
FGO 9.145×108 2.512×107 9.427×108 8.885×108
PO 9.043×108 2.737×107 9.349×108 8.798×108
BA 8.921×108 2.981×107 9.262×108 8.656×108
GWO 8.762×108 3.128×107 9.150×108 8.437×108
SMA 8.524×108 3.487×107 8.906×108 8.192×108
SCA 8.241×108 4.156×107 8.734×108 7.821×108

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.

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 9.97×108 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.


Articles from Biomimetics are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES