arXiv:2610.01993cs.DSOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.01993

Beating One Half for Online Bipartite Matching with Reusable Resources

Xiaohui Bei, Zhihao Gavin Tang, Wenhao Wu

Abstract

We study online bipartite matching with unit-inventory reusable resources, where requests arrive in an adversarially fixed order, and each use of a resource makes it unavailable for an independent duration drawn from a resource-dependent distribution. The benchmark knows all requests in advance but cannot observe a duration before choosing the corresponding use.

The classical RANKING algorithm of Karp, Vazirani, and Vazirani (STOC 1990) fixes a uniformly random priority order of the resources and matches each arriving request to its highest-priority available neighbor. It achieves the optimal competitive ratio 1−1/e1 - 1/e for unweighted nonreusable resources, but whether it beats 1/21/2 for reusable resources has remained open. We prove that, for unweighted resources with resource-dependent stochastic durations, RANKING achieves a competitive ratio of (5−23)/3≈0.511966(5 - 2\sqrt{3})/3 \approx 0.511966. We also give a black-box reduction from unweighted RANKING to resource-weighted matching: any unweighted competitive ratio α>1/2\alpha > 1/2 yields a weighted ratio strictly above 1/21/2. With independent sampling access to the duration distributions, the reduction gives a weighted ratio of 0.500034. These results resolve two questions left open by Delong et al. (MOR 2024): whether RANKING beats 1/21/2, and whether one can beat 1/21/2 under stochastic durations.

We analyze RANKING resource by resource, rather than request by request. For deterministic durations, this gives a reduction to random-order greedy for a coverage function. We then extend the analysis to stochastic durations by comparing the residual schedules of RANKING and a greedy algorithm, and apply a finer analysis of the random ranks to obtain the stated 0.511 bound. For the weighted reduction, we apply RANKING within groups of similar weights and uses weighted greedy to control the loss between groups.

*Nanyang Technological University. Emails: xhbei@ntu.edu.sg (Xiaohui Bei) and wenhao008@e.ntu.edu.sg (Wenhao Wu).

†^{\dagger}Key Laboratory of Interdisciplinary Research of Computation and Economics, Shanghai University of Finance and Economics. Email: tang.zhihao@mail.shufe.edu.cn.

1 Introduction

Many online platforms and service systems face a common operational problem: a limited pool of resources must be allocated to demand that arrives sequentially over time. Examples include car rental, job scheduling, hospital bed assignment, and cloud computing. In many such settings, using a resource does not consume it permanently: the resource is occupied for some time and then becomes available again. A vehicle can serve another trip after it returns, a server after a job is completed, and a room or bed after it is released. We refer to such resources as reusable.

With reusable resources, an assignment affects both current reward and future availability. Serving a request now may prevent the same resource from serving a later request with fewer alternatives. Holding the resource back preserves flexibility, but may waste capacity if favorable future demand never arrives. The tradeoff is already prevalent with unit inventory, where there is only one copy of each resource. Heterogeneous or stochastic service durations add another source of uncertainty because different uses release capacity at different times.

A natural model for such problems is online bipartite matching with reusable resources (OBMRR). There is a fixed set V of resources, and requests arrive one at a time. Each request must be rejected or assigned immediately to an available compatible resource. A use of resource v earns reward cvc_v and makes it unavailable for a duration drawn from Dv\mathcal{D}_v. Durations are independent, and their distributions may depend on the resource. In the unweighted problem, all cv=1c_v = 1; in the resource-weighted problem, rewards may differ arbitrarily. We compare the algorithm with a nonanticipatory benchmark: it knows the full request sequence, the compatibility graph and all duration distributions, but learns the duration of each use only after choosing that use.

If all durations exceed the time horizon, no resource returns before the last request, and the model reduces to classical online bipartite matching. In that setting, the celebrated RANKING algorithm of Karp et al. [22] samples one uniformly random priority order of the resources and assigns each request to its highest-priority available neighbor. It achieves the optimal competitive ratio 1−1/e1 - 1/e; Devanur et al. [8] give a primal-dual analysis. RANKING also has a randomized static-pricing interpretation [11]: assign each resource a random fixed price and match each request to its cheapest available compatible resource.

For the case that all the durations take the same constant, Delong et al. [7] were the first to beat 1/2 with integral algorithms at unit inventory. Their Periodic Reranking algorithm achieves competitive ratio 0.589, and an online-correlated-rental algorithm achieves 0.505. Both guarantees extend to weighted resources. Under the reusable setting, the difficulty of analyzing RANKING is that changing one priority can affect assignments throughout the horizon. An early match changes a return time, which may change a later match and the return time of another resource. The resulting chain of changes is not controlled by the local comparisons used in classical RANKING analyses.

The above results lead to two questions left open by Delong et al. [7]:

Question 1. Does RANKING achieve a competitive ratio strictly larger than 1/2 in the general reusable resources setting?

Question 2. Can one beat 1/2 for heterogeneous deterministic durations, or even for resource-dependent stochastic durations?

The second question is also highlighted in recent overviews: Huang et al. [19] identify heterogeneous deterministic durations as an open case, while Niazadeh and Udwani [29] discuss the general stochastic-duration problem as a prominent open direction.

References (32)