Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1907.08735v1

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1907.08735v1 (cs)
[Submitted on 20 Jul 2019 (this version), latest version 7 Apr 2025 (v4)]

Title:A Competitive Analysis of Online Knapsack Problems with Unit Density

Authors:Will Ma, David Simchi-Levi, Jinglong Zhao
View a PDF of the paper titled A Competitive Analysis of Online Knapsack Problems with Unit Density, by Will Ma and 2 other authors
View PDF
Abstract:We study an online knapsack problem where the items arrive sequentially and must be either immediately packed into the knapsack or irrevocably discarded. Each item has a different size and the objective is to maximize the total size of items packed. While the competitive ratio of deterministic algorithms for this problem is known to be 0, the competitive ratio of randomized algorithms has, surprisingly, not been considered until now. We derive a random-threshold algorithm which is 0.432-competitive, and show that our threshold distribution is optimal.
We also consider the generalization to multiple knapsacks, where an arriving item has a different size in each knapsack and must be placed in at most one. This is equivalent to the Adwords problem where item truncation is not allowed. We derive a randomized algorithm for this problem which is 0.214-competitive.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1907.08735 [cs.DS]
  (or arXiv:1907.08735v1 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1907.08735
arXiv-issued DOI via DataCite

Submission history

From: Jinglong Zhao [view email]
[v1] Sat, 20 Jul 2019 01:35:45 UTC (57 KB)
[v2] Mon, 4 Nov 2019 04:00:44 UTC (102 KB)
[v3] Thu, 12 Sep 2024 17:08:19 UTC (171 KB)
[v4] Mon, 7 Apr 2025 00:56:01 UTC (230 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled A Competitive Analysis of Online Knapsack Problems with Unit Density, by Will Ma and 2 other authors
  • View PDF
  • Other Formats
view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2019-07
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Will Ma
David Simchi-Levi
Jinglong Zhao
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack