摘要

We consider the following generalization of the classical problem of ski rental. There is a game that ends at an unknown time, and the algorithm needs to decide how to pay for the time until the game ends. In our generalization, there are two "payment plans" called "options," such that each option i (for i = 1,2) consists of two kinds of costs: b(i) is the (one time) cost to start using Option i, and a(1) is the (ongoing) usage cost per unit of time for Option i. We assume w.l.o.g. that a(1) > a(2) and b(1) < b(2). Additionally, we assume the existence of a transition cost c, which is incurred if we switch from Option 1 to Option 2. (In the classical version, b(1) = 0, a(2) = 0 and c = b(2).) We give deterministic and randomized algorithms for this general setting and analyze their competitive ratio. We also prove that the competitive ratios of our algorithms are the best possible by presenting matching lower bounds for both the deterministic and the randomized cases.

  • 出版日期2015-6-13