Skip to content

Add Electric Eel Foraging Optimization (EEFO) algorithm#265

Merged
thieu1995 merged 2 commits into
thieu1995:masterfrom
Orbadgu:master
Jul 9, 2026
Merged

Add Electric Eel Foraging Optimization (EEFO) algorithm#265
thieu1995 merged 2 commits into
thieu1995:masterfrom
Orbadgu:master

Conversation

@Orbadgu

@Orbadgu Orbadgu commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

📑 Description

I have implemented the Electric Eel Foraging Optimization (EEFO) for the swarm_based module, following the methodology described in the original paper by Zhao et al. (2024). This implementation follows the original mathematical formulas, strictly porting the logic 1:1 from the original MATLAB source code.
To ensure computational efficiency and integration with the mealpy standards, the algorithm is built using fully vectorized NumPy operations and inherits directly from the mealpy.Optimizer class.

Algorithm Details:

  • Name: Electric Eel Foraging Optimization (EEFO)
  • Paper: Zhao et al., "Electric eel foraging optimization: A new bio-inspired optimizer for engineering applications", Expert Systems with Applications, 2024.
  • DOI: https://doi.org/10.1016/j.eswa.2023.122200

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

Comparison of benchmark tests between Original MATLAB code & Python implementation:

  • Configuration: Epoch = 500, Pop_Size = 50, Runs = 30
  • Note: Results for F10, F15, and F21 are mathematically identical. Minor deviations in F5 and F7 are expected due to RNG differences between Python/MATLAB.
Function Name MATLAB Result (Mean) Python Result (Mean)
F5 Rosenbrock 4.0728e-08 1.7773e-06
F7 Quartic 1.6451e-04 1.6291e-04
F10 Ackley 4.4409e-16 4.4409e-16
F15 Kowalik 3.0749e-04 3.0749e-04
F21 Shekel 5 -1.0153e+01 -1.0153e+01

@thieu1995 thieu1995 merged commit e6866fa into thieu1995:master Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants