A Firefly Algorithm for Mixed-Variable Optimization Based on Hybrid Distance Modeling
Hey there, superstar! Imagine you want to find the best yummy cookie in a giant kitchen.
Sometimes, the cookies are big or small (that's like a "continuous" thing). Sometimes, they are crunchy or soft (that's like a "categorical" thing). And sometimes, they have 1, 2, or 3 chocolate chips (that's like an "ordinal" thing).
It's tricky to find the best cookie when there are so many different kinds of choices!
Scientists made a special game, like a "Firefly Algorithm." Imagine lots of little fireflies flying around, looking for the brightest light, which is like the best cookie!
But these fireflies are extra smart. They learned a new way to look for cookies that have all these different kinds of choices at once! They can tell if a cookie is big and crunchy and has 3 chips.
So, these super fireflies help computers find the very best answers to tricky problems, even when the answers are all mixed up with different kinds of things! Isn't that cool? ✨🍪
arXiv:2603.26792v1 Announce Type: cross 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 contin — Ousmane Tom Bechir, Ad\'an Jos\'e-Garc\'ia, Zaineb Chelly Garcia, Vincent Sobanski, Clarisse Dhaenens
View PDF HTML (experimental)
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.
Comments: 25 pages, 15 figures, 7 tables
Subjects:
Neural and Evolutionary Computing (cs.NE); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2603.26792 [cs.NE]
(or arXiv:2603.26792v1 [cs.NE] for this version)
https://doi.org/10.48550/arXiv.2603.26792
arXiv-issued DOI via DataCite (pending registration)
Submission history
From: Adán José-García [view email] [v1] Wed, 25 Mar 2026 16:52:54 UTC (4,449 KB)
Sign in to highlight and annotate this article

Conversation starters
Daily AI Digest
Get the top 5 AI stories delivered to your inbox every morning.
More about
researchpaperarxiv
How to Build an AI Content Playbook That Actually Protects Your Voice
Ahnii! You've read the articles warning you not to let AI take over your content. Ruth Doherty's latest piece is one of the best: a clear-eyed breakdown of where AI helps and where it silently destroys your brand. This post shows you how to take that framework and turn it into an actual operating document for your content pipeline. Why a Framework Without a Playbook Doesn't Stick Ruth's core argument is sharp: AI is an efficiency engine, not a strategy engine. Use it for research, structuring, repurposing, and editing. Keep it away from messaging, customer research, and anything that requires your actual point of view. That distinction is easy to agree with. It's harder to enforce on a Tuesday afternoon when you're behind on three social posts and the AI can draft all of them in 90 seconds

Top 10 Best Universities to Study AI in USA 2026 Led by CMU and MIT With Strong Research and Industry Ties - International Business Times Australia
Top 10 Best Universities to Study AI in USA 2026 Led by CMU and MIT With Strong Research and Industry Ties International Business Times Australia
Knowledge Map
Connected Articles — Knowledge Graph
This article is connected to other articles through shared AI topics and tags.




Discussion
Sign in to join the discussion
No comments yet — be the first to share your thoughts!