Electric Eel Foraging Optimization
Electric Eel Foraging Optimization (EEFO)
- Year introduced
- 2024
- Original authors
- Weiguo Zhao; Liying Wang; Zhenxing Zhang; Honggang Fan; Jiajie Zhang; Seyedali Mirjalili; Nima Khodadadi; Qingjiao Cao
- Source of inspiration
- Electric eel
- Search space
- Continuous
- Optimization types
- Hyperparameter Optimization
- Applied research in the repository
- 0
Overview
An algorithm inspired by four foraging behaviours of the electric eel: interacting, resting, hunting and migrating. An energy factor that decreases over the iterations governs the switch from exploration to exploitation.
Source of inspiration and mechanism

The electric eel sometimes hunts in groups: its members interact to corner a school of fish, release electric shocks that stun the prey, rest in a set area, and migrate between resting areas and hunting areas. Scientific name: Electrophorus electricus.
Initialization
Uniform random distribution inside the bounds of the search space.
Update mechanism
An energy factor that sets the behaviour for each individual.
Exploration
The interacting behaviour when energy is high.
Exploitation
Resting, hunting and migrating when energy is low.
Mathematical description
Interacting moves the individual relative to other individuals (exploration). Resting, hunting and migrating move it around the resting area or the hunting area surrounding the best solution (exploitation). The energy factor E, which decreases over time, decides which of the two behaviours is applied.
This algorithm's equations were not included because they have not yet been matched with the original text. See the original reference below.
Computational complexity: O(T\cdot N\cdot (D + C_f))
Pseudocode
Initialize
for t = 1..T:
for each eel i:
E = energy factor (decreasing)
if E > 1: interacting
else: resting / hunting / migrating
greedy selection
return bestPython implementation
There is currently no tested python implementation of this algorithm in the lab. We did not include untested code so that it is not used as a reference implementation.
Coefficients
No parameters recorded.
Advantages
- Not many specific parameters
- Tested on engineering problems.
Limitations
The comparative results were published by the authors and have not been reproduced experimentally in this encyclopedia.
Use in artificial intelligence
Domains documented in the card: Machine learning, deep learning, hyperparameter tuning
Continuous optimization and engineering design.
Hybridization potential
These are partnerships suggested theoretically in the card; any resulting design is presented as a "proposed hybrid method" until its results are compared with the literature.
Applied research from the repository
An aspect that did not appear in the current search results within the repository. This does not mean there is no published research outside it.
Original reference
Weiguo Zhao; Liying Wang; Zhenxing Zhang; Honggang Fan; Jiajie Zhang; Seyedali Mirjalili; Nima Khodadadi; Qingjiao Cao (2024). Electric eel foraging optimization: A new bio-inspired optimizer for engineering applications. Expert Systems with Applications, Elsevier BV.
Verified DOI: 10.1016/j.eswa.2023.122200
The paper's abstract is not available in Crossref; the description is summarized from the original paper, which contains the detailed equations. The bibliographic data match the Crossref record (checked 2026-11-21). There is no tested Python code for this algorithm in this version.
