1. Introduction
With the accelerating global energy transition and the steady progress of the “dual carbon” strategy, modern power systems are increasingly expected to enhance renewable energy utilization and reduce carbon emissions [
1]. A microgrid refers to a localized energy network at the distribution level, consisting of distributed energy resources, energy storage facilities, and various load types [
2,
3]. By effectively coordinating these components, the microgrid can realize power balance and autonomous control, which contributes to higher renewable energy penetration and improved supply reliability. In terms of system operation, day-ahead optimal scheduling is carried out based on forecasts of next-day demand, and wind and solar generation, as well as time-of-use electricity prices, so as to optimize the output plans of controllable units within a 24 h scheduling horizon. Therefore, a key function of the energy management system is to achieve the lowest possible operating cost subject to constraints including power balance, unit output limits, and equipment operating requirements [
4,
5].
Within the framework of microgrids, battery energy storage systems (BESSs) are primarily used to smooth out fluctuations in renewable energy and for price arbitrage; their charging and discharging strategies have a significant impact on system economic efficiency and safety [
6]. However, existing studies typically employ simplified metrics such as energy throughput, charge–-discharge cycles, or equivalent cycle counts to estimate degradation costs when establishing energy storage dispatch models, and approximate battery life loss as a fixed-cost term linearly related to the amount of charge–-discharge energy [
7]. Although such methods facilitate modeling and solution, they struggle to accurately reflect the actual aging patterns of lithium-ion batteries, which may consequently affect the long-term economic evaluation of scheduling results [
8]. In fact, lithium-ion battery degradation typically involves both cyclic aging and calendar aging, and its evolution exhibits a significantly nonlinear relationship with factors such as DOD, SOC, temperature, and time. When a refined degradation model is incorporated into the scheduling objective, due to the combined effects of dynamic temporal constraints and strong variable couplings, microgrid scheduling often evolves into a high-dimensional, non-convex, and highly challenging complex multimodal optimization problem [
9]. In particular, the combined effects of different degradation mechanisms and temporal operating conditions cause the objective function to exhibit distinct asymmetric response characteristics in local regions, thereby increasing the difficulty of global optimization. Such problems pose significant challenges to traditional linear programming or integer programming methods, highlighting the necessity of balancing “modeling accuracy and solution complexity” at the scheduling level [
10].
Regarding the problem of optimizing microgrid dispatch, existing research can be broadly categorized into mathematical programming methods, uncertainty optimization methods, and computational intelligence methods. Mathematical programming methods, by establishing explicit objective functions and constraint systems, offer strong interpretability and controllability. Among these, mixed-integer linear programming (MILP) is commonly used to address mixed discrete–-continuous decision-making problems such as unit start-stop, energy storage charging and discharging, and time-of-use pricing response. Nemati et al. developed a model for microgrid unit combination and economic scheduling based on MILP [
11]. To enhance the dynamic scheduling capability of microgrid energy management, Alarcón et al. further proposed an energy management strategy based on economic model predictive control (EMPC) and validated its effectiveness [
12]. Meanwhile, to address uncertainties in renewable energy output and load forecasting, stochastic programming, robust optimization, and risk-constrained methods have also been widely used to enhance the robustness of scheduling solutions. For example, Li et al. combined two-stage stochastic programming with rolling time-domain control for microgrid energy management [
13]; Levorato et al. utilized budget uncertainty sets to characterize the impact of source-load fluctuations on microgrid trading and scheduling [
14]; and Herding et al. introduced Conditional Value at Risk (CVaR) to balance economic efficiency and risk control [
15]. Overall, the aforementioned methods offer certain advantages in terms of model rigor and disturbance resistance; however, their performance often depends on scenario construction, uncertainty set configuration, and parameter selection. When refined energy storage degradation costs and high-dimensional temporal decision variables are further considered, the model scale and coupling complexity increase rapidly, and significant challenges remain regarding solution efficiency and scalability.
In contrast, intelligent optimization methods demonstrate strong applicability in microgrid optimization and scheduling because they do not rely on gradient information, are suitable for handling non-convex constraints, and are easily coupled with complex operational models. Beyond microgrid applications, advanced computational frameworks have also shown strong potential in other complex engineering scenarios, including nonlinear electricity–-water nexus dispatch [
16], emergency coordination of coupled electricity–-watershed networks with heterogeneous flexibility resources under severe drought events [
17], and intelligent fault diagnosis tasks such as digital-twin-driven mechanical diagnosis under indeterminate states and bearing fault identification under unknown operating conditions [
18,
19,
20]. These studies further suggest that advanced optimization and data-driven methods can provide effective decision support for high-dimensional, nonlinear, and strongly coupled engineering systems. In recent years, researchers have developed various improvements to traditional intelligent algorithms, focusing on convergence speed, population diversity, and local optimization capabilities, and have applied these to microgrid scheduling problems [
21]. For example, Guan et al. introduced an inertia factor adjustment and a particle adaptive mutation mechanism into Particle Swarm Optimization (PSO) to propose an improved PSO algorithm for multi-objective optimization scheduling of grid-connected microgrids, achieving good results in reducing operational and environmental costs [
22]. For interconnected multi-microgrid systems, Dong and Lee integrated chaotic maps with differential evolution (DE) to develop an enhanced DE variant. This method strengthens global exploration and improves the efficiency of feasible solution identification in complex scheduling scenarios, ultimately contributing to better economic performance and operational reliability in multi-microgrid settings [
23]. Furthermore, Wang et al. addressed the economic scheduling problem of microgrid clusters by introducing chaotic mappings and dynamic adversarial learning strategies into Grey Wolf Optimization (GWO), thereby constructing the Improved Grey Wolf Algorithm (CDGWO), which effectively improved the algorithm’s scheduling efficiency and overall economic performance [
24]. Although these improved methods have to some extent enhanced the solution performance in microgrid scheduling, existing methods still generally suffer from limited optimization accuracy, insufficient stability, and a tendency to get stuck in local optima when dealing with high-dimensional, non-convex, and strongly coupled optimization models that account for detailed battery degradation costs. Against this backdrop, the slime mold algorithm (SMA) has gradually garnered widespread attention due to its unique weight update mechanism and its ability to balance exploration and exploitation.
Introduced by Li et al. in 2020 [
25], the slime mold algorithm (SMA) mimics the adaptive foraging networks of Myxomycetes. By utilizing a unique contraction mode alongside a positive–-negative feedback weight mechanism, standard SMA achieves a commendable equilibrium between global exploration and local exploitation across various benchmark and engineering optimization tasks. However, its structural shortcomings become evident when applied to intricate models, such as complex microgrid scheduling. Specifically, its reliance on random initialization narrows the initial search space. Furthermore, the dimension-independent position update fails to maintain rotation invariance, severely hindering its performance on problems with highly coupled variables. Finally, the rapid decay of oscillatory weights during later iterations often strips the population of diversity, predisposing the algorithm to premature stagnation.
To tackle the above challenges, this paper develops a symmetry-guided multi-strategy differential hybrid slime mold algorithm (MDHSMA) for day-ahead microgrid scheduling under a refined battery degradation framework. Unlike general SMA variants mainly designed for benchmark problems, the proposed method is tailored to high-dimensional, nonlinear, non-convex, and strongly coupled dispatch tasks involving refined battery-life-loss modeling. In particular, it is intended to alleviate three key difficulties: insufficient initialization coverage in high-dimensional spaces, weak search coordination under strong variable coupling, and premature stagnation in the later search stage.
Compared with related methods, the main strength of MDHSMA lies in its integrated enhancement of initialization, search coordination, and stagnation handling, which enables better adaptation to the complex cost landscape arising from grid interaction, multi-source coordination, and refined battery degradation costs. The major contributions of this study are summarized below:
- (1)
A novel chaotic bimodal mirrored Latin hypercube sampling method (CBLHSM) is proposed. By incorporating a mirror-symmetric sampling mechanism and leveraging the ergodicity of chaotic mappings, it generates initial populations with enhanced coverage, structural complementarity, and distribution balance, thereby providing high-quality starting points for global search.
- (2)
A history-driven adaptive differential evolution strategy (HADE) is embedded into SMA. Through adaptive parameter generation, staged differential mutation, and historical memory feedback, this mechanism enhances search coordination in strongly coupled optimization landscapes.
- (3)
A state-aware stagnation handling framework (SAS) is incorporated to monitor population status during the search. The framework combines dynamic restart, reverse learning for poor individuals, and elite perturbation to alleviate stagnation and reduce the likelihood of premature convergence.
- (4)
Comprehensive experiments were conducted on the CEC2017 and CEC2022 benchmark suites, as well as representative constrained engineering design problems. Statistical comparisons with advanced peer algorithms show that MDHSMA achieves superior convergence characteristics, high-quality solutions, and strong robustness. In addition, ablation studies were carried out on the CEC benchmarks to quantify the effect of each enhancement module on the overall behavior of the proposed method.
- (5)
The proposed MDHSMA was further validated on the day-ahead optimal scheduling problem of microgrids under a refined battery degradation model. Experimental results further confirm its scalability and robustness in addressing high-dimensional, non-convex engineering optimization tasks, demonstrating effective coordination between short-term economic objectives and long-term battery life preservation.
The subsequent sections are arranged as follows. A brief introduction to the mathematical foundation of the standard slime mold algorithm is given in
Section 2.
Section 3 details the structure of MDHSMA as well as its key enhancement components.
Section 4 presents the statistical test results obtained from the CEC benchmark suites, whereas
Section 5 evaluates the proposed approach on two practical engineering optimization cases. The application of MDHSMA to the refined microgrid scheduling model is discussed in
Section 6, followed by an analysis of the obtained results.
Section 7 concludes the paper with a summary of the major findings and several recommendations for future research.
2. The Basic Principle of the Slime Mold Algorithm
Before introducing the proposed method, the basic mechanism of the standard slime mold algorithm (SMA) is briefly reviewed to provide the background for the subsequent improvements and to clarify the search characteristics motivating the development of MDHSMA. As shown in
Figure 1, slime molds regulate cytoplasmic transport through oscillatory contractions and dynamically adjust their vein network according to external stimuli. This adaptive behavior enables them to approach nutrient-rich regions while maintaining flexible path selection. SMA abstracts these characteristics into a mathematical search framework for optimization.
Population Initialization: The initial position matrix
is defined as:
Here,
denotes the population size,
is the dimensionality of the problem, and
and
are the lower and upper bounds of the search space, respectively. The term
represents an
random matrix whose entries are uniformly distributed over [0, 1].
Approaching Food: To mimic the movement of slime molds toward food sources, SMA updates the position of each individual according to:
Here,
denotes the best solution obtained at iteration t, whereas
corresponds to the current individual.
and
are two different individuals randomly chosen from the population. In addition,
,
,
decreases linearly from 1 to 0 as the iteration proceeds, and
denotes the adaptive weight.
When
, the individual mainly performs local exploitation around promising regions; otherwise, it tends to preserve broader search behavior. The control probability
is computed as:
where
is the fitness of individual i, and
is the current global optimum.
The parameter
governs the search range and progressively diminishes as iterations advance. A larger value during the early phase facilitates global exploration, while a smaller value in the later stage enhances local exploitation. Its definition is given as follows:
The iteration budget is capped by
.
Individuals located in more favorable regions are assigned stronger movement tendencies, whereas those in poorer regions move more conservatively. The weight is defined as:
where
and
represent, respectively, the best and worst fitness values achieved in the current iteration, while
denotes the ranking index produced by sorting the population based on fitness.
Wrapping Food: By combining this feedback mechanism with random global perturbation, the general position update rule of SMA can be written as:
Here,
,
, and
are random variables uniformly distributed in the interval
.
Grabbing Food: In SMA, the final propagation process is jointly governed by the three parameters , , and , which together describe the progressive movement of individuals toward promising regions.
As shown in
Figure 2, both
and
gradually decrease toward zero as the iteration progresses. This trend reflects the search behavior of slime molds: the algorithm exploits promising regions while still retaining some capacity to explore unexplored areas.
3. Our Proposal: Multi-Strategy Differential Hybrid Slime Mold Algorithm (MDHSMA)
This section presents the proposed MDHSMA, and its overall workflow is illustrated in
Figure 3. The algorithm begins with a population initialization scheme that combines chaotic bimodal Latin hypercube sampling with mirrored pairing, aiming to improve ergodicity, geometric complementarity, and boundary coverage in the search space. During the iterative phase, an adaptive parameter control strategy with historical feedback and a hybrid position update mechanism is incorporated to reduce the risk of premature convergence and to strengthen search efficiency. In addition, when the population is trapped in a local optimum or the search enters the final evolutionary stage, a state-aware stagnation handling framework is triggered. Through dynamic restart, lightweight dynamic backtracking, and Gaussian perturbation, this framework performs hierarchical regulation on different groups of individuals, thereby further enhancing solution accuracy and convergence behavior.
3.1. Chaos-Based Bimodal Mirrored Latin Hypercube Sampling Initialization (CBLHSM)
In standard SMA, random initialization may produce local crowding and uncovered regions, especially in high-dimensional spaces. To alleviate this issue, CBLHSM combines the stratification property of Latin hypercube sampling, the ergodicity of chaotic mapping, and the complementarity introduced by mirrored construction.
In a D-dimensional search space, each dimension is first partitioned into N equiprobable intervals based on the population size N, after which normalized samples are produced using Latin hypercube sampling:
Here,
denotes a random permutation of the set
in the j-th dimension, and
represents the perturbation term within the interval.
To simultaneously account for both the central and peripheral regions of the search space, a logistic chaotic map is introduced to construct individual-level heterogeneous scaling factors. The chaotic sequence
is generated as follows:
Here, following the common practice in chaotic optimization,
is fixed at 4 so that the mapping operates in a typical chaotic regime [
26]. Furthermore, by mapping the i-th chaotic value
to the interval
, we obtain the individual scaling exponent:
Then, the uniform sample
is transformed into a bimodal sample
:
Here,
denotes the sign function. When
, samples tend to contract toward the central region; when
, samples expand toward both sides of the boundary.
Building on this, to further improve the geometric complementarity of the initial population, a mirror pairing mechanism is employed to construct mirror individuals relative to the base population. Let the first N/2 individuals generated by Equation (10) form the base population
; then, its mirror population
is defined as:
where 1 is an all-ones matrix with the same dimension as
. The final normalized population
is obtained by combining
and
, and then mapped to the actual search space
as:
where ⊙ denotes the Hadamard product. This construction assigns each candidate solution a mirrored counterpart in the opposite region of the hypercube, which expands the effective coverage of the initial population. In MDHSMA, the explicit symmetry mechanism is introduced at this stage through mirrored initialization, while its later influence appears indirectly in the subsequent HADE and SAS processes. The difference between conventional LHS and CBLHSM is illustrated in
Figure 4.
3.2. History-Driven Adaptive Differential Evolution Strategy (HADE)
To address the search blindness in standard SMA caused by the lack of individual lateral interactions, MDHSMA establishes a serial collaborative model that involves “DE-space reorganization followed by SMA-based fine-tuning.” HADE consists of two serial differential stages and a historical memory feedback loop.
First, for each generation, the differential scaling factor
and the crossover probability
are generated adaptively for each individual. The algorithm maintains two global parameters, the centers
and
, and sets up a fixed-length history pool to record recent successful samples. Specifically, the local parameters are generated using Cauchy and Gaussian perturbations:
Here,
corresponds to the Cauchy perturbation,
is a standard normal random variable, and
is the truncation operator. To ensure parameter stability,
is restricted to the interval (0, 0.8], and CRit is restricted to the interval [0, 1].
In the first differential phase, when the convergence iteration count
is reached, an elite-guided differential mutation strategy is used to generate exploration vectors:
In this context,
is the position of the i-th individual at iteration t, and
is an elite vector drawn uniformly from the top p% of individuals according to current fitness.
In the second differential phase, to prevent a rapid decline in diversity later on, a weighted hybrid update mechanism consisting of two types of differential vectors is introduced. The weighting factors, which vary nonlinearly with each iteration, are defined as:
The hybrid mutation vector Vhybrid is then computed by:
In this context,
represents the current global optimal individual, while
denote random reference individuals that differ from the current individual in index and are mutually distinct. As the optimization advances,
gradually grows, promoting a smooth change in search emphasis from
-based global exploration to
-based local exploitation.
After completing guided exploration and a hybrid differential search, a unified binary crossover mechanism is used to construct candidate solutions from the differential search results. Regardless of whether the mutation vectors are derived from Equation (15) or Equation (17), the trial vectors
are generated according to the following rule:
Here,
denotes the mutant vector generated in the current differential stage,
, and
is a random dimension index ensuring that the trial vector inherits differential information in at least one dimension. After crossover and selection,
and
are updated from the successful samples to adapt to the search process. Let
, and
be the corresponding successful parameter sets. Then, for the s-th successful sample generated at iteration
, its exponential time weight is defined as follows:
This gives us the weighted average:
Subsequently, the global center parameter is updated using exponential smoothing:
Here,
denotes the learning rate, following the standard setting commonly adopted in the JADE family of adaptive differential evolution algorithms [
27,
28]. If no successful sample appears in the current generation,
and
remain unchanged to avoid parameter drift. In this way, the mutation amplitude and crossover strength are adjusted according to recent successful search behavior. After HADE, the population continues to evolve under the original SMA mechanism, forming a complementary DE-SMA update process. The overall structure of HADE is illustrated in
Figure 5.
3.3. State-Aware Stagnation Handling (SAS)
SAS acts as an event-triggered regulation module. Instead of intervening throughout the whole search, it is activated only when the population state indicates stagnation, diversity loss, or late-stage refinement demand.
3.3.1. Condition Monitoring
The mechanism continuously tracks both a stagnation counter,
, and a population-wide diversity metric. Initially, the geometric median vector of the swarm,
, and the median Euclidean dispersion
are evaluated:
This dispersion is subsequently normalized into the bounded index
:
To reduce false detections caused by small numerical fluctuations, the stagnation counter is updated using a significance threshold
:
Here,
dictates the absolute upper limit for tolerated stagnation. An escalating
signals algorithmic entrapment, whereas a condition of
0.1 denotes critical diversity depletion. These dual indicators collaboratively determine the dynamic restart rate
.
3.3.2. Dynamic Restart and Perturbation Mechanism
When a stagnant state is detected, the effective stagnation factor
and the dynamic restart probability
are further calculated based on the normalized stagnation degree
:
In particular,
,
,
, and
.
and
bound the adaptive restart probability to avoid excessively weak or aggressive restart behavior. When
,
is further increased, whereas restart is disabled in the late stage to maintain convergence stability. Based on this mechanism, SAS applies different interventions to different performance groups. For individuals in the lower half of the population, dynamic restart is evaluated only at sparsely spaced intervals, and random reinitialization is performed with probability
:
For the bottom 5% of individuals, a lightweight dynamic backtracking mechanism is invoked only at sparsely spaced intervals under evident stagnation in the intermediate stage. Prior to the backtracking step, dynamic boundaries are defined based on the current population state:
Perform backpropagation based on this dynamic boundary:
If certain dimensions exceed the bounds after a backward step, they are randomly adjusted within the dynamic boundaries. This strategy helps the worst individual escape the local optimum region.
For the top 5% of elite individuals, small Gaussian perturbations are introduced in the late search stage when the stagnation level remains low. This helps refine the search around promising regions without disrupting the current convergence trend. To maintain computational stability in high-dimensional cases, only a few elite individuals are selected for this operation. The update rule is given as follows:
where
is the scaling factor. Overall, the SAS framework realizes hierarchical intervention through a monitoring–response loop: dynamic restart is used to recover diversity for underperforming subgroups, reverse-style learning is applied to escape local trapping for extremely poor individuals, and mild perturbation is imposed on a few elite individuals in the late stage to further improve solution accuracy.
3.4. Analysis of Computational Complexity
Algorithm 1 outlines the overall procedure of MDHSMA. In the initialization phase, Latin hypercube sampling, chaotic mapping, and mirrored generation can all be carried out in a vectorized form, yielding a computational cost of . Let the fitness evaluation cost of a single candidate be . Then, the population fitness evaluation in each iteration requires , while population sorting requires . In the update phase, both the SMA core search and the DE-based hybrid search are mainly composed of linear vector operations, leading to a cost of .
The SAS module additionally involves diversity monitoring, stagnation detection, dynamic restart, and local perturbation. Although its worst-case complexity is also
, these operations are activated only under certain conditions or applied to limited individuals, so the actual average cost is usually lower. Therefore, the per-iteration complexity of MDHSMA is
, and the total complexity over T iterations is
. Thus, MDHSMA retains the same asymptotic complexity order while incurring only a moderate additional computational cost in exchange for improved solution quality and robustness.
| Algorithm 1: MDHSMA |
| Input: Population size: N, Dimension: D, Maximum iteration: Tmax, Bounds: [LB,UB] |
| Output: Best solution Xbest and best fitness fbest |
| 1 Function MDHSMA(N, D, Tmax): |
| 2 Initialize parameters and memory , LS); initialize population X by CBLHSM (Equations (7)–(12)); |
| 3 Evaluate fitness F; set (Xbest, fbest); |
| 4 t = 1; |
| 5 while t ≤ Tmax do |
| 6 | Calculate fitness F; update (Xbest, fbest); sort and compute weights W (Equation (5)); |
| 7 | Update stagnation and diversity indicators; compute adaptive restart rate zt (Equations (22)–(25)); |
| 8 | for each slime mold i = 1…N do |
| 9 | | Generate adaptive parameters (Equations (13) and (14)); |
| 10 | | Construct trial vector by DE strategy using V2 and V1 (Equations (15)–(17)); |
| 11 | | Perform crossover and greedy selection; store successful ) into LS; |
| 12 | | Apply Dynamic-Restart mechanism or SMA core update (Equation (26) or SMA Equation(6)); |
| 13 | end for |
| 14 | if trigger conditions satisfied then |
| 15 | | Perform Trap-Escape strategy using lightweight EOBL or elite perturbation (Equations (27)–(29)); |
| 16 | end if |
| 17 | Update (Xbest, fbest); |
| 18 | t = t + 1; |
| 19 end while |
| 20 return Xbest, fbest |
4. Numerical Experiments Based on the CEC Benchmark
To assess the global optimization performance of MDHSMA, extensive experiments were conducted on the CEC benchmark suites to evaluate its accuracy, robustness, and scalability under diverse numerical landscapes, as well as the contribution of its main components.
4.1. Experimental Setup and Implementation Details
To guarantee the integrity, fairness, and strict reproducibility of the comparative analysis, all algorithmic evaluations were executed within a highly standardized computational environment, thereby neutralizing any potential hardware- or software-induced discrepancies. The specifications of the deployed simulation platform are detailed below: operating system Windows 11, processor AMD Ryzen 7 7840H with Radeon 780M Graphics, memory 16 GB RAM, and programming language MATLAB R2024b.
4.2. Benchmark Functions, Algorithms Under Comparison, and Parameter Settings
To provide a more thorough assessment of the search behavior of MDHSMA in complex optimization scenarios, the widely adopted CEC2017 and CEC2022 benchmark suites were selected for experimentation. These benchmark collections contain a broad range of functions with distinct structural characteristics, including multimodal, hybrid, composition, and high-dimensional problems. Such diversity makes them suitable for evaluating the exploration–exploitation balance, convergence efficiency, and robustness of optimization algorithms under different levels of difficulty.
For performance comparison, 12 representative optimizers from different categories were selected. These methods are grouped into four classes:
Classical Algorithms: GA [
29], DE [
30], PSO [
31].
Highly Cited Algorithms: GWO [
32], WOA [
33], COA [
34].
SMA-related Algorithms: SMA, ASMA [
35], ISMA [
36], EMSMA [
37].
Latest Algorithms: WUTP [
38] and PEOA [
39].
To facilitate a clear comparison and ensure experimental reproducibility, the parameter settings of all algorithms considered in this study are reported in
Table 1. For consistency, the population size, maximum iteration count, and number of independent trials were fixed at 100, 1000, and 30, respectively, for all methods.
4.3. Comparative Experiments and Analysis of CEC2017
To examine whether the observed performance gaps between MDHSMA and the other algorithms are statistically meaningful, the Mann–Whitney U test was applied. In the reported results, +, ≈, and − represent that MDHSMA is significantly better than, statistically comparable with, or significantly worse than the corresponding optimizer, respectively. Furthermore, the Friedman ranking test was used to obtain a comprehensive evaluation of the relative performance of all algorithms on the benchmark suite by computing their mean ranks across the test functions. For ease of comparison, the best results were highlighted in bold. The corresponding statistical summary for CEC2017 is reported in
Table 2, and the detailed numerical outcomes are included in
Appendix A. Several representative function landscapes from CEC2017 are shown in
Figure 6, and the corresponding convergence behaviors together with the box-plot distributions are presented in
Figure 7,
Figure 8,
Figure 9 and
Figure 10.
As shown in
Table 2, across all the considered dimensions, MDHSMA achieved the best overall performance in CEC2017. The statistical results suggest that this advantage comes from the combined effect of the CBLHSM initialization strategy, the hybrid position update mechanism, and the state-aware stagnation handling framework. With these components working together, MDHSMA attains high solution accuracy while maintaining stable and scalable search behavior on different benchmark functions. The box plots further show that MDHSMA produces more concentrated results over repeated runs, indicating lower variability and better repeatability. This can be attributed to the more balanced initial population distribution and the adaptive intervention mechanism based on stagnation and diversity information during evolution. The advantage is more evident in high-dimensional cases, where many conventional algorithms tend to lose diversity and converge prematurely. By preserving a broader effective search range through differential interaction and low-frequency escape operations, MDHSMA exhibits better scalability and more reliable optimization performance.
More importantly, MDHSMA shows a relatively stable advantage across different function categories and dimensional settings, suggesting that its improvements are not limited to a small subset of problems. Such cross-scenario consistency is especially important for meta-heuristic algorithms, since practical optimization tasks often involve noise, complex constraints, and high-dimensional decision variables. Without sufficient robustness, it is difficult for an algorithm to deliver repeatable and reliable results in real applications.
4.4. Comparative Experiments and Analysis of CEC2022
To gain deeper insight into the adaptability and robustness of MDHSMA under more demanding test conditions, further experiments were performed using the CEC2022 benchmark suite. This suite contains unimodal, basic, hybrid, and composite functions, and introduces more complicated shift and rotation settings than CEC2017. The experimental protocol was kept consistent with that in the previous subsection, and the problem dimensions were set to D = 10 and D = 20.
Table 3 presents the overall statistical comparison and average ranking results of 13 algorithms in CEC2022, and the complete numerical results can be found in
Appendix B.
Figure 11 illustrates the three-dimensional landscapes of several representative CEC2022 functions, and
Figure 12 and
Figure 13 present the corresponding optimization results. As shown in
Table 3, MDHSMA remains highly competitive across different dimensional settings. In the 10-dimensional cases, it secured the top overall ranking with an average rank of 1.50, and the statistical results further confirm its superiority to the comparison methods. In the 20-dimensional cases, MDHSMA held onto its leading position with an average rank of 1.08, demonstrating stable performance across medium-dimensional optimization tasks. Compared with SMA variants such as ISMA and EMSMA, MDHSMA not only preserves high accuracy on relatively simple low-dimensional problems, but also demonstrates stronger search capability and faster convergence on more complex hybrid and composite landscapes. These results indicate that the method we have proposed can provide a more stable and reliable foundation for subsequent engineering applications. Its performance advantage mainly comes from a better balance between global exploration and local exploitation, together with diversity preservation in the early stage and solution refinement in the later stage.
4.5. Ablation Experiments Based on the CEC Benchmark
In the aforementioned comparative experiments, MDHSMA demonstrated superior overall performance compared to all competing algorithms. To deeply explore the effectiveness of each improvement strategy within MDHSMA and verify the specific contributions of its core components—chaotic bimodal mirror LHS initialization (CBLHSM), history-driven adaptive differential evolution strategy (HADE), and state-aware stagnation handling (SAS)—to the overall performance of the algorithm, this section conducted a series of ablation experiments on the CEC2017 benchmark test sets.
Table 4 summarizes the average rankings of each algorithm in the ablation experiments on the CEC2017 benchmark dataset. Detailed experimental data are provided in
Appendix C.
Ablation experiments demonstrate that each strategy contributes to enhancing specific aspects of SMA performance. However, when only a single strategy or partial strategies are introduced, performance improvements tend to be localized. They either favor early exploration (e.g., using CBLHSM alone) or mid-stage exploitation (e.g., using HADE alone), leading to potential bottlenecks that hinder the stable enhancement of the entire search process. This limitation underscores the importance of adopting a holistic approach to algorithm design.
The superior performance of MDHSMA does not stem from improvements in any single strategy, but rather from the organic integration and synergistic interaction among the three core strategies: CBLHSM, HADE, and SAS. Each component plays a unique and irreplaceable role throughout the algorithm’s lifecycle, collectively forming a robust and efficient optimization system. This integration ensures that MDHSMA maintains diverse exploration and precise exploitation from the initial sampling phase to final convergence, achieving outstanding performance in CEC benchmarks. While experimental results confirm MDHSMA’s optimal performance, the NFL theorem reminds us that no single algorithm can universally excel across all optimization problems. Recent studies on bridge cable performance warning, bridge tower warning under strong wind action, rock core integrity prediction based on deep semantic segmentation, and spatio-temporal power outage risk prediction for interdependent urban electricity and drainage networks under rainstorm disasters [
40] further illustrate the broad applicability of intelligent computational frameworks in heterogeneous engineering monitoring, prediction, and decision-support tasks [
41,
42,
43]. Future research may focus on further enhancing adaptability, such as through problem-specific tuning mechanisms or adaptive strategy selection, to strengthen MDHSMA’s generalization and robustness across a broader spectrum of real-world optimization tasks.
4.6. Parameter Sensitivity Analysis of MDHSMA
Table 5 presents the average rankings, and the detailed results are given in
Appendix C. In the 30D and 50D CEC2017 tests, the parameters had some effect on MDHSMA, while the default settings generally remained within the optimal or near-optimal range. Specifically,
= 25 achieved the best average rank in both dimensions (1.67 in 30D and 1.67 in 50D), indicating a suitable trade-off between timely stagnation response and stable late-stage convergence. For
, the best value was 0.4 in 30D, whereas 0.5 and 0.6 performed best in 50D; nevertheless,
= 0.5 showed better cross-dimensional robustness and was therefore retained as the default. For
, the value 0.03 was best in 30D and tied for best in 50D, suggesting that a moderate threshold is more effective for identifying genuine stagnation. For
, the value 1.5 performed best in both dimensions, indicating that moderate modulation is more beneficial for balancing restart intensity and search stability. In summary, the default parameter settings were chosen on a reasonable empirical basis rather than arbitrarily.
7. Conclusions
This paper proposes a multi-strategy differential hybrid slime mold algorithm (MDHSMA) to address high-dimensional, multi-modal optimization problems with complex constraints. The proposed method is employed for the day-ahead optimal scheduling of microgrids considering a refined battery degradation model. Addressing the limitations of the standard SMA algorithm—its tendency to get stuck in local optima and insufficient exploration capability in complex search spaces—MDHSMA incorporates chaotic bimodal Latin hypercube sampling (CBLHSM) to enhance population diversity and exploration, integrates adaptive differential evolution strategies to improve fine-tuning capabilities during plateaus, and designs diversity-monitored low-frequency restart mechanisms with reverse learning strategies. This establishes a robust global optimization framework.
The experimental results obtained from the CEC2017 and CEC2022 benchmark functions, as well as two typical constrained engineering optimization problems, verify that MDHSMA possesses strong competitive performance with respect to convergence precision, stability, and robustness. Statistical results from the Friedman test and the Mann–-Whitney U test further confirm that MDHSMA possesses a significant competitive advantage when handling different types of topographic features and is capable of effectively balancing global search and local exploration.
In terms of engineering applications, this paper constructs a day-ahead optimization scheduling model for microgrids that accounts for both cyclic and calendar degradation, and monetizes battery life loss as a degradation cost term, thereby expanding the optimization objective from minimizing single-day operating costs to minimizing the combined total of operating costs and life loss. Simulation results demonstrate that the MDHSMA method can yield high-quality scheduling solutions in this high-dimensional, non-convex, and strongly coupled scenario. It reduces system operating costs while suppressing excessive charging and discharging of energy storage devices, thereby achieving coordinated optimization among economic efficiency, operational reliability, and equipment lifespan.
Although the proposed method has been further validated through multi-scenario robustness analysis, the current framework remains centered on day-ahead dispatch and has not yet been extended to more dynamic operating conditions. Future work may extend MDHSMA to real-time and rolling scheduling by incorporating model predictive control, robust optimization, or receding-horizon strategies, and further assess its performance in more complex source–-grid–-load–-storage coordination scenarios. In addition, because temperature effects are only treated implicitly in the current study, explicit battery temperature dynamics and electro-thermal coupled aging models could be incorporated to improve the physical fidelity of degradation-aware dispatch. The effects of reactive power injection, voltage regulation requirements, and apparent-power limits of interfaced units should also be considered to further enhance the engineering realism and applicability of the proposed method.