Skip to main content

Exact Max 2-Sat: Easier and Faster

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4362))

Abstract

Prior algorithms known for exactly solving Max 2-Sat improve upon the trivial upper bound only for very sparse instances. We present new algorithms for exactly solving (in fact, counting) weighted Max 2-Sat instances. One of them has a good performance if the underlying constraint graph has a small separator decomposition, another has a slightly improved worst case performance. For a 2-Sat instance F with n variables, the worst case running time is \(\tilde{O}(2^{(1-1/(\tilde{d}(F)-1))n})\), where \(\tilde{d}(F)\) is the average degree in the constraint graph defined by F.

We use strict α-gadgets introduced by Trevisan, Sorkin, Sudan, and Williamson to get the same upper bounds for problems like Max 3-Sat and Max Cut. We also introduce a notion of strict (α,β)-gadget to provide a framework that allows composition of gadgets. This framework allows us to obtain the same upper bounds for Max k -Sat and Max k -Lin-2.

This material is based upon work supported by the National Science Foundation under Grant CCR-0209099.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alber, J., Gramm, J., Niedermeier, R.: Faster Exact Algorithms for Hard Problems: a Parameterized Point of View. Discrete Mathematics 229(1), 3–27 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  2. Alon, N., Seymour, P., Thomas, R.: A Separator Theorem for Graphs with an Excluded Minor and Its Applications. In: STOC’90, pp. 293–299. ACM Press, New York (1990)

    Google Scholar 

  3. Barahona, F.: The MAX-CUT Problem on Graphs not Contractible to K 5. Operations Research Letters 2(3), 107–111 (1983)

    Article  MATH  MathSciNet  Google Scholar 

  4. Bellare, M., Goldreich, O., Sudan, M.: Free Bits, PCPs, and Nonapproximability-Towards Tight Results. SIAM Journal of Computing 27(3), 804–915 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  5. Bodlaender, H.L., Gilbert, J.R., Hafsteinsson, H., Kloks, T.: Approximating Treewidth, Pathwidth, Frontsize, and Shortest Elimination Tree. Journal of Algorithms 18(2), 238–255 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  6. Dahllöf, V., Jonsson, P., Wahlström, M.: Counting Models for 2SAT and 3SAT Formulae. Theoretical Computer Science 332(1-3), 265–291 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  7. Davis, M., Logemann, G., Loveland, D.: A Machine Program for Theorem-Proving. Communications of the ACM 5(7), 394–397 (1962)

    Article  MATH  MathSciNet  Google Scholar 

  8. Davis, M., Putnam, H.: A Computing Procedure for Quantification Theory. Journal of Association Computer Machinery 7, 201–215 (1960)

    MATH  MathSciNet  Google Scholar 

  9. Fürer, M., Kasiviswanathan, S.P.: Algorithms for Counting 2-SAT Solutions and Colorings with Applications. Technical report TR05-033, Electronic Colloquium on Computational Complexity (2005)

    Google Scholar 

  10. Gilbert, J.R., Hutchinson, J.P., Tarjan, R.E.: A Separator Theorem for Graphs of Bounded Genus. Journal of Algorithms 5(3), 391–407 (1984)

    Article  MATH  MathSciNet  Google Scholar 

  11. Gramm, J., Hirsch, E.A., Niedermeier, R., Rossmanith, P.: Worst-Case Upper Bounds for MAX-2-SAT with an Application to MAX-CUT. Discrete Applied Mathematics 130(2), 139–155 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  12. Hadlock, F.: Finding a Maximum Cut of a Planar Graph in Polynomial Time. SIAM Journal on Computing 4(3), 221–225 (1975)

    Article  MATH  MathSciNet  Google Scholar 

  13. Hunt III, H.B., Marathe, M.V., Radhakrishnan, V., Stearns, R.E.: The Complexity of Planar Counting Problems. SIAM Journal of Computing 27(4), 1142–1167 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  14. Karypis, G., Kumar, V.: A Fast and High Quality Multilevel Scheme for Partitioning Irregular Graphs. SIAM Journal on Scientific Computing 20(1), 359–392 (1998)

    Article  MathSciNet  Google Scholar 

  15. Kojevnikov, A., Kulikov, A.S.: A New Approach to Proving Upper Bounds for MAX-2-SAT. In: SODA’06, pp. 11–17. SIAM, Philadelphia (2006)

    Google Scholar 

  16. Lipton, R., Tarjan, R.E.: A Separator Theorem for Planar Graphs. SIAM Journal of Applied Mathematics 36, 177–189 (1979)

    Article  MATH  MathSciNet  Google Scholar 

  17. Ravi, S.S., Hunt III, H.B.: An Application of the Planar Separator Theorem to Counting Problems. Information Processing Letters 25(5), 317–321 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  18. Scott, A.D., Sorkin, G.B.: Faster Algorithms for MAX CUT and MAX CSP, with Polynomial Expected Time for Sparse Instances. In: Arora, S., Jansen, K., Rolim, J.D.P., Sahai, A. (eds.) RANDOM 2003 and APPROX 2003. LNCS, vol. 2764, pp. 382–395. Springer, Heidelberg (2003)

    Google Scholar 

  19. Trevisan, L., Sorkin, G.B., Sudan, M., Williamson, D.P.: Gadgets, Approximation, and Linear Programming. SIAM Journal on Computing 29(6), 2074–2097 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  20. Vadhan, S.P.: The Complexity of Counting in Sparse, Regular, and Planar Graphs. SIAM Journal of Computing 31(2), 398–427 (2002)

    Article  MathSciNet  Google Scholar 

  21. Williams, R.: A New Algorithm for Optimal Constraint Satisfaction and Its Implications. In: Díaz, J., Karhumäki, J., Lepistö, A., Sannella, D. (eds.) ICALP 2004. LNCS, vol. 3142, pp. 1227–1237. Springer, Heidelberg (2004)

    Google Scholar 

  22. Woeginger, G.: Exact Algorithms for NP-Hard Problems: A Survey. In: Jünger, M., Reinelt, G., Rinaldi, G. (eds.) Combinatorial Optimization - Eureka, You Shrink! LNCS, vol. 2570, pp. 185–207. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  23. Woeginger, G.: Space and Time Complexity of Exact Algorithms: Some Open Problems. In: Downey, R.G., Fellows, M.R., Dehne, F. (eds.) IWPEC 2004. LNCS, vol. 3162, pp. 281–290. Springer, Heidelberg (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Jan van Leeuwen Giuseppe F. Italiano Wiebe van der Hoek Christoph Meinel Harald Sack František Plášil

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Berlin Heidelberg

About this paper

Cite this paper

Fürer, M., Kasiviswanathan, S.P. (2007). Exact Max 2-Sat: Easier and Faster. In: van Leeuwen, J., Italiano, G.F., van der Hoek, W., Meinel, C., Sack, H., Plášil, F. (eds) SOFSEM 2007: Theory and Practice of Computer Science. SOFSEM 2007. Lecture Notes in Computer Science, vol 4362. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-69507-3_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-69507-3_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-69506-6

  • Online ISBN: 978-3-540-69507-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics