Skip to main content

SAT Encodings of Pseudo-Boolean Constraints with At-Most-One Relations

  • Conference paper
  • First Online:

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

Abstract

Pseudo-Boolean (PB) constraints appear often in a large variety of constraint satisfaction problems. Encoding such constraints to SAT has proved to be an efficient approach in many applications. However, most of the existing encodings in the literature do not take profit from side constraints that often occur together with the PB constraints. In this work we introduce specialized encodings for PB constraints occurring together with at-most-one (AMO) constraints over subsets of their variables. We show that many state-of-the-art SAT encodings of PB constraints from the literature can be dramatically reduced in size thanks to the presence of AMO constraints. Moreover, the new encodings preserve the propagation properties of the original ones. Our experiments show a significant reduction in solving time thanks to the new encodings.

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   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Notes

  1. 1.

    A PB constraint of the form \(\sum _{i=1}^{n} q_ix_i \le K\) corresponds to a PB(AMO) constraint of the form \(\sum _{i=1}^{n} q_ix_i \le K \wedge x_1 \le 1 \wedge \dots \wedge x_n \le 1\).

References

  1. Abío, I., Nieuwenhuis, R., Oliveras, A., Rodríguez-Carbonell, E., Mayer-Eichberger, V.: A new look at BDDs for Pseudo-Boolean constraints. J. Artif. Intell. Res. 45, 443–480 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  2. Achterberg, T., Bixby, R.E., Gu, Z., Rothberg, E., Weninger, D.: Presolve reductions in mixed integer programming. Zuse Institute Berlin (2016)

    Google Scholar 

  3. Ansótegui, C., Manyà, F.: Mapping problems with finite-domain variables to problems with Boolean variables. In: Hoos, H.H., Mitchell, D.G. (eds.) SAT 2004. LNCS, vol. 3542, pp. 1–15. Springer, Heidelberg (2005). https://doi.org/10.1007/11527695_1

    Chapter  Google Scholar 

  4. Asín, R., Nieuwenhuis, R., Oliveras, A., Rodríguez-Carbonell, E.: Cardinality networks: a theoretical and empirical study. Constraints 16(2), 195–221 (2011). https://doi.org/10.1007/s10601-010-9105-0

    Article  MathSciNet  MATH  Google Scholar 

  5. Audemard, G., Simon, L.: On the glucose SAT solver. Int. J. Artif. Intell. Tools 27(1), 1–25 (2018)

    Article  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). https://doi.org/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). https://doi.org/10.1007/978-3-642-02777-2_19

    Chapter  MATH  Google Scholar 

  8. Basnet, C., Wilson, J.: Heuristics for determining the number of warehouses for storing non-compatible products. Int. Trans. Oper. Res. 12(5), 527–538 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  9. Bofill, M., Coll, J., Suy, J., Villaret, M.: An efficient SMT approach to solve MRCPSP/max instances with tight constraints on resources. In: Beck, J.C. (ed.) CP 2017. LNCS, vol. 10416, pp. 71–79. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-66158-2_5

    Chapter  Google Scholar 

  10. Bofill, M., Coll, J., Suy, J., Villaret, M.: Compact MDDs for Pseudo-Boolean constraints with at-most-one relations in resource-constrained scheduling problems. In: Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence - IJCAI 2017, pp. 555–562. ijcai.org (2017)

    Google Scholar 

  11. De Vries, S., Vohra, R.V.: Combinatorial auctions: a survey. INFORMS J. Comput. 15(3), 284–309 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  12. Eén, N., Sorensson, N.: Translating Pseudo-Boolean constraints into SAT. J. Satisf. Boolean Model. Comput. 2, 1–26 (2006)

    MATH  Google Scholar 

  13. Gent, I.P., Nightingale, P.: A new encoding of all different into SAT. In: 3rd International Workshop on Modelling and Reformulating Constraint Satisfaction - CP 2004, pp. 95–110 (2004)

    Google Scholar 

  14. Han, B., Leblet, J., Simon, G.: Hard multidimensional multiple choice knapsack problems, an empirical study. Comput. Oper. Res. 37(1), 172–181 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  15. Hölldobler, S., Manthey, N., Steinke, P.: A compact encoding of Pseudo-Boolean constraints into SAT. In: Glimm, B., Krüger, A. (eds.) KI 2012. LNCS (LNAI), vol. 7526, pp. 107–118. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-33347-7_10

    Chapter  Google Scholar 

  16. Joshi, S., Martins, R., Manquinho, V.: Generalized totalizer encoding for Pseudo-Boolean constraints. In: Pesant, G. (ed.) CP 2015. LNCS, vol. 9255, pp. 200–209. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-23219-5_15

    Chapter  Google Scholar 

  17. Ma, P.R., Lee, E.Y.S., Tsuchiya, M.: A task allocation model for distributed computing systems. IEEE Trans. Comput. 31(1), 41–47 (1982)

    Google Scholar 

  18. Manthey, N., Philipp, T., Steinke, P.: A more compact translation of Pseudo-Boolean constraints into CNF such that generalized arc consistency is maintained. In: Lutz, C., Thielscher, M. (eds.) KI 2014. LNCS (LNAI), vol. 8736, pp. 123–134. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11206-0_13

    Chapter  Google Scholar 

  19. Miller, C.E., Tucker, A.W., Zemlin, R.A.: Integer programming formulation of traveling salesman problems. J. ACM 7(4), 326–329 (1960)

    Article  MathSciNet  MATH  Google Scholar 

  20. Philipp, T., Steinke, P.: PBLib – a library for encoding Pseudo-Boolean constraints into CNF. In: Heule, M., Weaver, S. (eds.) SAT 2015. LNCS, vol. 9340, pp. 9–16. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24318-4_2

    Chapter  Google Scholar 

  21. Pisinger, D.: Budgeting with bounded multiple-choice constraints. Eur. J. Oper. Res. 129(3), 471–480 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  22. Watson, R.: Packet networks and optimal admission and upgrade of service level agreements: applying the utility model. MA Sc. Ph.D. thesis, Department of ECE, University of Victoria (2001)

    Google Scholar 

Download references

Acknowledgements

Work supported by grants TIN2015-66293-R (MINECO/FEDER, UE), and Ayudas para Contratos Predoctorales 2016 (grant number BES-2016-076867, funded by MINECO and co-funded by FSE).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Miquel Bofill .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bofill, M., Coll, J., Suy, J., Villaret, M. (2019). SAT Encodings of Pseudo-Boolean Constraints with At-Most-One Relations. In: Rousseau, LM., Stergiou, K. (eds) Integration of Constraint Programming, Artificial Intelligence, and Operations Research. CPAIOR 2019. Lecture Notes in Computer Science(), vol 11494. Springer, Cham. https://doi.org/10.1007/978-3-030-19212-9_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-19212-9_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-19211-2

  • Online ISBN: 978-3-030-19212-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics