image thumbnail

Multiobjective Firefly Algorithm (MOFA)

version 2.0.0 (6.35 KB) by XS Yang
This demo shows how the multiobjective firefly algorithm (MOFA) works.

339 Downloads

Updated 29 Mar 2020

View License

The multiobjective firefly algorithm (MOFA) is a nature-inspired optimization algorithm. This demo solves the bi-objective ZDT3 functions with D=30 (dimensions), and the obtained Pareto Front is displayed. It is relatively straightforward to extend this code to solve other multi-objective functions and optimization problems. You can change the objective functions, the dimensionality, and simple lower and upper bounds (Lb, Ub). Some parameter tuning to vary parameters slightly (such as theta, gamma, and number of iterations) may help improve the quality of the solutions.

Cite As

XS Yang (2021). Multiobjective Firefly Algorithm (MOFA) (https://www.mathworks.com/matlabcentral/fileexchange/74755-multiobjective-firefly-algorithm-mofa), MATLAB Central File Exchange. Retrieved .

Yang, Xin-She. “Multiobjective Firefly Algorithm for Continuous Optimization.” Engineering with Computers, vol. 29, no. 2, Springer Science and Business Media LLC, Jan. 2012, pp. 175–84, doi:10.1007/s00366-012-0254-1.

View more styles
MATLAB Release Compatibility
Created with R2009b
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!