Skip to main content

Horn Maximum Satisfiability: Reductions, Algorithms and Applications

  • Conference paper
  • First Online:
Book cover Progress in Artificial Intelligence (EPIA 2017)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 10423))

Included in the following conference series:

Abstract

Recent years have witnessed remarkable performance improvements in maximum satisfiability (MaxSAT) solvers. In practice, MaxSAT algorithms often target the most generic MaxSAT formulation, whereas dedicated solvers, which address specific subclasses of MaxSAT, have not been investigated. This paper shows that a wide range of optimization and decision problems are either naturally formulated as MaxSAT over Horn formulas, or permit simple encodings using HornMaxSAT. Furthermore, the paper also shows how linear time decision procedures for Horn formulas can be used for developing novel algorithms for the HornMaxSAT problem.

This work was supported by FCT funding of post-doctoral grants SFRH/BPD/103609/2014, SFRH/BPD/120315/2016, and LASIGE Research Unit, ref. UID/CEC/00408/2013.

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

Access this chapter

Institutional subscriptions

Notes

  1. 1.

    In contrast, for predicate logic and many of its specializations, Horn clauses are used ubiquitously. This includes logic programming, among many others applications.

  2. 2.

    Throughout the paper, these are referred to as MaxHS-family of MaxSAT algorithms.

  3. 3.

    This corresponds to requiring \(T\subseteq V\) to be such that \(\forall _{U\subseteq V}|U|<|T|\rightarrow \exists _{\{u,v\}\in E},\{u,v\}\cap U=\emptyset \). Throughout the paper, we will skip the mathematical representation of minimum (but also maximum) size sets.

  4. 4.

    To our best knowledge, this property of propositional encodings has not been investigated before.

  5. 5.

    SCIP and CPLEX are available, respectively, from http://scip.zib.de/ and https://www-01.ibm.com/software/commerce/optimization/cplex-optimizer/.

  6. 6.

    http://www.maxsat.udl.cat/.

  7. 7.

    Due to lack of space, details are omitted.

  8. 8.

    Any implementation of the MaxHS-family of MaxSAT algorithms, by using a CDCL SAT solver, implements a basic version of the algorithm proposed in Sect. 4.

