Abstract
The Exact Satisfiability problem, XSAT, is defined as the problem of finding a satisfying assignment to a formula in CNF such that there is exactly one literal in each clause assigned to be “1” and the other literals in the same clause are set to “0”. If we restrict the length of each clause to be at most 3 literals, then it is known as the X3SAT problem. In this paper, we consider the problem of counting the number of satisfying assignments to the X3SAT problem, which is also known as #X3SAT.
The current state of the art exact algorithm to solve #X3SAT is given by Dahllöf, Jonsson and Beigel and runs in \(O(1.1487^n)\) time, where n is the number of variables in the formula. In this paper, we propose an exact algorithm for the #X3SAT problem that runs in \(O(1.1120^n)\) time with very few branching cases to consider, by using a result from Monien and Preis to give us a bisection width for graphs with at most degree 3.
Sanjay Jain and Frank Stephan are supported in part by the Singapore Ministry of Education Tier 2 grant AcRF MOE2019-T2-2-121/R146-000-304-112. Further, Sanjay Jain is supported in part by NUS grant number C252-000-087-001. We thank the anonymous referees of CP2020 for several helpful comments. An extended technical report is available at https://arxiv.org/pdf/2007.07553.pdf.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Byskov, J., Madsen, B., Skjernaa, B.: New algorithms for exact satisfiability. Theor. Comput. Sci. 332, 513–541 (2005)
Cook, S.: The complexity of theorem proving procedures. In: Third Annual ACM Symposium on Theory of Computing (STOC 1971), pp. 151–158 (1971)
Dahllöf, V.: Exact algorithms for exact satisfiability problems. Linköping Studies in Science and Technology, Ph.D. dissertation no 1013 (2006)
Dahllöf, V., Jonsson, P.: An algorithm for counting maximum weighted independent sets and its applications. In: Proceedings of the 13th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2002), pp. 292–298 (2002)
Dahllöf, V., Jonsson, P., Beigel, R.: Algorithms for four variants of the exact satisfiability problem. Theor. Comput. Sci. 320(2–3), 373–394 (2004)
Davis, M., Logemann, G., Loveland, D.: A machine program for theorem proving. Commun. ACM 5(7), 394–397 (1962)
Davis, M., Putnam, H.: A computing procedure for quantification theory. J. ACM 7(3), 201–215 (1960)
Fomin, F.V., Kratsch, D.: Exact Exponential Algorithms. Texts in Theoretical Computer Science. An EATCS Series. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-16533-7
Gaspers, S., Sorkin, G.B.: Separate, measure and conquer: faster polynomial-space algorithms for Max 2-CSP and counting dominating sets. ACM Trans. Algorithms (TALG) 13(4), 44:1–44:36 (2017)
Karp, R.M.: Reducibility among combinatorial problems. In: Miller, R.E., Thatcher, J.W., Bohlinger, J.D. (eds.) Complexity of Computer Computations. IRSS, pp. 85–103. Springer, Boston (1972). https://doi.org/10.1007/978-1-4684-2001-2_9
Krom, M.R.: The decision problem for a class of first-order formulas in which all disjunctions are binary. Zeitschrift für Mathematische Logik und Grundlagen der Mathematik 13(1–2), 15–20 (1967)
Kullmann, O.: New methods for 3-SAT decision and worst-case analysis. Theor. Comput. Sci. 223(1–2), 1–72 (1999)
Monien, B., Preis, R.: Upper bounds on the bisection width of 3- and 4-regular graphs. J. Discret. Algorithms 4(3), 475–498 (2006)
Porschen, S.: On some weighted satisfiability and graph problems. In: Vojtáš, P., Bieliková, M., Charron-Bost, B., Sýkora, O. (eds.) SOFSEM 2005. LNCS, vol. 3381, pp. 278–287. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-30577-4_31
Roth, D.: On the hardness of approximate reasoning. Artif. Intell. 82, 273–302 (1996)
Sang, T., Beame, P., Kautz, H.A.: Performing Bayesian inference by weighted model counting. In: AAAI, vol. 5, pp. 475–481 (2005)
Schaefer, T.J.: The complexity of satisfiability problems. In: Tenth Annual Symposium on Theory of Computing (STOC 1978), pp. 216–226 (1978)
Valiant, L.G.: The complexity of enumeration and reliability problems. SIAM J. Comput. 8(3), 410–421 (1979)
Leslie, G.: Valiant the complexity of computing the permanent. Theor. Comput. Sci. 8(2), 189–201 (1979)
Wahlström, M.: Algorithms, measures and upper bounds for satisfiability and related problems. Ph.D. thesis, Department of Computer and Information Science, Linköpings Universitet (2007)
Zhou, J., Weihua, S., Wang, J.: New worst-case upper bound for counting exact satisfiability. Int. J. Found. Comput. Sci. 25(06), 667–678 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Hoi, G., Jain, S., Stephan, F. (2020). A Faster Exact Algorithm to Count X3SAT Solutions. In: Simonis, H. (eds) Principles and Practice of Constraint Programming. CP 2020. Lecture Notes in Computer Science(), vol 12333. Springer, Cham. https://doi.org/10.1007/978-3-030-58475-7_22
Download citation
DOI: https://doi.org/10.1007/978-3-030-58475-7_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-58474-0
Online ISBN: 978-3-030-58475-7
eBook Packages: Computer ScienceComputer Science (R0)