Abstract
We have proposed a firefly algorithm that distinguishes between males and females. In this algorithm, both males and females exist. In this study, we investigate the features of our proposed algorithm by changing the parameters and the percentage of females. We compare our proposed firefly algorithm with the conventional firefly algorithm using four well-known test functions. Numerical experiments indicate that our proposed firefly algorithm is superior to the conventional firefly algorithm under some conditions.