On a warm summer night, a meadow full of fireflies turns into a living optimization machine. Each insect flashes its own pattern, and brighter flashes attract nearby fireflies. Over time the swarm converges: clusters appear around the brightest spots, and dim loners march toward them.
The Firefly Algorithm (FA), introduced by mathematician Xin-She Yang in 2008, turns this biology into mathematics. Every candidate solution to a problem is a firefly. Its brightness (attractiveness) is its quality — the value of the objective function. The rule is simple: a firefly moves toward any neighbor that outshines it, with attraction fading as distance increases.
No gradient, no derivative, no global view of the landscape. Just local light signals — and yet the swarm reliably clusters on the peaks. That mix of simplicity and power has made FA one of the most-studied non-convex optimization algorithms of the last two decades.
Comments
Loading comments...