We introduce and study a discrete multi-period extension of the classical knapsack problem, dubbed generalized incremental knapsack. In this setting, we are given a set of $n$ items, each associated with a non-negative weight, and $T$ time periods with non-decreasing capacities $W_1 \leq \dots \leq W_T$. When item $i$ is inserted at time $t$, we gain a profit of $p_{it}$; however, this item remains in the knapsack for all subsequent periods. The goal is to decide if and when to insert each item, subject to the time-dependent capacity constraints, with the objective of maximizing our total profit. Interestingly, this setting subsumes as special cases a number of recently-studied incremental knapsack problems, all known to be strongly NP-hard.
Our first contribution comes in the form of a polynomial-time $(\frac{1}{2}-ε)$-approximation for the generalized incremental knapsack problem. This result is based on a reformulation as a single-machine sequencing problem, which is addressed by blending dynamic programming techniques and the classical Shmoys-Tardos algorithm for the generalized assignment problem. Combined with further enumeration-based self-reinforcing ideas and newly-revealed structural properties of nearly-optimal solutions, we turn our basic algorithm into a quasi-polynomial time approximation scheme (QPTAS). Hence, under widely believed complexity assumptions, this finding rules out the possibility that generalized incremental knapsack is APX-hard.
Improved Online Algorithms for Knapsack and GAP in the Random Order Model
背包问题是组合优化中的经典问题之一:给定一组物品,每个物品由其大小和利润指定,目标是找到一个最大利润的包装到一个有界容量的背包中。在在线设置中,项目是一个接一个地显示和决定,如果当前项目是包装或永远丢弃,必须立即和可追溯地完成后到达。研究了随机序模型中的在线变量,其中输入序列是项目集的均匀随机排列。我们为这个问题开发了一个随机(1/6.65)竞争算法,优于目前竞争比为1/8.06的最佳算法[Kesselheim et al. SIAM J. Comp. 47(5)]。我们的算法是基于两个新的见解:我们引入了一种新的算法方法,采用两个给定的算法,优化的限制项目类,依次输入序列。此外,我们还研究和探索了背包问题与2-秘书问题之间的关系。广义指派问题(GAP)除了背包问题外,还包括与调度和匹配相关的几个重要问题。我们表明,在相同的在线设置,应用建议的顺序方法产生(1/6.99)的竞争随机算法的GAP。同样,我们提出的算法优于竞争比1/8.06的当前最佳结果[Kesselheim et al. SIAM J. Comp. 47(5)]。