In the Online Simple Knapsack Problem we are given a knapsack of unit size 1. Items of size smaller or equal to 1 are presented in an iterative way and an algorithm has to decide whether to permanently include or reject each item into the knapsack without any knowledge about the rest of the instance. The goal is then to pack the knapsack as full as possible. In this work we introduce a third option additional to those of packing and rejecting an item, namely that of reserving an item for the cost of a fixed fraction $\alpha$ of its size. An algorithm may pay this fraction in order to postpone its decision on whether to include or reject the item until after the last item of the instance was presented. We find that adding the possibility of reservation makes the problem constantly competitive with varying competitive ratios depending on the value of $\alpha$. We give upper and lower bounds for the whole range of reservation costs, with tight bounds for costs up to $1/6$ -- an area that is strictly 2-competitive, for costs between $\sqrt{2}-1$ and $1$ -- an area that is strictly $(2+\alpha)$-competitive up to $\phi -1$, and strictly $1/(1-\alpha)$-competitive above $\phi-1$, where $\phi$ is the golden ratio. We find a counterintuitive characteristic of the problem: Intuitively, one may expect that the possibility of rejecting items becomes more helpful for an online algorithm with growing reservation costs. However, for higher reservation costs above $\sqrt{2}-1$, an algorithm that is unable to reject any items tightly matches the lower bound and is thus the best possible. On the other hand, for any positive reservation cost smaller than $1/6$, any algorithm that is unable to reject items performs considerably worse than one that is able to reject.
翻译:在线简单 Knapsack 问题 在网上简单 Knapsack 中, 我们得到了一个单位大小的 Knapsack 。 1 大小小于或等于 1 的项目以迭接方式显示, 算法必须决定是否永久地将每个项目包括在或拒绝到 knapsack 中, 而不了解其他实例 。 目标是尽可能地将 knapsack 包包装满。 在此工作中, 除了包装和拒绝一个项目之外, 我们引入了第三个选项, 即 保留一个项目以支付固定部分 $\ alpha 的单位大小。 算法可以支付这个分数, 以延迟决定是否将该项目列入或拒绝, 直至提出最后一个实例 。 我们发现, 增加保留的可能性使得问题不断具有竞争力, 取决于 $\ alpha 。 我们拒绝整个保留成本的上限为 1/6 美元 -- 严格来说, 成本比 $2 美元 -1 和 美元 美元 之间的费用比 美元 更低, 成本比 美元 。 一个区域不能 。 标准是 $ -\\\\\\\\\\\\ exexexexer exexer exer exer exer exer exer ex exer exex ex ex ex ex ex ex ex ex ex exer ex ex ex ex exerent a a ex a ex ex ex exque a a a a a ex le a le a le a le a exlient deut ex ex ex ex lection a dut ex ex ex ex ex exu exuut exu exu exli ex ex exu ex ex ex ex exu exu exu exu exu exli a ex a ex exual dut a ex ex a ex a ex ex ex ex ex ex ex ex a ex ex ex ex ex ex ex ex a ex ex ex leut a ex ex leut a leut a ex ex