Competitive Analysis for Two-Level Ski-Rental Problem
Binghan Wu, Wei Bao, Dong Yuan
Abstract
In this paper, we study a two-level ski-rental problem. There are multiple commodities, each one can be “rented” (paying for on-demand usage) or “purchased” (paying for life-time usage). There is also a combo purchase available so that all commodities can be purchased as a combo. Since the usages of the commodities in future are not known in advance, to minimize the overall cost, we design an online algorithm to decide if we rent a commodity, purchase a commodity, or make a combo purchase. We first propose a deterministic online algorithm. It can achieve 3 competitive ratio, which is optimal and tight. Next, we further propose a randomized online algorithm, leading to a e^σ/(e^σ-1) competitive ratio, where σ is the ratio between the price of a single commodity and the price of combo purchase. Finally, we apply simulation to verify the theoretical competitive ratios and evaluate the actual performance against benchmarks.
BibTeX
@inproceedings{aaai2021_competitiveanaly,
title = {Competitive Analysis for Two-Level Ski-Rental Problem},
author = {Binghan Wu and Wei Bao and Dong Yuan},
booktitle = {AAAI 2021},
year = {2021}
}