Skip to main content
Log in

Empirical investigation of stochastic local search for maximum satisfiability

  • Research Article
  • Published:
Frontiers of Computer Science Aims and scope Submit manuscript

Abstract

The maximum satisfiability (MAX-SAT) problem is an important NP-hard problem in theory, and has a broad range of applications in practice. Stochastic local search (SLS) is becoming an increasingly popular method for solving MAX-SAT. Recently, a powerful SLS algorithm called CCLS shows efficiency on solving random and crafted MAX-SAT instances. However, the performance of CCLS on solving industrial MAX-SAT instances lags far behind. In this paper, we focus on experimentally analyzing the performance of SLS algorithms for solving industrial MAX-SAT instances. First, we conduct experiments to analyze why CCLS performs poor on industrial instances. Then we propose a new strategy called additive BMS (Best from Multiple Selections) to ease the serious issue. By integrating CCLS and additive BMS, we develop a new SLS algorithm for MAX-SAT called CCABMS, and related experiments indicate the efficiency of CCABMS. Also, we experimentally analyze the effectiveness of initialization methods on SLS algorithms for MAX-SAT, and combine an effective initialization method with CCABMS, resulting in an enhanced algorithm. Experimental results show that our enhanced algorithm performs better than its state-of-the-art SLS competitors on a large number of industrial MAX-SAT instances.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Prestwich S D. CNF encodings. Handbook of Satisfiability. 2009, 75–97

    Google Scholar 

  2. Li C M, Manyà F. MaxSAT, hard and soft constraints. Handbook of Satisfiability, 2009, 185: 613–631

    Google Scholar 

  3. Smyth K, Hoos H H, Stützle T. Iterated robust tabu search for MAX-SAT. In: Proceedings of Conference of the Canadian Society for Computational Studies of Intelligence. 2003, 129–144

    Google Scholar 

  4. Yang Q, Wu K, Jiang Y. Learning action models from plan examples using weighted MAX-SAT. Artificial Intelligence, 2007, 171(2–3): 107–143

    Article  MathSciNet  MATH  Google Scholar 

  5. Chen Y, Safarpour S, Marques-Silva J, Veneris A G. Automated design debugging with maximum satisfiability. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2010, 29(11): 1804–1817

    Article  Google Scholar 

  6. Demirovic E, Musliu N. MaxSAT-based large neighborhood search for high school timetabling. Computers & Operations Research, 2017, 78: 172–180

    Article  MathSciNet  MATH  Google Scholar 

  7. Huang W, Kitchaev D A, Dacek S, Rong Z Q, Urban A, Cao S, Luo C, Ceder G. Finding and proving the exact ground state of a generalized Ising model by convex optimization and MAX-SAT. Physical Review B, 2016, 94(13): 134424

    Article  Google Scholar 

  8. Berg J, Järvisalo M, Malone B. Learning optimal bounded treewidth bayesian networks via maximum satisfiability. Artifical Intelligence and Statistics. 2014, 86–95

    Google Scholar 

  9. Chieu H L, Lee W S. Relaxed survey propagation for the weighted maximum satisfiability problem. Journal of Artificial Intelligence Research, 2009, 36: 229–266

    Article  MathSciNet  MATH  Google Scholar 

  10. Luo C, Cai S, Su K, Huang W. CCEHC: an efficient local search algorithm for weighted partial maximum satisfiability. Artificial Intelligence, 2017, 243: 26–44

    Article  MathSciNet  MATH  Google Scholar 

  11. Lin H, Su K. Exploiting inference rules to compute lower bounds for MAX-SAT solving. In: Proceedings of IJCAI. 2007, 2334–2339

    Google Scholar 

  12. Lin H, Su K, Li C M. Within-problem learning for efficient lower bound computation in Max-SAT solving. In: Proceedings of AAAI. 2008, 351–356

    Google Scholar 

  13. Li C M, Manyà F, Mohamedou N O, Planes J, Exploiting cycle structures in Max-SAT. In: Proceedings of International Conference on Theory and Applications of Satisfiability Testing. 2009, 467–480

    MATH  Google Scholar 

  14. Ansótegui C, Bonet M L, Levy J. SAT-based MaxSAT algorithms. Artificial Intelligence, 2013, 196: 77–105

    Article  MathSciNet  MATH  Google Scholar 

  15. Ansótegui C, Bonet M L, Gabàs J, Levy J. Improving WPM2 for (weighted) partial MaxSAT. In: Proceedings of International Conference on Principles and Practice of Constraint Programming. 2013, 117–132

    Chapter  Google Scholar 

  16. Narodytska N, Bacchus F. Maximum satisfiability using core-guided MaxSAT resolution. In: Proceedings of AAAI. 2014, 2717–2723

    Google Scholar 

  17. Hoos H H, Stützle T. Stochastic Local Search: Foundations & Applications. San Francisoc: Morgan Kaufmann, 2004

    MATH  Google Scholar 

  18. Cai S, Luo C, Thornton J, Su K. Tailoring local search for partial MaxSAT. In: Proceedings of AAAI. 2014, 2623–2629

    Google Scholar 

  19. Cai S, Su K, Luo C, Sattar A. NuMVC: an efficient local search algorithm for minimum vertex cover. Journal of Artificial Intelligence Research, 2013, 46: 687–716

    Article  MathSciNet  MATH  Google Scholar 

  20. Cai S. Balance between complexity and quality: local search for minimum vertex cover in massive graphs. In: Proceedings of IJCAI. 2015, 747–753

    Google Scholar 

  21. Zhang Z, He H, Luo Z, Qin H, Guo S. An efficient forest-based tabu search algorithm for the split-delivery vehicle routing problem. In: Proceedings of AAAI. 2015, 3432–3438

    Google Scholar 

  22. Umetani S. Exploiting variable associations to configure efficient local search in large-scale set partitioning problems. In: Proceedings of AAAI. 2015, 1226–1232

    Google Scholar 

  23. Lin J, Luo C, Cai S, Su K, Hao D, Zhang L. TCA: an efficient two-mode meta-heuristic algorithm for combinatorial test generation. In: Proceedings of the 30th IEEE/ACM International Conference on Automated Software Engineering (ASE). 2015, 494–505

    Google Scholar 

  24. Guo W, Liu G, Chen G, Peng S. A hybrid multi-objective pso algorithm with local search strategy for vlsi partitioning. Frontiers of Computer Science, 2014, 8(2): 203–216

    Article  MathSciNet  Google Scholar 

  25. Selman B, Levesque H J, Mitchell D G. A new method for solving hard satisfiability problems. In: Proceedings of AAAI. 1992, 440–446

    Google Scholar 

  26. Selman B, Kautz H A, Cohen B. Noise strategies for improving local search. In: Proceedings of AAAI. 1994, 337–343

    Google Scholar 

  27. Jiang Y, Kautz H, Selman B. Solving problems with hard and soft constraints using a stochastic algorithm for MAX-SAT. In: Proceedings of the 1st International Joint Workshop on Artificial Intelligence and Operations Research. 1995, 20

    Google Scholar 

  28. Wah B W, Shang Y. Discrete lagrangian-based search for solving MAX-SAT problems. In: Proceedings of IJCAI. 1997, 378–383

    Google Scholar 

  29. Mills P, Tsang E P K. Guided local search for solving SAT and weighted MAX-SAT problems. Journal of Automated Reasoning, 2000, 24(1/2): 205–223

    Article  MathSciNet  MATH  Google Scholar 

  30. Yagiura M, Ibaraki T. Efficient 2 and 3-flip neighborhood search algorithms for the MAX SAT: experimental evaluation. Journal of Heuristics, 2001, 7(5): 423–442

    Article  MATH  Google Scholar 

  31. Sadowski K L, Bosman P A N, Thierens D. On the usefulness of linkage processing for solving MAX-SAT. In: Proceedings of GECCO. 2013, 853–860

    Google Scholar 

  32. Hains D, Whitley D, Howe A E, Chen W. Hyperplane initialized local search for MAX-SAT. In: Proceedings of the 15th Annual Conference on Genetic and Evolutionary Computation. 2013, 805–812

    Google Scholar 

  33. Whitley D, Howe A E, Hains D. Greedy or not? best improving versus first improving stochastic local search for MAX-SAT. In: Proceedings of AAAI. 2013, 940–946

    Google Scholar 

  34. Kroc L, Sabharwal A, Gomes C P, Selman B. Integrating systematic and local search paradigms: a new strategy for MaxSAT. In: Proceedings of IJCAI. 2009, 544–551

    Google Scholar 

  35. Cai S, Su K. Local search for Boolean satisfiability with configuration checking and subscore. Artificial Intelligence, 2013, 204: 75–98

    Article  MATH  Google Scholar 

  36. Luo C, Cai S, Wu W, Jie Z, Su K. CCLS: an efficient local search algorithm for weighted maximum satisfiability. IEEE Transactions on Computers, 2015, 64(7): 1830–1843

    Article  MathSciNet  MATH  Google Scholar 

  37. Goffinet J, Ramanujan R. Monte-carlo tree search for the maximum satisfiability problem. In: Proceedings of International Conference on Principles and Practice of Constraint Programming. 2016, 251–267

    Chapter  Google Scholar 

  38. Wagner M. MaxSAT solver SC2016. Max-SAT Evaluation, 2016

    Google Scholar 

  39. Fan Y, Ma Z, Su K, Sattar A, Li C. Ramp: a local search solver based on make-positive variables. Max-SAT Evaluation, 2016

    Google Scholar 

  40. Cai S, Luo C, Lin J, Su K. New local search methods for partial maxsat. Artificial Intelligence, 2016, 240: 1–18

    Article  MathSciNet  MATH  Google Scholar 

  41. Roussel O. Controlling a solver execution with the runsolver tool. Journal on Satisfiability, Boolean Modeling and Computation, 2011, 7(4): 139–144

    MathSciNet  MATH  Google Scholar 

  42. Cai S, Lin J. Fast solving maximum weight clique problem in massive graphs. In: Proceedings of IJCAI. 2016, 568–574

    Google Scholar 

  43. Wang Y, Cai S, Yin M. Two efficient local search algorithms for maximum weight clique problem. In: Proceedings of AAAI. 2016, 805–811

    Google Scholar 

  44. Hutter F, Hoos H H, Leyton-Brown K, Stützle T. ParamILS: an automatic algorithm configuration framework. Journal of Artificial Intelligence Research, 2009, 36: 267–306

    Article  MATH  Google Scholar 

  45. Hutter F, Hoos H H, Leyton-Brown K. Sequential model-based optimization for general algorithm configuration. In: Proceedings of Inter national Conference on Learning and Intelligent Optimization. 2011, 507–523

    Chapter  Google Scholar 

  46. Hoos H H. An adaptive noise mechanism for WalkSAT. In: Proceedings of AAAI. 2002, 655–660

    Google Scholar 

  47. Thornton J, Pham D N, Bain S, Ferreira Jr V. Additive versus multiplicative clause weighting for SAT. In: Proceedings of AAAI. 2004, 191–196

    Google Scholar 

