 The Q-Learning-Based Adaptive Logarithmic Spiral-Evy Flight Firefly Algorithm, Q-Aladdafa, was developed to enhance the performance of the Firefly Algorithm, FA, which is a swarm intelligence meta-heuristic inspired by the behavior of fireflies. This algorithm uses the Q-Learning technique to enable the fireflies to learn from their environment and memory while they fly, thus improving their ability to solve optimization problems. Experimental results show that Q-Aladdafa outperformed other algorithms on 15-benchmark optimization functions and 12-engineering problems. This article was authored by Shuang Tan, Shuang Ruizhao, and Jean Ren-Wu.