Skip to main content
Log in

The Seat Reservation Problem

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

We investigate the problem of giving seat reservations on-line. We assume that a train travels from a start station to an end station, stopping at k stations, including the first and last. Reservations can be made for any trip going from any station to any later station. The train has a fixed number of seats. The seat reservation system attempts to maximize income. We consider the case in which all tickets have the same price and the case in which the price of a ticket is proportional to the length of the trip. For both cases we prove upper and lower bounds of Θ(1/k) on the competitive ratio of any ``fair'' deterministic algorithm. We also define the accommodating ratio which is similar to the competitive ratio except that the only sequences of requests allowed are sequences for which the optimal off-line algorithm could accommodate all requests. We prove upper and lower bounds of Θ(1) on the accommodating ratio of any ``fair'' deterministic algorithm, in the case in which all tickets have the same price, but Θ(1/k) in the case in which the ticket price is proportional to the length of the trip. The most surprising of these results is that all ``fair'' algorithms are at least 1/2 -accommodating when all tickets have the same price. We prove similar results bounding the performance of any ``fair'' randomized algorithm against an adaptive on-line adversary. We also consider concrete algorithms; more specifically, First-Fit and Best-Fit.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received February 6, 1997; revised November 6, 1997.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Boyar, J., Larsen, K. The Seat Reservation Problem . Algorithmica 25, 403–417 (1999). https://doi.org/10.1007/PL00009286

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/PL00009286

Navigation