Download references

Acknowledgements

This work was partially supported by the National Key Research and Development Program of China (2016YFE0100300, 2017YFB02025), partially supported by the 100 Talents Program of the Chinese Academy of Sciences (2920154070), partially supported by the Knowledge Innovation Project of the Chinese Academy of Sciences (5120146040), partially supported by the Open Project Program of the State Key Laboratory of Mathematical Engineering and Advanced Computing (2016A06), partially supported by the National Natural Science Foundation of China (Grant No. 61502464).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Haihang You.

Additional information

Yi Chu received the BSc degree in computer science and technology from Jilin University, China in 2011, and the ME degree in computer technology from Beijing University of Posts and Telecommunications in 2014. She is currently working toward the Phd Degree in computer science at Institute of Computing Technology, Chinese Academy of Sciences, China. Her research interest is combinatorial optimization and heuristic search.

Chuan Luo received the BE degree in computer science from the South China University of Technology in 2011, and the PhD degree from School of Electronics Engineering and Computer Science, Peking University, China in 2016. He is currently a postdoctoral researcher in the ADA Research Group at Leiden University. His current research interest include heuristic search, programming by optimization and automated machine learning.

Shaowei Cai received the BE degree in computer science from the South China University of Technology in 2008, and a PhD degree from School of Electronics Engineering and Computer Science, Peking University, China in 2012, and another PhD degree from Institute for Integrated and Intelligent Systems, Griffith University, Australia in 2014. He is currently a professor in State Key Laboratory of Computer Science in Institute of Software, Chinese Academy of Sciences, China. He has broad interest in artificial intelligence and algorithm design, and have particular interest in combinatorial optimization, heuristics, randomized algorithms, and automated reasoning.

Haihang You is a professor at Institute of Computing Technology, Chinese Academy of Sciences, China. Prior joining ICT, Dr. You was research scientist at National Institute of Computational Sciences at Oak Ridge National Laboratory and Innovative Computing Laboratory at University of Tennessee, America. Dr. You’s research interest is in the field of high performance computing and high throughput computing, specifically parallel algorithm, numerical algorithm, performance optimization and autotuning.

Electronic supplementary material

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chu, Y., Luo, C., Cai, S. et al. Empirical investigation of stochastic local search for maximum satisfiability. Front. Comput. Sci. 13, 86–98 (2019). https://doi.org/10.1007/s11704-018-7107-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11704-018-7107-z

Keywords

Navigation