### Current browse context:

math.OC

### Change to browse by:

### References & Citations

# Mathematics > Optimization and Control

# Title: Statistical mechanics analysis of general multi-dimensional knapsack problems

(Submitted on 18 Jan 2022)

Abstract: Knapsack problem (KP) is a representative combinatorial optimization problem that aims to maximize the total profit by selecting a subset of items under given constraints on the total weights. In this study, we analyze a generalized version of KP, which is termed as the generalized multidimensional knapsack problem (GMDKP). As opposed to the basic KP, GMDKP allows multiple choices per item type under multiple weight constraints. Although several efficient algorithms are known and the properties of their solutions have been examined to a significant extent for basic KPs, there is a paucity of known algorithms and studies on the solution properties of GMDKP. To gain insight into the problem, we assess the typical achievable limit of the total profit for a random ensemble of GMDKP using the replica method. We also developed a heuristic algorithm that searches for approximate solutions based on the cavity method. Extensive numerical experiments indicate that the approximation accuracy of the developed algorithm is better than that of the known algorithms with practically feasible computational costs.

Link back to: arXiv, form interface, contact.