An Approximation Algorithm for #k-SAT

被引:6
作者
Thurley, Marc [1 ]
机构
[1] Ctr Recerca Matemat, Bellaterra, Spain
来源
29TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE, (STACS 2012) | 2012年 / 14卷
关键词
#k-SAT; approximate counting; exponential algorithms; SATISFIABILITY; MODELS;
D O I
10.4230/LIPIcs.STACS.2012.78
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present a simple randomized algorithm that approximates the number of satisfying assignments of Boolean formulas in conjunctive normal form. To the best of our knowledge this is the first algorithm which approximates #k-SAT for any k >= 3 within a running time that is not only non-trivial, but also significantly better than that of the currently fastest exact algorithms for the problem. More precisely, our algorithm is a randomized approximation scheme whose running time depends polynomially on the error tolerance and is mildly exponential in the number n of variables of the input formula. For example, even stipulating sub-exponentially small error tolerance, the number of solutions to 3-CNF input formulas can be approximated in time O(1.5366(n)). For 4-CNF input the bound increases to O(1.6155(n)). We further show how to obtain upper and lower bounds on the number of solutions to a CNF formula in a controllable way. Relaxing the requirements on the quality of the approximation, on k-CNF input we obtain significantly reduced running times in comparison to the above bounds.
引用
收藏
页码:78 / 87
页数:10
相关论文
共 27 条
[1]  
[Anonymous], COMPUTATIONAL COMPLE
[2]  
Blomer J, 1997, RANDOM STRUCT ALGOR, V10, P407, DOI 10.1002/(SICI)1098-2418(199707)10:4<407::AID-RSA1>3.0.CO
[3]  
2-Y
[4]   Counting models for 2SAT and 3SAT formulae [J].
Dahllöf, V ;
Jonsson, P ;
Wahström, M .
THEORETICAL COMPUTER SCIENCE, 2005, 332 (1-3) :265-291
[5]   COUNTING THE NUMBER OF SOLUTIONS FOR INSTANCES OF SATISFIABILITY [J].
DUBOIS, O .
THEORETICAL COMPUTER SCIENCE, 1991, 81 (01) :49-64
[6]  
Fürer M, 2007, LECT NOTES COMPUT SC, V4508, P47
[7]  
Gogate V., 2007, Proceedings of the 22nd national Conference on Artificial Intelligence, P198
[8]  
Gomes CP, 2007, 20TH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, P2293
[9]  
Gomes CarlaP., 2006, AAAI
[10]   Improving PPSZ for 3-SAT using Critical Variables [J].
Hertli, Timon ;
Moser, Robin A. ;
Scheder, Dominik .
28TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE (STACS 2011), 2011, 9 :237-248