Lightning Search Algorithm
Lightning Search Algorithm (LSA)
- Year introduced
- 2015
- Original authors
- Hussain Shareef; Ahmad Asrul Ibrahim; Ammar Hussein Mutlag
- Source of inspiration
- The propagation of stepped lightning (Step leaders)
- Search space
- Continuous
- Optimization types
- Hyperparameter Optimization
- Applied research in the repository
- 0
Overview
The solutions are step leaders; the space particles move with exponential exploration around their positions, the lead particle (the best solution) moves with Gaussian steps, and weak channels die out.
Source of inspiration and mechanism

Lightning advances through branching stepped channels, driven by projectiles of three kinds: transition, space and lead.
Initialization
Random.
Update mechanism
Three kinds of particles.
Exploration
Exponential jumps and branching.
Exploitation
Decreasing Gaussian steps for the leader.
Mathematical description
The formulas are simplified; see the original paper for details.
Space particle
p_{new}^{S} = p^{S} \pm \text{exprand}(\mu),\ \mu = |p^{L} - p^{S}|Advanced particle
p_{new}^{L} = p^{L} + \text{normrand}(\mu_L, \sigma)σ decreases over time.
Computational complexity: O(T\cdot N\cdot (D + C_f))
Pseudocode
Initialize step leaders
for t = 1..T:
evaluate; update channel time (eliminate worst, copy best)
move space projectiles (exponential) and lead projectile (Gaussian)
forking: create symmetric channel with some probability
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
| Parameter | Symbol | Typical value | Range | Description |
|---|---|---|---|---|
| Channel time | ch_time | 10 |
Advantages
Few parameters.
Limitations
Few independent comparative studies.
Use in artificial intelligence
Domains documented in the card: Machine learning, hyperparameter tuning
Continuous optimization, electric power systems.
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
Hussain Shareef; Ahmad Asrul Ibrahim; Ammar Hussein Mutlag (2015). Lightning search algorithm. Applied Soft Computing, Elsevier BV.
Verified DOI: 10.1016/j.asoc.2015.07.028
There is no tested Python code for this algorithm in this version.
