On The Bahncard Problem

  • Authors:
  • Rudolf Fleischer

  • Affiliations:
  • -

  • Venue:
  • COCOON '98 Proceedings of the 4th Annual International Conference on Computing and Combinatorics
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we generalize the Ski-Rental Problem to the Bahncard Problem which is an online problem of practical relevance for all travelers.T he Bahncard is a railway pass of the Deutsche Bundesbahn (the German railway company) which entitles its holder to a 50% price reduction on nearly all train tickets.I t costs 240DM, and it is valid for 12 months.Si milar bus or railway passes can be found in many other countries. For the common traveler, the decision at which time to buy a Bahncard is a typical online problem, because she usually does not know when and to which place she will travel next.W e show that the greedy algorithm applied by most travelers and clerks at ticket offices is not better in the worst case than the trivial algorithm which never buys a Bahncard.W e present two optimal deterministic online algorithms, an optimistic one and and a pessimistic one.W e further give a lower bound for randomized online algorithms and present an algorithm which we conjecture to be optimal; a proof of the conjecture is given for a special case of the problem.