APPLICATION OF GENETIC ALGORITHMS TO THE TRAVELING SALESMAN PROBLEM

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...

Full description

Bibliographic Details
Main Authors: Tomasz SIKORA, Wanda GRYGLEWICZ-KACERKA
Format: Article
Language:English
Published: Polish Association for Knowledge Promotion 2023-06-01
Series:Applied Computer Science
Subjects:
Online Access:http://www.acs.pollub.pl/index.php?option=com_content&view=article&id=565:application-of-genetic-algorithms-to-the-traveling-salesman-problem&catid=97:vol-19-no-22023&Itemid=171
Description
Summary: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 evolutionary 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.
ISSN:1895-3735
2353-6977