pith. sign in

arxiv: 2603.26792 · v2 · submitted 2026-03-25 · 💻 cs.NE · cs.AI· cs.LG

A Firefly Algorithm for Mixed-Variable Optimization Based on Hybrid Distance Modeling

Pith reviewed 2026-05-15 00:26 UTC · model grok-4.3

classification 💻 cs.NE cs.AIcs.LG
keywords Firefly Algorithmmixed-variable optimizationhybrid distancemetaheuristicCEC2013 benchmarkengineering optimization
0
0 comments X

The pith

A modified Firefly Algorithm optimizes mixed-variable problems by using a hybrid distance to compute attractiveness across continuous and discrete variables.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper proposes FAmv, an adaptation of the Firefly Algorithm for optimization problems that mix continuous, ordinal, and categorical variables. It replaces the standard distance calculation with a hybrid version that combines distances from different variable types into one attractiveness function. This unified model aims to handle heterogeneous search spaces while keeping exploration and exploitation balanced. Tests on the CEC2013 benchmark suite and engineering design tasks show that FAmv performs competitively or better than existing mixed-variable algorithms.

Core claim

The authors establish that incorporating a mixed-distance approach into the Firefly Algorithm enables effective optimization of problems with mixed-variable search spaces, delivering competitive and often superior performance on the CEC2013 mixed-variable benchmark functions and on practical engineering design problems.

What carries the argument

A hybrid distance-based attractiveness mechanism that integrates continuous and discrete components within a unified formulation.

If this is right

  • FAmv provides an effective strategy for solving complex mixed-variable optimization problems.
  • The method maintains a balance between exploration and exploitation in heterogeneous search spaces.
  • It achieves competitive performance without requiring per-problem adjustments to the distance model.
  • Experiments on engineering design problems demonstrate practical applicability and robustness.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • This hybrid distance idea could be applied to adapt other swarm or evolutionary algorithms to mixed variables.
  • Such modeling might reduce reliance on encoding tricks or separate variable handling in optimization tools.
  • Further tests on larger or noisier real-world problems could reveal if the balance holds without retuning.

Load-bearing premise

The hybrid distance formulation correctly balances continuous and discrete components so that attractiveness reflects true problem structure without introducing bias or requiring per-problem retuning.

What would settle it

A direct comparison showing that FAmv underperforms state-of-the-art mixed-variable algorithms across most CEC2013 benchmark functions would falsify the performance claim.

Figures

Figures reproduced from arXiv: 2603.26792 by Ad\'an Jos\'e-Garc\'ia, Clarisse Dhaenens, Ousmane Tom Bechir, Vincent Sobanski, Zaineb Chelly Garcia.

