Extremely Fast “Solution” to the Large-Scale and Very Large-Scale Vehicle Routing Problem

James Riechel
{"title":"Extremely Fast “Solution” to the Large-Scale and Very Large-Scale Vehicle Routing Problem","authors":"James Riechel","doi":"10.11648/j.ijtet.20210704.12","DOIUrl":null,"url":null,"abstract":"A solution to the vehicle routing problem (VRP) is presented that takes only quadratic space, O(n2), and quadratic time, O(n2), if n is the number of stops on a route. The input is assumed to be a list of stops of length n in longitude, latitude format. The output is an origin-destination (OD) matrix of size O(n2), which takes O(n2) time to build. The element (i, j) in the matrix is the approximate driving distance between stop i and stop j on the route. Each approximate driving distance takes constant or O(1) time to compute. (The approximate driving distance appears in previous work by the author, published in URISA GIS-Pro ‘19 and CalGIS 2020.) This OD matrix is well-suited for solving large-scale and very large-scale VRP problems, since computing approximate driving distances is lightning fast. For instance, using real-world data, it took less than one (1) second to produce a route with 5,156 stops. The OD matrix can be used with any exact or approximation algorithm to find a route, including the nearest-neighbor approximation algorithm: Starting at an origin, the next closest stop is visited repeatedly, ending at the destination once all stops have been visited. Determining the next stop to visit takes linear or O(n) time to compute, and this is done O(n) times. This solution to the VRP is a polynomial-time, O(n2), approximation; it is not exact, but is extremely fast.","PeriodicalId":265375,"journal":{"name":"International Journal of Transportation Engineering and Technology","volume":"63 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Transportation Engineering and Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.11648/j.ijtet.20210704.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

A solution to the vehicle routing problem (VRP) is presented that takes only quadratic space, O(n2), and quadratic time, O(n2), if n is the number of stops on a route. The input is assumed to be a list of stops of length n in longitude, latitude format. The output is an origin-destination (OD) matrix of size O(n2), which takes O(n2) time to build. The element (i, j) in the matrix is the approximate driving distance between stop i and stop j on the route. Each approximate driving distance takes constant or O(1) time to compute. (The approximate driving distance appears in previous work by the author, published in URISA GIS-Pro ‘19 and CalGIS 2020.) This OD matrix is well-suited for solving large-scale and very large-scale VRP problems, since computing approximate driving distances is lightning fast. For instance, using real-world data, it took less than one (1) second to produce a route with 5,156 stops. The OD matrix can be used with any exact or approximation algorithm to find a route, including the nearest-neighbor approximation algorithm: Starting at an origin, the next closest stop is visited repeatedly, ending at the destination once all stops have been visited. Determining the next stop to visit takes linear or O(n) time to compute, and this is done O(n) times. This solution to the VRP is a polynomial-time, O(n2), approximation; it is not exact, but is extremely fast.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
快速“解决”大规模和超大规模车辆路线问题
提出了一种求解车辆路径问题(VRP)的方法,该方法只占用二次空间O(n2)和二次时间O(n2),其中n为路线上的站点数。假设输入是一个长度为n的经度,纬度格式的站点列表。输出是一个大小为O(n2)的原点-目的地(OD)矩阵,它需要O(n2)时间来构建。矩阵中的元素(i, j)是路线上第i站和第j站之间的近似行驶距离。每个近似行驶距离需要常数或O(1)时间来计算。(大致的驾驶距离出现在作者之前的工作中,发表在URISA GIS-Pro ' 19和CalGIS 2020上。)这个OD矩阵非常适合解决大规模和非常大规模的VRP问题,因为计算近似行驶距离非常快。例如,使用真实世界的数据,不到1秒就能生成一条包含5156个站点的路线。OD矩阵可以与任何精确或近似算法一起使用,包括最近邻近似算法:从原点开始,重复访问下一个最近的站点,一旦访问了所有站点,就在目的地结束。确定要访问的下一个站点需要线性或O(n)时间来计算,这需要O(n)次。这个VRP的解是一个多项式时间的近似,O(n2);它不精确,但速度极快。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Short-Term Traffic Flow Prediction Based on Wavelet Analysis and XGBoost Interpolation Analysis of Shipborne Hydrographic Survey Data Applied to the Discussion of Safe Navigation of Vessels -- Taking Zhoushan Tiaozhoumen Channel as an Example Parameter Estimation and Sensitivity Analysis of Bus Rapid Transit Frequency in Tanzania

Risk Assessment and Measures to Improve Safety Management of Offshore Platforms in Marine Engineering Projects Implications of Tech-Enabled Transport on Planning and Investment of Transport Infrastructure
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1