SAT-based Analysis of Large Real-world Feature Models is Easy

Jia Hui Liang, Vijay Ganesh, Venkatesh Raman, Krzysztof Czarnecki
6/17/2015
78 citations
cs.SEcs.AI

Official code: JLiangWaterloo/fmeasy (1 star, C++, MIT, last commit 2015-04-21).

Abstract

Modern conflict-driven clause-learning (CDCL) Boolean SAT solvers provide efficient automatic analysis of real-world feature models (FM) of systems ranging from cars to operating systems. It is well-known that solver-based analysis of real-world FMs scale very well even though SAT instances obtained from such FMs are large, and the corresponding analysis problems are known to be NP-complete.

Show full abstract

To better understand why SAT solvers are so effective, we systematically studied many syntactic and semantic characteristics of a representative set of large real-world FMs. We discovered that a key reason why large real-world FMs are easy-to-analyze is that the vast majority of the variables in these models are unrestricted, i.e., the models are satisfiable for both true and false assignments to such variables under the current partial assignment. Given this discovery and our understanding of CDCL SAT solvers, we show that solvers can easily find satisfying assignments for such models without too many backtracks relative to the model size, explaining why solvers scale so well. Further analysis showed that the presence of unrestricted variables in these real-world models can be attributed to their high-degree of variability. Additionally, we experimented with a series of well-known non-backtracking simplifications that are particularly effective in solving FMs. The remaining variables/clauses after simplifications, called the core, are so few that they are easily solved even with backtracking, further strengthening our conclusions.

View on arXivView PDF

Code Implementations(1)

MIT

Repository for "SAT-based Analysis of Large Real-world Feature Models is Easy"

11C++, HaskellApr 21, 201511 years agoMIT

Similar Papers

Cite this paper

@article{liang2015satbased,
  title  = {SAT-based Analysis of Large Real-world Feature Models is Easy},
  author = {Jia Hui Liang and Vijay Ganesh and Venkatesh Raman and Krzysztof Czarnecki},
  year   = {2015},
  eprint = {1506.05198},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1506.05198}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1506.05198.svg)](https://codeofpaper.com/paper/1506.05198)

Discussion