Figure 1
Figure 1. Figure 1: Overall performance of MVO-based methods on CEC benchmark functions: baseline algorithms (left) and FA-based variants (right). The x-axis shows the number of results statistically similar to the best, and the y-axis shows the number of best results. Algorithms in the top-right achieve the best performance. See Tables5 and 7 for details. 5.1 Results on Benchmark Functions This section analyzes the results o… view at source ↗
Figure 2
Figure 2. Figure 2: Performance in terms of the absolute error (the lower the better) scored by the seven mixed-variable opti￾mization methods on the CEC benchmark for the unimodal functions. more detailed analysis of algorithm behavior across different landscape characteristics, and the respective convergence plots are presented in the additional material (Appendix B). As shown in [PITH_FULL_IMAGE:figures/full_fig_p012_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: Performance in terms of the absolute error (the lower the better) scored by the seven mixed-variable opti￾mization methods on the CEC benchmark for the multimodal functions. 5.2 Results on Engineering Design Problems To further investigate the performance of the proposed algorithm on real-world mixed-variable optimization problems, three engineering design problems of varying complexity are considered. The… view at source ↗
Figure 4
Figure 4. Figure 4: Performance in terms of the absolute error (the lower the better) scored by the seven MVO methods on composite functions in the CEC benchmark [PITH_FULL_IMAGE:figures/full_fig_p014_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Performance of MVO methods on the three engineering design problems (BEAM, CSD, and Vessel), measured by absolute error (top) and convergence curves (bottom). Lower values indicate better performance. 5.3 Ablation Study of the Proposed FAmv Components This section presents an ablation study to analyze the contribution of the main components of FAmv, namely the mixed￾variable movement mechanism and the para… view at source ↗
Figure 6
Figure 6. Figure 6: The description of this parameter is presented in Section 3.2 [PITH_FULL_IMAGE:figures/full_fig_p019_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Convergence curves of the MVO methods on unimodal functions in the CEC benchmark [PITH_FULL_IMAGE:figures/full_fig_p020_7.png] view at source ↗
Figure 8
Figure 8. Figure 8: Convergence curves of the MVO methods on multimodal functions in the CEC benchmark. 20 [PITH_FULL_IMAGE:figures/full_fig_p020_8.png] view at source ↗
Figure 9
Figure 9. Figure 9: Convergence curves of the MVO methods on composite functions in the CEC benchmark. C Full results on the impact of the mixed-variable movement mechanism in FA variants This section presents the results obtained by the FA-based variants that investigate the proposed mixed-variable move￾ment mechanism and the parameter adaptation strategy, as detailed in Sections 3.2 and 3.3, respectively. In total, eight FA… view at source ↗
Figure 10
Figure 10. Figure 10: Performance scored by the FA-based variants on the CEC benchmark for the unimodal functions. FA FAmvH FAmvH FAmvH FAmvH FAmvG FAmvG FAmvG FAmvG FAmv DG 10 2 10 3 10 4 Absolute Error F6 FA FAmvH FAmvH FAmvH FAmvH FAmvG FAmvG FAmvG FAmvG FAmv DG 10 6 10 7 10 8 10 9 10 10 10 11 Absolute Error F7 FA FAmvH FAmvH FAmvH FAmvH FAmvG FAmvG FAmvG FAmvG FAmv DG 2.1 × 10 1 2.105 × 10 1 2.11 × 10 1 2.115 × 10 1 2.12 ×… view at source ↗
Figure 11
Figure 11. Figure 11: Performance scored by the FA-based variants on the CEC benchmark for the multimodal functions. 23 [PITH_FULL_IMAGE:figures/full_fig_p023_11.png] view at source ↗
Figure 12
Figure 12. Figure 12: Performance scored by the FA-based variants on the CEC benchmark for the composition functions [PITH_FULL_IMAGE:figures/full_fig_p024_12.png] view at source ↗
Figure 13
Figure 13. Figure 13: Convergence curves of the FA-based variants on unimodal functions in the CEC benchmark. 24 [PITH_FULL_IMAGE:figures/full_fig_p024_13.png] view at source ↗
Figure 14
Figure 14. Figure 14: Convergence curves of the FA-based variants on multimodal functions in the CEC benchmark [PITH_FULL_IMAGE:figures/full_fig_p025_14.png] view at source ↗
Figure 15
Figure 15. Figure 15: Convergence curves of the FA-based variants on composition functions in the CEC benchmark. 25 [PITH_FULL_IMAGE:figures/full_fig_p025_15.png] view at source ↗
read the original abstract

Several real-world optimization problems involve mixed-variable search spaces, where continuous, ordinal, and categorical decision variables coexist. However, most population-based metaheuristic algorithms are designed for either continuous or discrete optimization problems and do not naturally handle heterogeneous variable types. In this paper, we propose an adaptation of the Firefly Algorithm for mixed-variable optimization problems (FAmv). The proposed method relies on a modified distance-based attractiveness mechanism that integrates continuous and discrete components within a unified formulation. This mixed-distance approach enables a more appropriate modeling of heterogeneous search spaces while maintaining a balance between exploration and exploitation. The proposed method is evaluated on the CEC2013 mixed-variable benchmark, which includes unimodal, multimodal, and composition functions. The results show that FAmv achieves competitive, and often superior, performance compared with state-of-the-art mixed-variable optimization algorithms. In addition, experiments on engineering design problems further highlight the robustness and practical applicability of the proposed approach. These results indicate that incorporating appropriate distance formulations into the Firefly Algorithm provides an effective strategy for solving complex mixed-variable optimization problems.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

3 major / 2 minor

Summary. The paper proposes FAmv, an adaptation of the Firefly Algorithm for mixed-variable optimization problems. It introduces a hybrid distance formulation that integrates continuous (Euclidean) and discrete (Hamming-style) components into the attractiveness mechanism to handle heterogeneous variable types. The method is evaluated on the CEC2013 mixed-variable benchmark suite (unimodal, multimodal, and composition functions) and several engineering design problems, with the central claim that FAmv achieves competitive and often superior performance relative to existing state-of-the-art mixed-variable solvers.

Significance. If the hybrid distance formulation is shown to balance continuous and discrete components without introducing scale-dependent bias, the work would provide a practical extension of population-based metaheuristics to real-world mixed-variable problems. The inclusion of engineering design examples strengthens the case for applicability beyond synthetic benchmarks.

major comments (3)
  1. [§3] §3 (Method), hybrid distance definition: the formulation combines continuous and discrete distances via weighting coefficients, but no derivation, normalization proof, or sensitivity analysis is supplied to demonstrate that the two terms remain commensurate across problem dimensions or variable cardinalities. This directly undermines the claim that attractiveness reflects true problem structure rather than implicit scaling.
  2. [Results] Results section and abstract: performance comparisons on CEC2013 report superior or competitive results, yet no statistical tests (e.g., Wilcoxon or Friedman), error bars, or multiple-run variance measures are mentioned. Without these, the superiority claims rest on point estimates whose reliability cannot be assessed.
  3. [§4] §4 (Experiments), benchmark tables: the absence of implementation pseudocode or parameter settings for the hybrid weighting coefficients makes it impossible to verify reproducibility or to rule out per-problem tuning that could explain the reported gains.
minor comments (2)
  1. [§3] Notation for the hybrid distance should be introduced with a single, consistently used symbol rather than alternating between descriptive phrases.
  2. [Results] Figure captions for convergence plots should explicitly state the number of independent runs and whether shaded regions represent standard deviation or quartiles.

Simulated Author's Rebuttal

3 responses · 0 unresolved

We thank the referee for the constructive comments on our manuscript. We address each major point below and will revise the paper to incorporate the suggested improvements.

read point-by-point responses
  1. Referee: [§3] §3 (Method), hybrid distance definition: the formulation combines continuous and discrete distances via weighting coefficients, but no derivation, normalization proof, or sensitivity analysis is supplied to demonstrate that the two terms remain commensurate across problem dimensions or variable cardinalities. This directly undermines the claim that attractiveness reflects true problem structure rather than implicit scaling.

    Authors: We agree that the hybrid distance formulation in Section 3 would benefit from additional justification. In the revised manuscript we will add a derivation of the hybrid distance, a normalization step to ensure commensurability of the continuous and discrete terms, and a sensitivity analysis of the weighting coefficients with respect to problem dimension and variable cardinality. revision: yes

  2. Referee: [Results] Results section and abstract: performance comparisons on CEC2013 report superior or competitive results, yet no statistical tests (e.g., Wilcoxon or Friedman), error bars, or multiple-run variance measures are mentioned. Without these, the superiority claims rest on point estimates whose reliability cannot be assessed.

    Authors: We acknowledge that statistical support is necessary. Although the experiments were run multiple times, variance measures and formal tests were omitted. The revision will include standard-deviation error bars together with Wilcoxon signed-rank and Friedman tests (with post-hoc analysis) to substantiate all performance claims. revision: yes

  3. Referee: [§4] §4 (Experiments), benchmark tables: the absence of implementation pseudocode or parameter settings for the hybrid weighting coefficients makes it impossible to verify reproducibility or to rule out per-problem tuning that could explain the reported gains.

    Authors: We will insert the complete algorithm pseudocode and explicitly list the fixed parameter values used for the hybrid weighting coefficients. The revised text will also state that no per-problem tuning was performed, thereby enabling full reproducibility. revision: yes

Circularity Check

0 steps flagged

No circularity; explicit hybrid distance evaluated on external benchmarks

full rationale

The paper defines an explicit hybrid distance for attractiveness in FAmv by combining continuous (Euclidean-style) and discrete (Hamming-style) components in a single formulation. This is then used directly in the standard Firefly update rules and tested on the independent CEC2013 mixed-variable suite plus engineering problems. No quantity is fitted to a subset of the target data and then re-presented as a prediction; no load-bearing step reduces to a self-citation whose content is itself unverified; and the distance formula is not defined in terms of the performance metric it is later evaluated on. The derivation is therefore self-contained against external benchmarks.

Axiom & Free-Parameter Ledger

1 free parameters · 1 axioms · 0 invented entities

The central claim rests on a new distance definition plus standard Firefly parameters; no new physical entities are postulated.

free parameters (1)
  • hybrid distance weighting coefficients
    Coefficients that blend the continuous and discrete distance terms; their values are chosen to produce the reported performance.
axioms (1)
  • domain assumption A single scalar hybrid distance can meaningfully represent proximity between mixed-type solutions for attractiveness purposes.
    Invoked when the modified attractiveness mechanism is introduced.

pith-pipeline@v0.9.0 · 5513 in / 1090 out tokens · 48172 ms · 2026-05-15T00:26:26.936839+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Lean theorems connected to this paper

Citations machine-checked in the Pith Canon. Every link opens the source theorem in the public Lean library.

What do these tags mean?
matches
The paper's claim is directly supported by a theorem in the formal canon.
supports
The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
extends
The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
uses
The paper appears to rely on the theorem as machinery.
contradicts
The paper's claim conflicts with a theorem or certificate in the canon.
unclear
Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.

Reference graph

Works this paper leans on

29 extracted references · 29 canonical work pages

  1. [1]

    Belegundu and T.R

    A.D. Belegundu and T.R. Chandrupatla.Engineering Optimization: Theory and Practice. Prentice Hall, 1982. 16 A Firefly Algorithm for Mixed-Variable Optimization Based on Hybrid Distance Modeling

  2. [2]

    Cambridge university press, 2004

    Stephen Boyd and Lieven Vandenberghe.Convex optimization. Cambridge university press, 2004

  3. [3]

    Non-convex mixed-integer nonlinear programming: A survey.Surveys in Operations Research and Management Science, 17(2):97–106, 2012

    Samuel Burer and Adam N Letchford. Non-convex mixed-integer nonlinear programming: A survey.Surveys in Operations Research and Management Science, 17(2):97–106, 2012

  4. [4]

    Use of a self-adaptive penalty approach for engineering optimization problems.Com- puters in Industry, 41(2):113–127, 2000

    Carlos A Coello Coello. Use of a self-adaptive penalty approach for engineering optimization problems.Com- puters in Industry, 41(2):113–127, 2000

  5. [5]

    Multiple comparisons using rank sums.Technometrics, 6(3):241–252, 1964

    Olive Jean Dunn. Multiple comparisons using rank sums.Technometrics, 6(3):241–252, 1964

  6. [6]

    Implementation of a discrete firefly algorithm for the qap problem within the sage framework

    Karel Durkota. Implementation of a discrete firefly algorithm for the qap problem within the sage framework. Technical report, Czech Technical University, 2011

  7. [7]

    A comprehensive review of firefly algorithms.Swarm and evolutionary computation, 13:34–46, 2013

    Iztok Fister, Iztok Fister Jr, Xin-She Yang, and Janez Brest. A comprehensive review of firefly algorithms.Swarm and evolutionary computation, 13:34–46, 2013

  8. [8]

    Memetic self-adaptive firefly algorithm

    Iztok Fister, Xin-She Yang, Janez Brest, and Iztok Jr Fister. Memetic self-adaptive firefly algorithm. InSwarm intelligence and bio-inspired computation, pages 73–102. Elsevier, 2013

  9. [9]

    Mixed variable structural optimization using firefly algorithm.Computers & Structures, 89(23-24):2325–2336, 2011

    Amir Hossein Gandomi, Xin-She Yang, and Amir Hossein Alavi. Mixed variable structural optimization using firefly algorithm.Computers & Structures, 89(23-24):2325–2336, 2011

  10. [10]

    A general coefficient of similarity and some of its properties.Biometrics, pages 857–871, 1971

    John C Gower. A general coefficient of similarity and some of its properties.Biometrics, pages 857–871, 1971

  11. [11]

    A simple sequentially rejective multiple test procedure.Scandinavian journal of statistics, pages 65–70, 1979

    Sture Holm. A simple sequentially rejective multiple test procedure.Scandinavian journal of statistics, pages 65–70, 1979

  12. [12]

    Evolutionary discrete firefly algorithm for travelling salesman problem

    Gilang Kusuma Jati and Suyanto. Evolutionary discrete firefly algorithm for travelling salesman problem. In International conference on adaptive and intelligent systems, pages 393–403. Springer, 2011

  13. [13]

    Particle swarm optimization

    James Kennedy and Russell Eberhart. Particle swarm optimization. InProceedings of ICNN’95-international conference on neural networks, volume 4, pages 1942–1948. ieee, 1995

  14. [14]

    Use of ranks in one-criterion variance analysis.Journal of the American statistical Association, 47(260):583–621, 1952

    William H Kruskal and W Allen Wallis. Use of ranks in one-criterion variance analysis.Journal of the American statistical Association, 47(260):583–621, 1952

  15. [15]

    Mixed integer-discrete-continuous optimization by differential evolution

    Jouni Lampinen and Ivan Zelinka. Mixed integer-discrete-continuous optimization by differential evolution. In Proceedings of the 5th international conference on soft computing, volume 71, page 76. Citeseer Princeton, NJ, USA, 1999

  16. [16]

    Xiaodong Li, Andries Engelbrecht, and Michael G Epitropakis. Benchmark functions for cec’2013 special ses- sion and competition on niching methods for multimodal function optimization.RMIT University, evolutionary computation and machine learning Group, Australia, Tech. Rep, 2013

  17. [17]

    Montes de Oca, Thomas Stützle, and Marco Dorigo

    Tianjun Liao, Krzysztof Socha, Marco A. Montes de Oca, Thomas Stützle, and Marco Dorigo. Ant colony optimization for mixed-variable optimization problems.IEEE Transactions on Evolutionary Computation, 18 (4):503–518, 2014. doi: 10.1109/TEVC.2013.2281531

  18. [18]

    A hybrid differential evolution algorithm for mixed-variable optimization problems.Information Sciences, 466:170–188, 2018

    Ying Lin, Yu Liu, Wei-Neng Chen, and Jun Zhang. A hybrid differential evolution algorithm for mixed-variable optimization problems.Information Sciences, 466:170–188, 2018

  19. [19]

    springer science & business media, 1996

    Zbigniew Michalewicz.Genetic algorithms+ data structures= evolution programs. springer science & business media, 1996

  20. [20]

    MIT press, 1998

    Melanie Mitchell.An introduction to genetic algorithms. MIT press, 1998

  21. [21]

    Retracted article: A new and efficient firefly algorithm for numerical optimization problems.Neural Computing and Applications, 31(5):1445–1453, 2019

    Xiuqin Pan, Limiao Xue, and Ruixiang Li. Retracted article: A new and efficient firefly algorithm for numerical optimization problems.Neural Computing and Applications, 31(5):1445–1453, 2019

  22. [22]

    Multi-objective loading pattern enhancement of pwr based on the discrete firefly algorithm.Annals of Nuclear Energy, 57:151–163, 2013

    N Poursalehi, A Zolfaghari, and A Minuchehr. Multi-objective loading pattern enhancement of pwr based on the discrete firefly algorithm.Annals of Nuclear Energy, 57:151–163, 2013

  23. [23]

    An improved firefly algorithm for numerical optimization problems and it’s application in constrained optimization.Engineering with Computers, 38(4):3793–3813, 2022

    Kamran Rezaei and Hassan Rezaei. An improved firefly algorithm for numerical optimization problems and it’s application in constrained optimization.Engineering with Computers, 38(4):3793–3813, 2022

  24. [24]

    Differential evolution–a simple and efficient heuristic for global optimization over continuous spaces.Journal of global optimization, 11(4):341–359, 1997

    Rainer Storn and Kenneth Price. Differential evolution–a simple and efficient heuristic for global optimization over continuous spaces.Journal of global optimization, 11(4):341–359, 1997

  25. [25]

    Metaheuristics for variable-size mixed optimization problems: A unified taxonomy and survey

    El-Ghazali Talbi. Metaheuristics for variable-size mixed optimization problems: A unified taxonomy and survey. Swarm and Evolutionary Computation, 89:101642, 2024

  26. [26]

    An estimation of distribution algorithm for mixed-variable newsvendor problems.IEEE Transactions on Evolutionary Computation, 24(3):479–493, 2019

    Feng Wang, Yixuan Li, Aimin Zhou, and Ke Tang. An estimation of distribution algorithm for mixed-variable newsvendor problems.IEEE Transactions on Evolutionary Computation, 24(3):479–493, 2019

  27. [27]

    A particle swarm optimization algorithm for mixed-variable opti- mization problems.Swarm and Evolutionary Computation, 60:100808, 2021

    Feng Wang, Heng Zhang, and Aimin Zhou. A particle swarm optimization algorithm for mixed-variable opti- mization problems.Swarm and Evolutionary Computation, 60:100808, 2021. 17 A Firefly Algorithm for Mixed-Variable Optimization Based on Hybrid Distance Modeling

  28. [28]

    Firefly algorithms for multimodal optimization

    Xin-She Yang. Firefly algorithms for multimodal optimization. InInternational symposium on stochastic algo- rithms, pages 169–178. Springer, 2009

  29. [29]

    Firefly algorithm, stochastic test functions and design optimisation.International journal of bio-inspired computation, 2(2):78–84, 2010

    Xin-She Yang. Firefly algorithm, stochastic test functions and design optimisation.International journal of bio-inspired computation, 2(2):78–84, 2010. 18 A Firefly Algorithm for Mixed-Variable Optimization Based on Hybrid Distance Modeling A FA Pseudocode The main steps of the Firefly algorithm1 are summarized in Algorithm 2. Algorithm 2:Firefly algorith...