Exploiting Database Management Systems and Treewidth for Counting
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 2.
7 papers.
- 2021Rushing and Strolling among Answer Sets -- Navigation Made Easycited by 9
- 2022Treewidth-aware Reductions of Normal ASP to SAT -- Is Normal ASP Harder than SAT after All?cited by 8
- 2022A Quantitative Symbolic Approach to Individual Human Reasoningcited by 2
- 2023IASCAR: Incremental Answer Set Counting by Anytime Refinementcited by 2
- 2022DPO: Dynamic-Programming Optimization on Hybrid Constraintscited by 1
- 2023Solving Projected Model Counting by Utilizing Treewidth and its Limitscited by 1
- 2022DPER: Dynamic Programming for Exist-Random Stochastic SATcited by 0
- 2023IASCAR: Incremental Answer Set Counting by Anytime Refinement13 Nov 2023
- 2023Solving Projected Model Counting by Utilizing Treewidth and its Limits30 May 2023
- 2022Treewidth-aware Reductions of Normal ASP to SAT -- Is Normal ASP Harder than SAT after All?7 Oct 2022
- 2022DPER: Dynamic Programming for Exist-Random Stochastic SAT19 May 2022
- 2022DPO: Dynamic-Programming Optimization on Hybrid Constraints17 May 2022
- 2022A Quantitative Symbolic Approach to Individual Human Reasoning10 May 2022
- 2021Rushing and Strolling among Answer Sets -- Navigation Made Easy14 Dec 2021