discretization of the firefly algorithm for the travelling salesman