Firefly Algorithm

Firefly Algorithm for Constrained Optimization


Updated 16 Aug 2011

View License

Firefly algorithm for nonlinear constrained optimization.

For simple demo in 2D, please use firefly_simple.m

For unconstrained functions in higher dimenisions, please use fa_ndim.m

For nonlinear constrained optimization,
please use fa_mincon.m

Cite As

Xin-She Yang (2023). Firefly Algorithm (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Nonlinear Optimization in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

This updates includes extra demo files.

This update includes more robust demo programs.