The datasets come from TSPLIB, a collection of traveling salseperson problem datasets maintained by Gerhard Reinelt at Click Here We have chosen a subset of EUC_2D examples as the dataset.
Selection: Process of selecting two or more parent chromosomes from a given generation of population for mating. Here we have used tournament selection.
Crossover: Operation performed on the parents to produce offsprings. Here we have used order crossover with probability pc.
Mutation: Permanent change in the sequence of DNA. Here, Swap mutation is performed with probability pm
- There are file parsing issues for some datasets in the getCitiesFromFile() function in TSP.py