# Online Knapsack Problems with a Resource Buffer

arXiv: https://arxiv.org/abs/1909.10016 · HTML: https://mlsanity.com/paper/1909.10016/

## Key facts

- Cited by 2 papers in the map (data through 26 Nov 2026).
- Submitted 22 Sep 2019.

## Built on by (most cited first, 2 of 2)

- [Reinforcement Learning for Efficient Returns Management](https://mlsanity.com/paper/2501.14394/) (2025)
- [DolphinRouting: Cluster-Level Binary Routing for Disaggregated LLM Inference Serving](https://mlsanity.com/paper/2610.40292/) (2026)

## Abstract (arXiv)

In this paper, we introduce online knapsack problems with a resource buffer. In the problems, we are given a knapsack with capacity 1, a buffer with capacity R≥ 1, and items that arrive one by one. Each arriving item has to be taken into the buffer or discarded on its arrival irrevocably. When every item has arrived, we transfer a subset of items in the current buffer into the knapsack. Our goal is to maximize the total value of the items in the knapsack. We consider four variants depending on whether items in the buffer are removable (i.e., we can remove items in the buffer) or non-removable, and proportional (i.e., the value of each item is proportional to its size) or general. For the general&non-removable case, we observe that no constant competitive algorithm exists for any R≥ 1. For the proportional&non-removable case, we show that a simple greedy algorithm is optimal for every R≥ 1. For the general&removable and the proportional&removable cases, we present optimal algorithms for small R and give asymptotically nearly optimal algorithms for general R.
