Proceedings

Improved Encodings of Acyclicity for Translating Answer Set Programming into Integer Programming

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 3369-3376.

https://doi.org/10.24963/ijcai.2024/373

Abstract

In this work, we introduce novel translations of Answer Set Programming (ASP) into Integer Programming (IP). While building upon a previously introduced IP translation, we revisit the translation of acyclicity constraints essential for capturing answer sets precisely. By leveraging vertex elimination graphs, we demonstrate that a new translation of acyclicity can yield integer programs with a more restrictive linear relaxation compared to previous methods. This enhancement enables IP solvers to prune the search space more efficiently. Furthermore, we show how acyclicity can be expressed more concisely in IP given any feedback vertex set of the underlying dependency graph. Experimental results underscore the improved efficiency of our methods over the previously implemented translation. The new vertex elimination based translation with Gurobi as the back-end solver turns out competitive against Clingo, a state-of-the-art native ASP solver, in a number of non-tight Answer Set Optimization (ASO) benchmarks.

  1. [Bellman, 1958] Richard Bellman. On a routing problem. Quarterly of Applied Mathematics, 16:78-90, 1958.
  2. [Bomanson et al., 2016] Jori Bomanson, Martin Gebser, Tomi Janhunen, Benjamin Kaufmann, and Torsten Schaub. Answer set programming modulo acyclicity. Fundam. In- formaticae, 147(1):63-91, 2016.
  3. [Brewka et al., 2011] Gerhard Brewka, Thomas Eiter, and Miroslaw Truszczynski. Answer set programming at a glance. Commun. ACM, 54(12):92-103, 2011.
  4. [Chen et al., 2008] Xiaoping Chen, Jianmin Ji, and Fangzhen Lin. Computing loops with at most one external support rule. In Gerhard Brewka and Jérôme Lang, editors, Principles of Knowledge Representation and Reasoning: Proceedings of the Eleventh International Conference, KR 2008, Sydney, Australia, September 16-19, 2008, pages 401-410. AAAI Press, 2008.
  5. [Gebser et al., 2017] Martin Gebser, Marco Maratea, and Francesco Ricca. The sixth answer set programming com- petition. J. Artif. Intell. Res., 60:41-95, 2017.
  6. [Gebser et al., 2019] Martin Gebser, Roland Kaminski, Ben- jamin Kaufmann, and Torsten Schaub. Multi-shot ASP solving with clingo. Theory Pract. Log. Program., 19(1):27-82, 2019.
  7. [Gebser et al., 2020] Martin Gebser, Marco Maratea, and Francesco Ricca. The seventh answer set programming competition: Design and results. Theory Pract. Log. Pro- gram., 20(2):176-204, 2020.
  8. [Hecher and Kiesel, 2023] Markus Hecher and Rafael Kiesel. The Impact of Structure in Answer Set Counting: Fighting Cycles and its Limits. In Proceedings of the 20th International Conference on Principles of Knowledge Representation and Reasoning, pages 344-354, 8 2023.
  9. [Hunter and Kreutzer, 2008] Paul Hunter and Stephan Kreutzer. Digraph measures: Kelly decompositions, games, and orderings. Theor. Comput. Sci., 399(3):206- 219, 2008.
  10. [Janhunen, 2006] Tomi Janhunen. Some (in)translatability results for normal logic programs and propositional theo- ries. J. Appl. Non Class. Logics, 16(1-2):35-86, 2006.
  11. [Liu et al., 2012] Guohua Liu, Tomi Janhunen, and Ilkka Niemelä. Answer set programming via mixed integer programming. In Gerhard Brewka, Thomas Eiter, and Sheila A. McIlraith, editors, Principles of Knowledge Rep- resentation and Reasoning: Proceedings of the Thirteenth International Conference, KR 2012, Rome, Italy, June 10- 14, 2012. AAAI Press, 2012.
  12. [Mitchell, 2002] John Mitchell. Branch-and-Cut Algorithms for Combinatorial Optimization Problems. Oxford Uni- versity Press, 01 2002.
  13. [Niemelä, 1999] Ilkka Niemelä. Logic programs with stable model semantics as a constraint programming paradigm. Ann. Math. Artif. Intell., 25(3-4):241-273, 1999.
  14. [Rankooh and Janhunen, 2022] Masood Feyzbakhsh Rankooh and Tomi Janhunen. Efficient computation of answer sets via SAT modulo acyclicity and vertex elim- ination. In Georg Gottlob, Daniela Inclezan, and Marco Maratea, editors, Logic Programming and Nonmonotonic Reasoning -16th International Conference, LPNMR 2022, Genova, Italy, September 5-9, 2022, Proceedings, volume 13416 of Lecture Notes in Computer Science, pages 203-216. Springer, 2022.
  15. [Rankooh and Rintanen, 2022] Masood Feyzbakhsh Rankooh and Jussi Rintanen. Propositional encod- ings of acyclicity and reachability by using vertex elimination. In Thirty-Sixth AAAI Conference on Artificial Intelligence, AAAI 2022, 2022 Virtual Event, February 22 -March 1, 2022, pages 5861-5868. AAAI Press, 2022.
  16. [Rose and Tarjan, 1975] Donald J. Rose and Robert Endre Tarjan. Algorithmic aspects of vertex elimination. In Pro- ceedings of the 7th Annual ACM Symposium on Theory of Computing, pages 245-254, 1975.
  17. [Simons et al., 2002] Patrik Simons, Ilkka Niemelä, and Timo Soininen. Extending and implementing the stable model semantics. Artificial Intelligence, 138(1-2):181- 234, 2002.
  18. [Zhou et al., 2023] Neng-Fa Zhou, Ruiwei Wang, and Roland H. C. Yap. A comparison of SAT encodings for acyclicity of directed graphs. In Meena Mahajan and Friedrich Slivovsky, editors, 26th International Confer- ence on Theory and Applications of Satisfiability Testing, SAT 2023, July 4-8, 2023, Alghero, Italy, volume 271 of LIPIcs, pages 30:1-30:9. Schloss Dagstuhl -Leibniz- Zentrum für Informatik, 2023.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards