Exploiting d-DNNFs for Repetitive Counting Queries on Feature Models

03/22/2023
by   Chico Sundermann, et al.
0

Feature models are commonly used to specify the valid configurations of a product line. In industry, feature models are often complex due to a large number of features and constraints. Thus, a multitude of automated analyses have been proposed. Many of those rely on computing the number of valid configurations which typically depends on solving a #SAT problem, a computationally expensive operation. Further, most counting-based analyses require numerous #SAT computations on the same feature model. In particular, many analyses depend on multiple computations for evaluating the number of valid configurations that include certain features or conform to partial configurations. Instead of using expensive repetitive computations on highly similar formulas, we aim to improve the performance by reusing knowledge between these computations. In this work, we are the first to propose reusing d-DNNFs for performing efficient repetitive queries on features and partial configurations. Our empirical evaluation shows that our approach is up-to 8,300 times faster (99.99% CPU-time saved) than the state of the art of repetitively invoking #SAT solvers. Applying our tool ddnnife reduces runtimes from days to minutes compared to using #SAT solvers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/05/2019

Learned Clause Minimization in Parallel SAT Solvers

Learned clauses minimization (LCM) let to performance improvements of mo...
research
02/14/2023

Reasoning on Feature Models: Compilation-Based vs. Direct Approaches

Analyzing a Feature Model (FM) and reasoning on the corresponding config...
research
10/17/2017

The Hard Problems Are Almost Everywhere For Random CNF-XOR Formulas

Recent universal-hashing based approaches to sampling and counting cruci...
research
06/13/2023

Exploiting Configurations of MaxSAT Solvers

In this paper, we describe how we can effectively exploit alternative pa...
research
12/04/2012

An Empirical Evaluation of Portfolios Approaches for solving CSPs

Recent research in areas such as SAT solving and Integer Linear Programm...
research
05/13/2022

Scalable SAT Solving in the Cloud

Previous efforts on making Satisfiability (SAT) solving fit for high per...

Please sign up or login with your details

Forgot password? Click here to reset