Muhammad Firdaus Shafie, F. Ahmad, Muhammad Khusairi Osman, Ahmad Puad Ismail, K. A. Ahmad, S. Z. Yahaya, M. Idris, Anwar Hassan Ibrahim
{"title":"Optimization of Saleman Travelling Problem Using Genetic Algorithm with Combination of Order and Random Crossover","authors":"Muhammad Firdaus Shafie, F. Ahmad, Muhammad Khusairi Osman, Ahmad Puad Ismail, K. A. Ahmad, S. Z. Yahaya, M. Idris, Anwar Hassan Ibrahim","doi":"10.1109/ICCSCE58721.2023.10237137","DOIUrl":null,"url":null,"abstract":"Traveling salesman problem (TSP) is a problem of determining the shortest path for a salesman to take to visit all cities. Although a small number of cities is easy to solve, as the number of cities increases, it’s not possible to solve in polynomial time as it was a combinatorial nondeterministic polynomial (NP-hard) problem. Hence, this project is implementing a genetic algorithm (GA) to solve TSP using Python programming. The focus of this paper is to analyze the GA using order crossover (OX) and random crossover (RX) and propose a combination mechanism, direct combination (OX-RX) and Dynamic Linear combination (OXRX-Linear) to optimize TSP. We test GA for OX and RX in a random set of cities, up to 75 total cities. Then compare the result of the proposed combination OX-RX and OX-RXLinear. The result shows that both proposed combined mechanisms OX-RX and OX-RX-Linear improve the performance of GA in solving TSP.","PeriodicalId":287947,"journal":{"name":"2023 IEEE 13th International Conference on Control System, Computing and Engineering (ICCSCE)","volume":"04 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE 13th International Conference on Control System, Computing and Engineering (ICCSCE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCSCE58721.2023.10237137","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Traveling salesman problem (TSP) is a problem of determining the shortest path for a salesman to take to visit all cities. Although a small number of cities is easy to solve, as the number of cities increases, it’s not possible to solve in polynomial time as it was a combinatorial nondeterministic polynomial (NP-hard) problem. Hence, this project is implementing a genetic algorithm (GA) to solve TSP using Python programming. The focus of this paper is to analyze the GA using order crossover (OX) and random crossover (RX) and propose a combination mechanism, direct combination (OX-RX) and Dynamic Linear combination (OXRX-Linear) to optimize TSP. We test GA for OX and RX in a random set of cities, up to 75 total cities. Then compare the result of the proposed combination OX-RX and OX-RXLinear. The result shows that both proposed combined mechanisms OX-RX and OX-RX-Linear improve the performance of GA in solving TSP.