An Optimal Algorithm for Online Multiple Knapsack

02/11/2020
by   Marcin Bienkowski, et al.
0

In the online multiple knapsack problem, an algorithm faces a stream of items, and each item has to be either rejected or stored irrevocably in one of n bins (knapsacks) of equal size. The gain of an algorithm is equal to the sum of sizes of accepted items and the goal is to maximize the total gain. So far, for this natural problem, the best solution was the 0.5-competitive algorithm First Fit (the result holds for any n ≥ 2). We present the first algorithm that beats this ratio, achieving the competitive ratio of 1/(1+ln(2))-O(1/n) ≈ 0.5906 - O(1/n). Our algorithm is deterministic and optimal up to lower-order terms, as the upper bound of 1/(1+ln(2)) for randomized solutions was given previously by Cygan et al. [TOCS 2016]. Furthermore, we show that the lower-order term is inevitable for deterministic algorithms, by improving their upper bound to 1/(1+ln(2))-O(1/n).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/20/2019

A Competitive Analysis of Online Knapsack Problems with Unit Density

We study an online knapsack problem where the items arrive sequentially ...
research
11/29/2017

Online Knapsack Problem under Expected Capacity Constraint

Online knapsack problem is considered, where items arrive in a sequentia...
research
02/23/2023

On price-induced minmax matchings

We study a natural combinatorial pricing problem for sequentially arrivi...
research
05/28/2022

Spatial Locality and Granularity Change in Caching

Caches exploit temporal and spatial locality to allow a small memory to ...
research
09/29/2020

Online Simple Knapsack with Reservation Costs

In the Online Simple Knapsack Problem we are given a knapsack of unit si...
research
07/21/2022

Optimal Algorithms for Free Order Multiple-Choice Secretary

Suppose we are given integer k ≤ n and n boxes labeled 1,…, n by an adve...
research
12/08/2020

Reading Articles Online

We study the online problem of reading articles that are listed in an ag...

Please sign up or login with your details

Forgot password? Click here to reset