image thumbnail

The Standard Firefly Algorithm (FA)

version 2.0.0 (2.26 KB) by XS Yang
This demo shows how the firefly algorithm (FA) works.

689 Downloads

Updated 29 Mar 2020

View License

The standard firefly algorithm is inspired by the flashing patterns of tropical fireflies. This demo solves a function of d=10 dimensions. It is straightforward to extend it to solve other functions and optimization problems.

The details can be found in the book: Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier Insights, (2014). https://www.sciencedirect.com/book/9780124167438/nature-inspired-optimization-algorithms

Cite As

XS Yang (2021). The Standard Firefly Algorithm (FA) (https://www.mathworks.com/matlabcentral/fileexchange/74769-the-standard-firefly-algorithm-fa), MATLAB Central File Exchange. Retrieved .

Xin-She Yang, Nature-Inspired Optimization Algorithms, Elsevier Insights, (2014)

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!