Skip to main content
QUICK REVIEW

[Paper Review] Firefly Algorithm for optimization problems with non-continuous variables: A Review and Analysis

Surafel Luleseged Tilahun, Jean Medard T Ngnotchouye|arXiv (Cornell University)|Feb 25, 2016
Metaheuristic Optimization Algorithms ResearchComputer Science4 citations
TL;DR

This paper reviews and analyzes modifications of the Firefly Algorithm (FA) for optimization problems with non-continuous variables, such as binary and integer variables. It compares two main approaches—discretization via sigmoid/tanh functions after continuous updates versus direct discrete-space updates—and identifies key strengths, weaknesses, and future research directions for improving FA's performance on discrete problems.

ABSTRACT

Firefly algorithm is a swarm based metaheuristic algorithm inspired by the flashing behavior of fireflies. It is an effective and an easy to implement algorithm. It has been tested on different problems from different disciplines and found to be effective. Even though the algorithm is proposed for optimization problems with continuous variables, it has been modified and used for problems with non-continuous variables, including binary and integer valued problems. In this paper a detailed review of this modifications of firefly algorithm for problems with non-continuous variables will be discussed. The strength and weakness of the modifications along with possible future works will be presented.

Motivation & Objective

  • To systematically review and analyze modifications of the Firefly Algorithm (FA) for solving optimization problems with non-continuous variables, including binary and integer variables.
  • To evaluate the strengths and weaknesses of different FA variants designed for discrete optimization problems.
  • To identify limitations in current approaches, such as reliance on continuous-space updates followed by discretization, which may lead solutions away from optimal discrete values.
  • To propose future research directions, including adaptive parameter control, hybrid search mechanisms, and generalization of problem-specific modifications.
  • To compare the effectiveness of continuous-space update with discretization versus direct discrete-space update in terms of convergence and solution quality.

Proposed method

  • Adapts the standard Firefly Algorithm by applying continuous-space update rules using the attraction formula: $ x_i := x_i + \beta_0 e^{-\gamma r_{ij}^2} (x_j - x_i) $, followed by conversion to discrete values via sigmoid or hyperbolic tangent functions.
  • Employs a random movement component: $ x_i := x_i + \alpha (\text{rand}() - 0.5) $, with $ \alpha $ decreasing over iterations to balance exploration and exploitation.
  • Uses a brightness-based attraction mechanism where brighter fireflies (lower objective function values) attract others, with light intensity modeled as $ \beta = \beta_0 e^{-\gamma r^2} $.
  • Introduces problem-specific modifications, such as in supplier selection and knapsack problems, where update rules are tailored to problem structure and constraints.
  • Applies local search and random flight strategies in some variants, where top-performing fireflies undergo local search or random perturbations to improve solutions.
  • Proposes alternative update mechanisms such as $ \beta = \frac{\beta_0}{\omega + r} $ to avoid singularity and improve numerical stability.

Experimental results

Research questions

  • RQ1How effective are continuous-space update followed by discretization (e.g., using sigmoid functions) in solving binary and integer optimization problems with the Firefly Algorithm?
  • RQ2What are the limitations of using continuous-space updates for discrete problems, particularly when the optimal solution in the continuous space is far from the nearest discrete solution?
  • RQ3How does direct discrete-space updating—based on problem-specific coding and distance metrics—compare to continuous-space-based discretization in terms of convergence and solution quality?
  • RQ4What parameter control strategies (e.g., adaptive $ \alpha $, dynamic $ \beta $) improve FA performance on non-continuous problems?
  • RQ5What future research directions, such as hybrid search or adaptive step sizes, could enhance the Firefly Algorithm’s effectiveness for discrete optimization?

Key findings

  • The first category of modifications—continuous-space update followed by discretization using sigmoid or tanh functions—is widely used but may mislead solutions toward continuous optima that are far from optimal discrete values.
  • The second category—direct discrete-space update based on problem-specific coding and distance measures—offers better performance by avoiding the pitfalls of continuous-space approximation.
  • In problems like knapsack and supplier selection, problem-specific modifications of FA significantly improve convergence and solution quality compared to standard FA.
  • Decreasing the step size $ \alpha $ over iterations enhances solution quality by shifting from exploration to exploitation, and adaptive or dynamic $ \alpha $ could further improve performance.
  • The use of local search on the brightest fireflies and random flight on top performers improves local refinement and avoids premature convergence.
  • Future work should focus on merging continuous and discrete search mechanisms, generalizing problem-specific modifications, and developing adaptive parameters that respond to algorithm performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.