References

  1. Abío, I., Nieuwenhuis, R., Oliveras, A., Rodríguez-Carbonell, E.: BDDs for pseudo-Boolean constraints – revisited. In: Sakallah, K.A., Simon, L. (eds.) SAT 2011. LNCS, vol. 6695, pp. 61–75. Springer, Heidelberg (2011). doi:10.1007/978-3-642-21581-0_7

    Chapter  Google Scholar 

  2. Ansótegui, C., Bonet, M.L., Levy, J.: SAT-based MaxSAT algorithms. Artif. Intell. 196, 77–105 (2013)

    Article  MathSciNet  Google Scholar 

  3. Arif, M.F., Mencía, C., Marques-Silva, J.: Efficient MUS enumeration of Horn formulae with applications to axiom pinpointing. In: SAT, pp. 324–342 (2015)

    Google Scholar 

  4. Asín, R., Nieuwenhuis, R., Oliveras, A., Rodríguez-Carbonell, E.: Cardinality networks and their applications. In: Kullmann, O. (ed.) SAT 2009. LNCS, vol. 5584, pp. 167–180. Springer, Heidelberg (2009). doi:10.1007/978-3-642-02777-2_18

    Chapter  MATH  Google Scholar 

  5. Asín, R., Nieuwenhuis, R., Oliveras, A., Rodríguez-Carbonell, E.: Cardinality networks: a theoretical and empirical study. Constraints 16(2), 195–221 (2011)

    Article  MathSciNet  Google Scholar 

  6. Bailleux, O., Boufkhad, Y.: Efficient CNF encoding of Boolean cardinality constraints. In: Rossi, F. (ed.) CP 2003. LNCS, vol. 2833, pp. 108–122. Springer, Heidelberg (2003). doi:10.1007/978-3-540-45193-8_8

    Chapter  MATH  Google Scholar 

  7. Bailleux, O., Boufkhad, Y., Roussel, O.: New encodings of pseudo-Boolean constraints into CNF. In: Kullmann, O. (ed.) SAT 2009. LNCS, vol. 5584, pp. 181–194. Springer, Heidelberg (2009). doi:10.1007/978-3-642-02777-2_19

    Chapter  MATH  Google Scholar 

  8. Biere, A., Heule, M., van Maaren, H., Walsh, T. (eds.): Handbook of Satisfiability. Frontiers in Artificial Intelligence and Applications, vol. 185. IOS Press, Amsterdam (2009)

    MATH  Google Scholar 

  9. Bryant, R.E., Beatty, D.L., Brace, K.S., Cho, K., Sheffler, T.J.: COSMOS: a compiled simulator for MOS circuits. In: DAC, pp. 9–16 (1987)

    Google Scholar 

  10. Codish, M., Zazon-Ivry, M.: Pairwise cardinality networks. In: Clarke, E.M., Voronkov, A. (eds.) LPAR 2010. LNCS, vol. 6355, pp. 154–172. Springer, Heidelberg (2010). doi:10.1007/978-3-642-17511-4_10

    Chapter  Google Scholar 

  11. Cook, S.A., Reckhow, R.A.: The relative efficiency of propositional proof systems. J. Symb. Log. 44(1), 36–50 (1979)

    Article  MathSciNet  Google Scholar 

  12. Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms, 3rd edn. MIT Press, Cambridge (2009)

    MATH  Google Scholar 

  13. Davies, J., Bacchus, F.: Solving MAXSAT by solving a sequence of simpler SAT instances. In: Lee, J. (ed.) CP 2011. LNCS, vol. 6876, pp. 225–239. Springer, Heidelberg (2011). doi:10.1007/978-3-642-23786-7_19

    Chapter  Google Scholar 

  14. Davies, J., Bacchus, F.: Exploiting the power of mip solvers in maxsat. In: Järvisalo, M., Van Gelder, A. (eds.) SAT 2013. LNCS, vol. 7962, pp. 166–181. Springer, Heidelberg (2013). doi:10.1007/978-3-642-39071-5_13

    Chapter  MATH  Google Scholar 

  15. Dowling, W.F., Gallier, J.H.: Linear-time algorithms for testing the satisfiability of propositional Horn formulae. J. Log. Program. 1(3), 267–284 (1984)

    Article  MathSciNet  Google Scholar 

  16. Eén, N., Sörensson, N.: Translating pseudo-Boolean constraints into SAT. JSAT 2(1–4), 1–26 (2006)

    MATH  Google Scholar 

  17. Giunchiglia, F., Walsh, T.: A theory of abstraction. Artif. Intell. 57(2–3), 323–389 (1992)

    Article  MathSciNet  Google Scholar 

  18. Heras, F., Larrosa, J., de Givry, S., Schiex, T.: 2006 and 2007 max-sat evaluations: contributed instances. JSAT 4(2–4), 239–250 (2008)

    MATH  Google Scholar 

  19. Ignatiev, A., Morgado, A., Marques-Silva, J.: Propositional abduction with implicit hitting sets. In: ECAI, pp. 1327–1335 (2016)

    Google Scholar 

  20. Ignatiev, A., Morgado, A., Marques-Silva, J.: On tackling the limits of resolution in SAT solving. In: SAT (2017)

    Chapter  Google Scholar 

  21. Ignatiev, A., Previti, A., Liffiton, M., Marques-Silva, J.: Smallest MUS extraction with minimal hitting set dualization. In: Pesant, G. (ed.) CP 2015. LNCS, vol. 9255, pp. 173–182. Springer, Cham (2015). doi:10.1007/978-3-319-23219-5_13

    Chapter  Google Scholar 

  22. Jabbour, S., Marques-Silva, J., Sais, L., Salhi, Y.: Enumerating prime implicants of propositional formulae in conjunctive normal form. In: Fermé, E., Leite, J. (eds.) JELIA 2014. LNCS, vol. 8761, pp. 152–165. Springer, Cham (2014). doi:10.1007/978-3-319-11558-0_11

    Chapter  MATH  Google Scholar 

  23. Jaumard, B., Simeone, B.: On the complexity of the maximum satisfiability problem for Horn formulas. Inf. Process. Lett. 26(1), 1–4 (1987)

    Article  MathSciNet  Google Scholar 

  24. Liao, X., Koshimura, M., Fujita, H., Hasegawa, R.: Solving the coalition structure generation problem with MaxSAT. In: ICTAI, pp. 910–915 (2012)

    Google Scholar 

  25. Manquinho, V.M., Flores, P.F., Marques-Silva, J., Oliveira, A.L.: Prime implicant computation using satisfiability algorithms. In: ICTAI, pp. 232–239 (1997)

    Google Scholar 

  26. Marques-Silva, J., Ignatiev, A., Mencía, C., Peñaloza, R.: Efficient reasoning for inconsistent Horn formulae. In: Michael, L., Kakas, A. (eds.) JELIA 2016. LNCS, vol. 10021, pp. 336–352. Springer, Cham (2016). doi:10.1007/978-3-319-48758-8_22

    Chapter  Google Scholar 

  27. Minoux, M.: LTUR: a simplified linear-time unit resolution algorithm for Horn formulae and computer implementation. Inf. Process. Lett. 29(1), 1–12 (1988)

    Article  MathSciNet  Google Scholar 

  28. Morgado, A., Heras, F., Liffiton, M.H., Planes, J., Marques-Silva, J.: Iterative and core-guided MaxSAT solving: a survey and assessment. Constraints 18(4), 478–534 (2013)

    Article  MathSciNet  Google Scholar 

  29. Ogawa, T., Liu, Y., Hasegawa, R., Koshimura, M., Fujita, H.: Modulo based CNF encoding of cardinality constraints and its application to MaxSAT solvers. In: ICTAI, pp. 9–17 (2013)

    Google Scholar 

  30. Previti, A., Ignatiev, A., Morgado, A., Marques-Silva, J.: Prime compilation of non-clausal formulae. In: IJCAI, pp. 1980–1988 (2015)

    Google Scholar 

  31. Roorda, J.-W., Claessen, K.: A new SAT-based algorithm for symbolic trajectory evaluation. In: Borrione, D., Paul, W. (eds.) CHARME 2005. LNCS, vol. 3725, pp. 238–253. Springer, Heidelberg (2005). doi:10.1007/11560548_19

    Chapter  Google Scholar 

  32. Rossi, F., van Beek, P., Walsh, T. (eds.): Handbook of Constraint Programming. Foundations of Artificial Intelligence, vol. 2. Elsevier, Amsterdam (2006)

    MATH  Google Scholar 

  33. Saikko, P., Berg, J., Järvisalo, M.: LMHS: a SAT-IP hybrid MaxSAT solver. In: Creignou, N., Le Berre, D. (eds.) SAT 2016. LNCS, vol. 9710, pp. 539–546. Springer, Cham (2016). doi:10.1007/978-3-319-40970-2_34

    Chapter  MATH  Google Scholar 

  34. Sebastiani, R., Vescovi, M.: Axiom pinpointing in lightweight description logics via Horn-SAT encoding and conflict analysis. In: Schmidt, R.A. (ed.) CADE 2009. LNCS, vol. 5663, pp. 84–99. Springer, Heidelberg (2009). doi:10.1007/978-3-642-02959-2_6

    Chapter  Google Scholar 

  35. Sinz, C.: Towards an optimal CNF encoding of Boolean cardinality constraints. In: van Beek, P. (ed.) CP 2005. LNCS, vol. 3709, pp. 827–831. Springer, Heidelberg (2005). doi:10.1007/11564751_73

    Chapter  MATH  Google Scholar 

  36. Walsh, T.: SAT v CSP. In: Dechter, R. (ed.) CP 2000. LNCS, vol. 1894, pp. 441–456. Springer, Heidelberg (2000). doi:10.1007/3-540-45349-0_32

    Chapter  Google Scholar 

  37. Warners, J.P.: A linear-time transformation of linear inequalities into conjunctive normal form. Inf. Process. Lett. 68(2), 63–69 (1998)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Joao Marques-Silva .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Marques-Silva, J., Ignatiev, A., Morgado, A. (2017). Horn Maximum Satisfiability: Reductions, Algorithms and Applications. In: Oliveira, E., Gama, J., Vale, Z., Lopes Cardoso, H. (eds) Progress in Artificial Intelligence. EPIA 2017. Lecture Notes in Computer Science(), vol 10423. Springer, Cham. https://doi.org/10.1007/978-3-319-65340-2_56

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-65340-2_56

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-65339-6

  • Online ISBN: 978-3-319-65340-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics