The car-sharing problem, proposed by Luo, Erlebach and Xu in 2018, mainly focuses on an online model in which there are two locations: 0 and 1, and $k$ total cars. Each request which specifies its pick-up time and pick-up location (among 0 and 1, and the other is the drop-off location) is released in each stage a fixed amount of time before its specified start (i.e. pick-up) time. The time between the booking (i.e. released) time and the start time is enough to move empty cars between 0 and 1 for relocation if they are not used in that stage. The model, called $k$S2L-F, assumes requests in each stage arrive sequentially regardless of the same booking time and the decision (accept or reject) must be made immediately. The goal is to accept as many requests as possible. The model is surprisingly not easy even for only two locations. The previous algorithm achieves a (tight) competitive ratio of $\frac{3}{2}$ only when $k$ is a multiple of three. In this paper, we aim at better algorithms under the assumption that all the requests with the same booking time arrive simultaneously. Indeed, we propose a randomized algorithm which can achieve a competitive ratio of $\frac{4}{3}$ for any value of $k$. In particular, the randomized algorithm can be extended to achieve a ratio of $\frac{2+R}{3}$ if the number of requests in each stage is at most $Rk$, where $R$ is a constant and $1 \le R \le 2$. Both ratios are tight. Our algorithm can also accommodate the original $k$S2L-F without changing its basic structure.
翻译:由Luo、 Erlebach 和 Xu 于2018年提出的汽车共享问题,主要侧重于一个在线模式,该模式有两个地点:0和1,总汽车费用为$K$。每个指定其接车时间和接车地点(0和1之间,另一个是降车地点)的请求,在每个阶段都要在指定开始(即接车)时间之前的固定时间释放。订票(即发布)时间和起始时间之间的时间足够在零到1之间移动,如果在该阶段不使用,则用于搬迁。该模式称为$K$S2L-F,在每一个阶段都按顺序处理申请,而不管相同的订票时间和决定(接受或拒绝),目标是尽可能接受许多请求。这个模式令人惊讶的是,即使是在两个地点也不容易。 以前的算法只有在美元为美元(tright)的原始竞争比率为$R2-for)之间才能移动。在这个阶段里,如果我们每次要求的 R_xx值是多次递升3美元,那么我们就可以同时提出一个更好的算。