Solving the traveling salesman problem using swarm intelligence