Theoretical analysis demonstrates improved competitive ratios for assignment and knapsack problems in the random-order model, establishing optimal bounds for online packing.
We study different online optimization problems in the random-order model. There is a finite set of bins with known capacities and a finite set of items arriving in uniform random order. Upon arrival of an item, its size and its value for each of the bins is revealed and it has to be decided immediately and irrevocably to which bin the item is assigned, or whether the item is rejected. In this setting, an algorithm is α α -competitive if the total expected value of all items assigned to the bins is at least an α α -fraction of the total value of an optimal assignment that knows all items beforehand. We give an algorithm that is α α -competitive with α = (1-ln 2 )/2 ≈ 1/6.52 α = ( 1 - ln 2 ) / 2 ≈ 1 / 6.52 improving upon the previous best algorithm with α ≈ 1/6.99 α ≈ 1 / 6.99 for the generalized assignment problem and the previous best algorithm with α ≈ 1/6.65 α ≈ 1 / 6.65 for the integral knapsack problem. We then study the fractional knapsack problem where we have a single bin and it is also allowed to pack items fractionally. For that case, we obtain an algorithm that is α α -competitive with α = 1/e ≈ 1/2.71 α = 1 / e ≈ 1 / 2.71 improving on the previous best algorithm with α = 1/4.39 α = 1 / 4.39 . We further show that the competitive ratio of 1/ e is best-possible for randomized algorithms in this model.
No takes yet. Share an insight, caveat, or question.
Klimm et al. (2026) studied this question.
Synapse has enriched 3 closely related papers on similar clinical questions. Consider them for comparative context: