Leveraging Recourse and Size Bounds for OnlineKnapsack with Removable Items
Organizations: National Technical University of Athens, Greece · Archimedes, Athena Research Center, Greece · Université Paris-Dauphine, Université PSL, CNRS, LAMSADE, Paris, France
Abstract
In the online unweighted knapsack problem, items arrive sequentially and must be accepted or rejected immediately for a bounded-capacity knapsack, aiming to maximize the total size of accepted items. When decisions are irrevocable, no algorithm achieves a non-trivial competitive ratio. An essential relaxation that circumvents this impossibility is to allow previously accepted items to be removed from the knapsack (a.k.a. removal). In this work, we investigate possible further improvements on the competitive ratio with removal by bringing together two other previously proposed model extensions: knowledge of an upper bound on the item sizes (a.k.a. bound awareness) and ability to reinsert previously rejected items(a.k.a.recourse). Our contributions are twofold. First, we establish close upper and lower bounds on the competitive ratio under bound awareness, removal and recourse. We show that significant improvements on the best known competitive ratio are possible when the upper bound on the item sizes is not too restrictive and only few uses of recourse are available. Second, we introduce the notion of adaptive online algorithms which do not require to know any upper bound on the item sizes but still achieve performance guarantees comparable to the ones obtained under the bound awareness model.
Figures & tables
| #1 | 2 medium items | possibly | always |
|---|---|---|---|
| #2 | 1 medium item + 1 large item | possibly | always |
| #3 | 1 medium item + 1 extra large item | always | always |
| #4 | 2 large items | always | always |
| #5 | 3 medium items | always | possibly |
| #6 | 1 large item + 1 extra large item | always | possibly |
| #7 | 2 extra large items | always | possibly |
| composition of | is extra-large | is large | is medium |
|---|---|---|---|
| 1 extra-large item | case | case | case |
| 1 large item | case | case | case |
| 2 medium items | case | case | case |
| 1 medium and 1 large items | case | case | case |
Combinatorial Optimization
Combinatorial optimization finds the best feasible choices among discrete alternatives in routing, scheduling, graph problems, and resource allocation.
See all 386 papers