Solving the traveling salesman problem with a genetic algorithm