{"title":"在线食品配送问题中的最大流通时间最小化","authors":"Xiangyu Guo, Shi Li, Kelin Luo, Yuhao Zhang","doi":"10.1007/s00453-023-01177-1","DOIUrl":null,"url":null,"abstract":"<div><p>We study a common delivery problem encountered in nowadays online food-ordering platforms: Customers order dishes online, and the restaurant delivers the food after receiving the order. Specifically, we study a problem where <i>k</i> vehicles of capacity <i>c</i> are serving a set of requests ordering food from one restaurant. After a request arrives, it can be served by a vehicle moving from the restaurant to its delivery location. We are interested in serving all requests while minimizing the maximum flow-time, i.e., the maximum time length a customer waits to receive his/her food after submitting the order. The problem also has a close connection with the broadcast scheduling problem with maximum flow time objective. We show that the problem is hard in both offline and online settings even when <span>\\(k = 1\\)</span> and <span>\\(c = \\infty \\)</span>: There is a hardness of approximation of <span>\\(\\Omega (n)\\)</span> for the offline problem, and a lower bound of <span>\\(\\Omega (n)\\)</span> on the competitive ratio of any online algorithm, where <i>n</i> is number of points in the metric. We circumvent the strong negative results in two directions. Our main result is an <i>O</i>(1)-competitive online algorithm for the uncapaciated (i.e, <span>\\(c = \\infty \\)</span>) food delivery problem on tree metrics; we also have a negative result showing that the condition <span>\\(c = \\infty \\)</span> is needed. Then we consider the speed-augmentation model, in which our online algorithm is allowed to use <span>\\(\\alpha \\)</span>-speed vehicles, where <span>\\(\\alpha \\ge 1\\)</span> is called the speeding factor. We develop an exponential time <span>\\((1+\\epsilon )\\)</span>-speeding <span>\\(O(1/\\epsilon )\\)</span>-competitive algorithm for any <span>\\(\\epsilon > 0\\)</span>. A polynomial time algorithm can be obtained with a speeding factor of <span>\\(\\alpha _{\\textsf{TSP}}+ \\epsilon \\)</span> or <span>\\(\\alpha _{\\textsf{CVRP}}+ \\epsilon \\)</span>, depending on whether the problem is uncapacitated. Here <span>\\(\\alpha _{\\textsf{TSP}}\\)</span> and <span>\\(\\alpha _{\\textsf{CVRP}}\\)</span> are the best approximation factors for the traveling salesman (TSP) and capacitated vehicle routing (CVRP) problems respectively. We complement the results with some negative ones.\n</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 4","pages":"907 - 943"},"PeriodicalIF":0.9000,"publicationDate":"2023-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Minimizing the Maximum Flow Time in the Online Food Delivery Problem\",\"authors\":\"Xiangyu Guo, Shi Li, Kelin Luo, Yuhao Zhang\",\"doi\":\"10.1007/s00453-023-01177-1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>We study a common delivery problem encountered in nowadays online food-ordering platforms: Customers order dishes online, and the restaurant delivers the food after receiving the order. Specifically, we study a problem where <i>k</i> vehicles of capacity <i>c</i> are serving a set of requests ordering food from one restaurant. After a request arrives, it can be served by a vehicle moving from the restaurant to its delivery location. We are interested in serving all requests while minimizing the maximum flow-time, i.e., the maximum time length a customer waits to receive his/her food after submitting the order. The problem also has a close connection with the broadcast scheduling problem with maximum flow time objective. We show that the problem is hard in both offline and online settings even when <span>\\\\(k = 1\\\\)</span> and <span>\\\\(c = \\\\infty \\\\)</span>: There is a hardness of approximation of <span>\\\\(\\\\Omega (n)\\\\)</span> for the offline problem, and a lower bound of <span>\\\\(\\\\Omega (n)\\\\)</span> on the competitive ratio of any online algorithm, where <i>n</i> is number of points in the metric. We circumvent the strong negative results in two directions. Our main result is an <i>O</i>(1)-competitive online algorithm for the uncapaciated (i.e, <span>\\\\(c = \\\\infty \\\\)</span>) food delivery problem on tree metrics; we also have a negative result showing that the condition <span>\\\\(c = \\\\infty \\\\)</span> is needed. Then we consider the speed-augmentation model, in which our online algorithm is allowed to use <span>\\\\(\\\\alpha \\\\)</span>-speed vehicles, where <span>\\\\(\\\\alpha \\\\ge 1\\\\)</span> is called the speeding factor. We develop an exponential time <span>\\\\((1+\\\\epsilon )\\\\)</span>-speeding <span>\\\\(O(1/\\\\epsilon )\\\\)</span>-competitive algorithm for any <span>\\\\(\\\\epsilon > 0\\\\)</span>. A polynomial time algorithm can be obtained with a speeding factor of <span>\\\\(\\\\alpha _{\\\\textsf{TSP}}+ \\\\epsilon \\\\)</span> or <span>\\\\(\\\\alpha _{\\\\textsf{CVRP}}+ \\\\epsilon \\\\)</span>, depending on whether the problem is uncapacitated. Here <span>\\\\(\\\\alpha _{\\\\textsf{TSP}}\\\\)</span> and <span>\\\\(\\\\alpha _{\\\\textsf{CVRP}}\\\\)</span> are the best approximation factors for the traveling salesman (TSP) and capacitated vehicle routing (CVRP) problems respectively. We complement the results with some negative ones.\\n</p></div>\",\"PeriodicalId\":50824,\"journal\":{\"name\":\"Algorithmica\",\"volume\":\"86 4\",\"pages\":\"907 - 943\"},\"PeriodicalIF\":0.9000,\"publicationDate\":\"2023-10-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Algorithmica\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s00453-023-01177-1\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, SOFTWARE ENGINEERING\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-023-01177-1","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
Minimizing the Maximum Flow Time in the Online Food Delivery Problem
We study a common delivery problem encountered in nowadays online food-ordering platforms: Customers order dishes online, and the restaurant delivers the food after receiving the order. Specifically, we study a problem where k vehicles of capacity c are serving a set of requests ordering food from one restaurant. After a request arrives, it can be served by a vehicle moving from the restaurant to its delivery location. We are interested in serving all requests while minimizing the maximum flow-time, i.e., the maximum time length a customer waits to receive his/her food after submitting the order. The problem also has a close connection with the broadcast scheduling problem with maximum flow time objective. We show that the problem is hard in both offline and online settings even when \(k = 1\) and \(c = \infty \): There is a hardness of approximation of \(\Omega (n)\) for the offline problem, and a lower bound of \(\Omega (n)\) on the competitive ratio of any online algorithm, where n is number of points in the metric. We circumvent the strong negative results in two directions. Our main result is an O(1)-competitive online algorithm for the uncapaciated (i.e, \(c = \infty \)) food delivery problem on tree metrics; we also have a negative result showing that the condition \(c = \infty \) is needed. Then we consider the speed-augmentation model, in which our online algorithm is allowed to use \(\alpha \)-speed vehicles, where \(\alpha \ge 1\) is called the speeding factor. We develop an exponential time \((1+\epsilon )\)-speeding \(O(1/\epsilon )\)-competitive algorithm for any \(\epsilon > 0\). A polynomial time algorithm can be obtained with a speeding factor of \(\alpha _{\textsf{TSP}}+ \epsilon \) or \(\alpha _{\textsf{CVRP}}+ \epsilon \), depending on whether the problem is uncapacitated. Here \(\alpha _{\textsf{TSP}}\) and \(\alpha _{\textsf{CVRP}}\) are the best approximation factors for the traveling salesman (TSP) and capacitated vehicle routing (CVRP) problems respectively. We complement the results with some negative ones.
期刊介绍:
Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential.
Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming.
In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.