ACS Applied Computer Science

  • Increase font size
  • Default font size
  • Decrease font size

APPLICATION OF GENETIC ALGORITHMS TO THE TRAVELING SALESMAN PROBLEM

Print

The purpose of this paper was to investigate in practice the possibility of using evolutionary algorithms to solve the traveling salesman problem on a real example. The goal was achieved by developing an original implementation of the evolutionary algorithm in Python, and by preparing an example of the traveling salesman problem in the form of a directed graph representing Polish voivodship cities. As part of the work an application in Python was written. It provides a user interface which allows to set selected parameters of the evolutionary algorithm and solve the prepared problem. The results are presented in both text and graphical form. The correctness of the evolu¬tionary algorithm's operation and the implementation was confirmed by performed tests. A large number of tested solutions (2500) and the analysis of the obtained results allowed for a conclusion that an optimal (relatively suboptimal) solution was found.

  • APA 7th style
Sikora, T., & Gryglewicz-kacerka, W. (2023). Application of genetic algorithms to the traveling salesman problem. Applied Computer Science, 19(2), 55-62. https://doi.org/10.35784/acs-2023-14
  • Chicago style
Sikora, Tomasz, and Wanda Gryglewicz-kacerka. "Application of genetic algorithms to the traveling salesman problem." Applied Computer Science 19, no. 2 (2023): 55-62.
  • IEEE style
T. Sikora and W. Gryglewicz-kacerka, "Application of genetic algorithms to the traveling salesman problem," Applied Computer Science, vol. 19, no. 2, pp.55-62, 2023, doi: 10.35784/acs-2023-14.
  • Vancouver style
Sikora T, Gryglewicz-kacerka W. Application of genetic algorithms to the traveling salesman problem. Applied Computer Science. 2023;19(2):55-62.