We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:

References & Citations


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Condensed Matter > Statistical Mechanics

Title: Large N limit of the knapsack problem

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)

Submission history

From: Mobolaji Williams [view email]
[v1] Tue, 22 Jun 2021 15:24:02 GMT (332kb,D)
[v2] Fri, 31 Mar 2023 23:51:54 GMT (840kb,D)

Link back to: arXiv, form interface, contact.