Finite-State Online Algorithms and Their Automated Competitive Analysis
Finite-State Online Algorithms and Their Automated Competitive Analysis
复制标题
DOI:
10.1007/11940128_9
复制
发表时间:
2006-12
期刊:
影响因子:
--
通讯作者:
T. Horiyama;K. Iwama;J. Kawahara
中科院分区:
文献类型:
--
作者:
T. Horiyama;K. Iwama;J. Kawahara
In this paper we study the Revocable Online Knapsack Problem (ROKP) which is an extension of the Online Knapsack Problem [8]. We prove an optimal upper bound of 1/tfor the competitive ratio of ROKP, wheretis a real root of 4x3+ 5x2–x– 4 = 0 (t≈0.76850 and 1/t≈1.3012). To prove this result, we made a full use of computer programs as follows: For the base algorithm that is designed in a conventional manner, we first construct an equivalent finite state diagram with about 300 states. Then for each state, we generate a finite set of inequalities such that the competitive ratio at that state is at most 1/tif the set of inequalities do not have a real solution. The latter can be checked by Mathematica. The number of inequalities generated was approximately 600 in total, and our computation time was 30 minutes using Athlon XP 2600+.