Exact Counting and Sampling of Optima for the Knapsack Problem

06/14/2021
by   Jakob Bossek, et al.
0

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.

READ FULL TEXT
research
12/06/2022

Generation and Prediction of Difficult Model Counting Instances

We present a way to create small yet difficult model counting instances....
research
12/19/2022

Fast Converging Anytime Model Counting

Model counting is a fundamental problem which has been influential in ma...
research
12/17/2018

Optimality Clue for Graph Coloring Problem

In this paper, we present a new approach which qualifies or not a soluti...
research
07/15/2020

A Faster Exact Algorithm to Count X3SAT Solutions

The Exact Satisfiability problem, XSAT, is defined as the problem of fin...
research
07/02/2018

The Complexity of Approximately Counting Retractions

Let G be a graph that contains an induced subgraph H. A retraction from ...
research
07/21/2023

On the Complexity of the Bipartite Polarization Problem: from Neutral to Highly Polarized Discussions

The Bipartite Polarization Problem is an optimization problem where the ...
research
02/04/2020

The Node Weight Dependent Traveling Salesperson Problem: Approximation Algorithms and Randomized Search Heuristics

Several important optimization problems in the area of vehicle routing c...

Please sign up or login with your details

Forgot password? Click here to reset