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

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Condensed Matter > Statistical Mechanics

arXiv:2107.14080v1 (cond-mat)
[Submitted on 22 Jun 2021 (this version), latest version 31 Mar 2023 (v2)]

Title:Large N limit of the knapsack problem

Authors:Mobolaji Williams
View a PDF of the paper titled Large N limit of the knapsack problem, by Mobolaji Williams
View PDF
Abstract:In the simplest formulation of the knapsack problem, one seeks to maximize the total value of a collection of objects such that the total weight remains below a certain limit. In this work, we move from computer science to physics and formulate the knapsack problem as a statistical physics system and compute the corresponding partition function. We approximate the result in the large number limit and from this approximation develop a new algorithm for the problem. We compare the performance of this algorithm to that of other approximation algorithms, finding that the new algorithm is faster than most of these approaches while still retaining high accuracy. From its speed and accuracy relationship, we argue that the algorithm is a manifestation of a greedy algorithm. We conclude by discussing ways to extend the formalism to make its underlying heuristics more rigorous or to apply the approach to other combinatorial optimization problems. In all, this work exists at the intersection between computer science and statistical physics and represents a new analytical approach to solving the problems in the former using methods of the latter.
Comments: 18 pages, 6 figures, 1 table
Subjects: Statistical Mechanics (cond-mat.stat-mech); Data Structures and Algorithms (cs.DS); Mathematical Physics (math-ph); Optimization and Control (math.OC)
MSC classes: 90C27, 82B05
ACM classes: G.2.1
Cite as: arXiv:2107.14080 [cond-mat.stat-mech]
  (or arXiv:2107.14080v1 [cond-mat.stat-mech] for this version)
  https://doi.org/10.48550/arXiv.2107.14080
arXiv-issued DOI via DataCite

Submission history

From: Mobolaji Williams [view email]
[v1] Tue, 22 Jun 2021 15:24:02 UTC (332 KB)
[v2] Fri, 31 Mar 2023 23:51:54 UTC (840 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Large N limit of the knapsack problem, by Mobolaji Williams
  • View PDF
  • Other Formats
license icon view license
Current browse context:
cond-mat.stat-mech
< prev   |   next >
new | recent | 2021-07
Change to browse by:
cond-mat
cs
cs.DS
math
math-ph
math.MP
math.OC

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
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?)
IArxiv Recommender (What is IArxiv?)
  • 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