{"title":"旅行销售人员问题的2-Opt启发式有效变体的性能","authors":"Bodo Manthey, Jesse van Rhijn","doi":"10.1016/j.dam.2025.05.034","DOIUrl":null,"url":null,"abstract":"<div><div>We analyze variants of the 2-opt local search heuristic for the Traveling Salesperson Problem (TSP) with guaranteed polynomial running-time. First we consider X-opt, a heuristic that removes intersecting pairs of edges from two-dimensional Euclidean instances. We show that the longest X-optimal tour may be approximately <span><math><mrow><mi>n</mi><mo>/</mo><mn>2</mn></mrow></math></span> times longer than the optimal tour in the worst case. Moreover, even when the instance consists of <span><math><mi>n</mi></math></span> points placed uniformly at random in the unit square, the longest tour is <span><math><mrow><mi>Ω</mi><mrow><mo>(</mo><msqrt><mrow><mi>n</mi></mrow></msqrt><mo>)</mo></mrow></mrow></math></span> times longer than the optimal tour. Next, we propose a new heuristic, which we call Y-opt, that is defined for all TSP instances, not just Euclidean ones. Y-opt has essentially the same approximation guarantees as the well-studied 2-opt. We furthermore evaluate the approximation performance of both X-opt and Y-opt numerically on random instances and compare them to 2-opt. While Y-opt behaves as predicted, we find that X-opt appears to have a constant approximation ratio on these instances in practice.</div></div>","PeriodicalId":50573,"journal":{"name":"Discrete Applied Mathematics","volume":"375 ","pages":"Pages 7-16"},"PeriodicalIF":1.0000,"publicationDate":"2025-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Performance of efficient variants of the 2-Opt heuristic for the traveling salesperson problem\",\"authors\":\"Bodo Manthey, Jesse van Rhijn\",\"doi\":\"10.1016/j.dam.2025.05.034\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>We analyze variants of the 2-opt local search heuristic for the Traveling Salesperson Problem (TSP) with guaranteed polynomial running-time. First we consider X-opt, a heuristic that removes intersecting pairs of edges from two-dimensional Euclidean instances. We show that the longest X-optimal tour may be approximately <span><math><mrow><mi>n</mi><mo>/</mo><mn>2</mn></mrow></math></span> times longer than the optimal tour in the worst case. Moreover, even when the instance consists of <span><math><mi>n</mi></math></span> points placed uniformly at random in the unit square, the longest tour is <span><math><mrow><mi>Ω</mi><mrow><mo>(</mo><msqrt><mrow><mi>n</mi></mrow></msqrt><mo>)</mo></mrow></mrow></math></span> times longer than the optimal tour. Next, we propose a new heuristic, which we call Y-opt, that is defined for all TSP instances, not just Euclidean ones. Y-opt has essentially the same approximation guarantees as the well-studied 2-opt. We furthermore evaluate the approximation performance of both X-opt and Y-opt numerically on random instances and compare them to 2-opt. While Y-opt behaves as predicted, we find that X-opt appears to have a constant approximation ratio on these instances in practice.</div></div>\",\"PeriodicalId\":50573,\"journal\":{\"name\":\"Discrete Applied Mathematics\",\"volume\":\"375 \",\"pages\":\"Pages 7-16\"},\"PeriodicalIF\":1.0000,\"publicationDate\":\"2025-06-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Discrete Applied Mathematics\",\"FirstCategoryId\":\"100\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0166218X2500294X\",\"RegionNum\":3,\"RegionCategory\":\"数学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"MATHEMATICS, APPLIED\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Discrete Applied Mathematics","FirstCategoryId":"100","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0166218X2500294X","RegionNum":3,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
Performance of efficient variants of the 2-Opt heuristic for the traveling salesperson problem
We analyze variants of the 2-opt local search heuristic for the Traveling Salesperson Problem (TSP) with guaranteed polynomial running-time. First we consider X-opt, a heuristic that removes intersecting pairs of edges from two-dimensional Euclidean instances. We show that the longest X-optimal tour may be approximately times longer than the optimal tour in the worst case. Moreover, even when the instance consists of points placed uniformly at random in the unit square, the longest tour is times longer than the optimal tour. Next, we propose a new heuristic, which we call Y-opt, that is defined for all TSP instances, not just Euclidean ones. Y-opt has essentially the same approximation guarantees as the well-studied 2-opt. We furthermore evaluate the approximation performance of both X-opt and Y-opt numerically on random instances and compare them to 2-opt. While Y-opt behaves as predicted, we find that X-opt appears to have a constant approximation ratio on these instances in practice.
期刊介绍:
The aim of Discrete Applied Mathematics is to bring together research papers in different areas of algorithmic and applicable discrete mathematics as well as applications of combinatorial mathematics to informatics and various areas of science and technology. Contributions presented to the journal can be research papers, short notes, surveys, and possibly research problems. The "Communications" section will be devoted to the fastest possible publication of recent research results that are checked and recommended for publication by a member of the Editorial Board. The journal will also publish a limited number of book announcements as well as proceedings of conferences. These proceedings will be fully refereed and adhere to the normal standards of the journal.
Potential authors are advised to view the journal and the open calls-for-papers of special issues before submitting their manuscripts. Only high-quality, original work that is within the scope of the journal or the targeted special issue will be considered.