Exploiting Database Management Systems and Treewidth for Counting

01/13/2020
by   Johannes K. Fichte, et al.
0

Bounded treewidth is one of the most cited combinatorial invariants, which was applied in the literature for solving several counting problems efficiently. A canonical counting problem is #SAT, which asks to count the satisfying assignments of a Boolean formula. Recent work shows that benchmarking instances for #SAT often have reasonably small treewidth. This paper deals with counting problems for instances of small treewidth. We introduce a general framework to solve counting questions based on state-of-the-art database management systems (DBMS). Our framework takes explicitly advantage of small treewidth by solving instances using dynamic programming (DP) on tree decompositions (TD). Therefore, we implement the concept of DP into a DBMS (PostgreSQL), since DP algorithms are already often given in terms of table manipulations in theory. This allows for elegant specifications of DP algorithms and the use of SQL to manipulate records and tables, which gives us a natural approach to bring DP algorithms into practice. To the best of our knowledge, we present the first approach to employ a DBMS for algorithms on TDs. A key advantage of our approach is that DBMS naturally allow to deal with huge tables with a limited amount of main memory (RAM), parallelization, as well as suspending computation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/30/2023

Solving Projected Model Counting by Utilizing Treewidth and its Limits

In this paper, we introduce a novel algorithm to solve projected model c...
research
03/27/2019

Treewidth and Counting Projected Answer Sets

In this paper, we introduce novel algorithms to solve projected answer s...
research
04/27/2012

Strong Backdoors to Bounded Treewidth SAT

There are various approaches to exploiting "hidden structure" in instanc...
research
11/06/2017

Small Resolution Proofs for QBF using Dependency Treewidth

In spite of the close connection between the evaluation of quantified Bo...
research
11/28/2018

Counting Complexity for Reasoning in Abstract Argumentation

In this paper, we consider counting and projected model counting of exte...
research
08/24/2022

Advanced Tools and Methods for Treewidth-Based Problem Solving – Extended Abstract

Computer programs, so-called solvers, for solving the well-known Boolean...
research
09/14/2023

International Competition on Graph Counting Algorithms 2023

This paper reports on the details of the International Competition on Gr...

Please sign up or login with your details

Forgot password? Click here to reset