Exact Counting and Sampling of Optima for the Knapsack Problem

Bossek Jakob, Neumann Aneta, Neumann Frank

Research article in edited proceedings (conference) | Peer reviewed

Abstract

Computing sets of high quality solutions has gained increasing interest in recent years. In this paper, we investigate how to obtain sets of optimal solutions for the classical knapsack problem. We present an algorithm to count exactly the number of optima to a zero-one knapsack problem instance. In addition, we show how to efficiently sample uniformly at random from the set of all global optima. In our experimental study, we investigate how the number of optima develops for classical random benchmark instances dependent on their generator parameters. We find that the number of global optima can increase exponentially for practically relevant classes of instances with correlated weights and profits which poses a justification for the considered exact counting problem.

Details about the publication

Book titleProceedings of the 15th Learning and Intelligent Optimization (LION) conference
Publishing companySpringer
Statusaccepted / in press (not yet published)
Release year2021
Language in which the publication is writtenEnglish
ConferenceLearning and Intelligent Optimization, Athens, Greece, undefined
KeywordsZero-one knapsack problem; exact counting; sampling; dynamic programming

Authors from the University of Münster

Bossek, Jakob
Data Science: Statistics and Optimization (Statistik)