The firefly algorithm is a bio-inspired metaheuristic grounded in the flashing behaviour of fireflies. In this model, candidate solutions are treated as fireflies whose brightness represents objective ...