Skip to content

kbdev-21/mTSP_GA_Java

Repository files navigation

Solve Multiple Traveling Salesman Problem using Genetic Algorithm in Java

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:

Figure_2

Multiple TSP:

Figure_3

How to run the program

  1. If you want to generate a random dataset, run GenerateDataset.java. The default datasets and the random one are stored in the /datasets folder
  2. To start the algorithm, run Main.java. You can choose the dataset that you want to solve there
  3. After finish the whole algorithm, the results for TSP and mTSP will be stored in the /results folder
  4. 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

About

Solve mTSP problem using Genetic Algorithm in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •