Advance Service Reservations with Heterogeneous Customers

Clifford Stein, Van‐Anh Truong, Xinshang Wang · DOI

Abstract

We study a fundamental model of resource allocation in which a finite number of resources must be assigned in an online manner to a heterogeneous stream of customers. The customers arrive randomly over time according to known stochastic processes. Each customer requires a specific amount of capacity and has a specific preference for each of the resources, with some resources being feasible for the customer and some not. The system must find a feasible assignment of each customer to a resource or must reject the customer. The aim is to maximize the total expected capacity utilization of the resources over the horizon. This model has application in services, freight transportation, and online advertising. We present online algorithms with bounded competitive ratios relative to an optimal offline algorithm that knows all stochastic information. Our algorithms perform extremely well compared to common heuristics, as demonstrated on a real data set from a large hospital system in New York City.

Introduction

The Online Resource Allocation Problem with Heterogeneous Customers addresses scenarios where resources must be allocated to a stream of incoming requests with diverse needs. A primary example is hospital appointment scheduling: patients arrive randomly (online), each requiring varying amounts of time (capacity) and possessing specific preferences for doctors or time slots. The hospital must make immediate, irrevocable decisions on whether to accept a patient and which slot to assign, without knowledge of future arrivals.

This problem is characterized by four core challenges:

  1. Heterogeneity: Customers vary in their capacity requirements (e.g., 15 vs. 45 minutes).
  2. Non-stationarity: Arrival rates fluctuate significantly over time (e.g., peak days vs. off-peak days).
  3. Perishability: Unused resources, such as a doctor's time slot, expire and cannot be recovered.
  4. Irrevocability: Once a commitment is made to a customer, it cannot be rescinded.

The objective is to maximize the total expected capacity utilization, ensuring resources are used as efficiently as possible.

Methods

The proposed algorithmic framework utilizes a multi-stage approach to manage these complexities:

  • LP-Based Random Routing: The system first solves a "static" version of the problem using Linear Programming (LP). This LP serves as a blueprint, determining the ideal fraction of each customer type to assign to each resource. Real-time arrivals are then "routed" based on these calculated probabilities.
  • Large-or-Small (LS) Reservation: To mitigate conflicts between high-capacity and low-capacity users, the algorithm partitions customers into "Large" (using >50% of a resource) and "Small" sets. Resources are then dedicated to the group offering the highest expected utilization.
  • Refined LS (RLS): This iteration allows for resource sharing. If a customer is rejected by their primary routed resource, the system attempts to reassign them to another feasible resource with available space.
  • Competitive Analysis: The authors evaluate these algorithms using competitive ratios, comparing online performance against an "offline" optimal that possesses perfect foresight.

Key Results and Empirical Analysis

The study establishes a theoretical ceiling, proving that no online algorithm can exceed a 0.5-competitive ratio in this setting. The proposed RLS algorithm achieves a competitive ratio of 0.321 under stochastic demand, representing a significant advancement in the field.

Comparison of competitive ratios and assumptions across literature.

As illustrated in the table above, the performance of the algorithm approaches perfect efficiency (1.0) as individual customer needs become very small relative to total capacity. This asymptotic optimality is particularly relevant for "Adwords" style models.

To validate these theoretical findings, the authors tested the RLS algorithm using a real-world dataset from the Allergy Department of a large New York City hospital, comprising over 20,000 entries from 2013. The data exhibited extreme non-stationarity, with arrival volumes varying by up to 60% between days. In these simulations, the RLS algorithm was never more than 7% worse than the theoretical upper bound, significantly outperforming standard greedy heuristics and static reservation methods.

Conclusion

This work demonstrates that conflict resolution via the separation of large and small users, guided by a robust static LP, provides a powerful framework for online resource allocation. While the current model assumes known arrival rates and immediate consumption of resources, it provides a foundation for future work incorporating demand estimation and overbooking strategies to handle cancellations and no-shows.

Summary updated

BibTeX
@article{stein2020advance,
  author = {Clifford Stein and Van‐Anh Truong and Xinshang Wang},
  title = {{Advance Service Reservations with Heterogeneous Customers}},
  journal = {Manag. Sci.},
  year = {2020},
  doi = {10.1287/mnsc.2019.3364},
}
Figure