ABSTRACT

The firefly algorithm (FA) is a swarm intelligence-based algorithm and has been shown to be effective in solving nonlinear optimization problems, especially multimodal problems where the objective landscape can have many maxima or minima. This chapter provides an introduction to the standard firefly algorithm and its main steps. Detailed pseudo-code, Matlab and C++ demo codes will be provided. Discussions of its key components will also be carried out.