The Standard Firefly Algorithm (FA)
Updated 29 Mar 2020
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
XS Yang (2023). 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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.