The GA method used in this source code is based on the 2023 article titled 'A Hybrid Genetic Algorithm for the min-max Multiple Traveling Salesman Problem' by Sasan Mahmoudinazlou and Changhyun Kwon.
Here is the link to access the paper: https://arxiv.org/abs/2307.07120
TSP Tour:
Multiple TSP:
- If you want to generate a random dataset, run GenerateDataset.java. The default datasets and the random one are stored in the /datasets folder
- To start the algorithm, run Main.java. You can choose the dataset that you want to solve there
- After finish the whole algorithm, the results for TSP and mTSP will be stored in the /results folder
- To visualize the results, run 2 .py files in /represent_result folder. Note that this feature requires matplotlib(a python library) to be installed to run