Skip to main content

Solving Modular Model Expansion: Case Studies

  • Conference paper
  • First Online:
Applications of Declarative Programming and Knowledge Management (INAP 2011, WLP 2011)

Abstract

Model expansion task is the task of representing the essence of search problems where we are given an instance of a problem and are searching for a solution satisfying certain properties. Such tasks are common in AI planning, scheduling, logistics, supply chain management, etc., and are inherently modular. Recently, the model expansion framework was extended to deal with multiple modules to represent e.g. the task of constructing a logistics service provider relying on local service providers. In the current paper, we study existing systems that operate in a modular way in order to obtain general principles of solving modular model expansion tasks. We introduce a general algorithm to solve model expansion tasks for modular systems. We demonstrate, through several case studies, that our algorithm closely corresponds to what is done in practice in different areas such as Satisfiability Modulo Theories (SMT), Integer Linear Programming (ILP), and Answer Set Programming (ASP). We make our framework language-independent through a model-theoretic development.

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

Access this chapter

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

Institutional subscriptions

Notes

  1. 1.

    A more realistic example contains many more modules.

  2. 2.

    We are equally interested in representing multi-module processes that do not require more than a polynomial number of steps to solve, as is common in some business processes such as signing a document.

  3. 3.

    This view follows the research program started in [1].

  4. 4.

    By “\(:=\)” we mean “is by definition” or “denotes”.

  5. 5.

    This makes sure that \(\varOmega \) is returned only once at the beginning.

  6. 6.

    Again \(O_T\) only returns this set when \(\mathcal{B}\) is the empty expansion of the instance structure.

References

  1. Mitchell, D.G., Ternovska, E.: A framework for representing and solving NP search problems. In: Proceedings of AAAI, pp. 430–435 (2005)

    Google Scholar 

  2. Tasharrofi, S., Ternovska, E.: A semantic account for modularity in multi-language modelling of search problems. In: Tinelli, C., Sofronie-Stokkermans, V. (eds.) FroCoS 2011. LNCS, vol. 6989, pp. 259–274. Springer, Heidelberg (2011)

    Google Scholar 

  3. Niemelä, I.: Integrating answer set programming and satisfiability modulo theories. In: Erdem, E., Lin, F., Schaub, T. (eds.) LPNMR 2009. LNCS, vol. 5753, p. 3. Springer, Heidelberg (2009)

    Google Scholar 

  4. Nieuwenhuis, R., Oliveras, A., Tinelli, C.: Solving sat and sat modulo theories: from an abstract Davis-Putnam-Logemann-Loveland procedure to DPLL(T). J. ACM 53, 937–977 (2006)

    Article  MathSciNet  Google Scholar 

  5. Pardalos, P., Resende, M.: Handbook of applied optimization, vol. 126. Oxford University Press, New York (2002)

    Book  MATH  Google Scholar 

  6. Gebser, M., Ostrowski, M., Schaub, T.: Constraint answer set solving. In: Hill, P.M., Warren, D.S. (eds.) ICLP 2009. LNCS, vol. 5649, pp. 235–249. Springer, Heidelberg (2009)

    Google Scholar 

  7. Frisch, A.M., Harvey, W., Jefferson, C., Martínez-Hernández, B., Miguel, I.: Essence: a constraint language for specifying combinatorial problems. Constraints 13, 268–306 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  8. Järvisalo, M., Oikarinen, E., Janhunen, T., Niemelä, I.: A module-based framework for multi-language constraint modeling. In: Erdem, E., Lin, F., Schaub, T. (eds.) LPNMR 2009. LNCS, vol. 5753, pp. 155–168. Springer, Heidelberg (2009)

    Google Scholar 

  9. Vaezipoor, P., Mitchell, D., Mariën, M.: Lifted unit propagation for effective grounding. In: 19th International Conference on Applications of Declarative Programming and Knowledge Management (2011). CoRR abs/1109.1317

    Google Scholar 

  10. Sebastiani, R.: Lazy satisfiability modulo theories. JSAT 3, 141–224 (2007)

    MathSciNet  MATH  Google Scholar 

  11. De Cat, B., Denecker, M.: DPLL(Agg): An efficient SMT module for aggregates. In: LaSh 2010 Workshop (2010)

    Google Scholar 

  12. Baselice, S., Bonatti, P.A., Gelfond, M.: Towards an integration of answer set and constraint solving. In: Gabbrielli, M., Gupta, G. (eds.) ICLP 2005. LNCS, vol. 3668, pp. 52–66. Springer, Heidelberg (2005)

    Google Scholar 

  13. Mellarkod, V.S., Gelfond, M., Zhang, Y.: Integrating answer set programming and constraint logic programming. Ann. Math. Artif. Intell. 53, 251–287 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  14. Eiter, T., Gottlob, G., Veith, H.: Modular logic programming and generalized quantifiers. In: Dix, J., Furbach, U., Nerode, A. (eds.) LPNMR 1997. LNCS, vol. 1265, pp. 290–309. Springer, Heidelberg (1997)

    Google Scholar 

  15. Oikarinen, E., Janhunen, T.: Modular equivalence for normal logic programs. In: The Proceedings of NMR 2006, pp. 10–18 (2006)

    Google Scholar 

  16. Janhunen, T., Oikarinen, E., Tompits, H., Woltran, S.: Modularity aspects of disjunctive stable models. In: Baral, C., Brewka, G., Schlipf, J. (eds.) LPNMR 2007. LNCS (LNAI), vol. 4483, pp. 175–187. Springer, Heidelberg (2007)

    Google Scholar 

  17. Dao-Tran, M., Eiter, T., Fink, M., Krennwallner, T.: Modular nonmonotonic logic programming revisited. In: Hill, P.M., Warren, D.S. (eds.) ICLP 2009. LNCS, vol. 5649, pp. 145–159. Springer, Heidelberg (2009)

    Google Scholar 

  18. Baral, C., Dzifcak, J., Takahashi, H.: Macros, macro calls and use of ensembles in modular answer set programming. In: Etalle, S., Truszczyński, M. (eds.) ICLP 2006. LNCS, vol. 4079, pp. 376–390. Springer, Heidelberg (2006)

    Google Scholar 

  19. Balduccini, M.: Modules and signature declarations for a-prolog: Progress report. In: SEA, pp. 41–55 (2007)

    Google Scholar 

  20. Denecker, M., Ternovska, E.: A logic of non-monotone inductive definitions. Trans. Comput. Logic 9(2), 1–51 (2008)

    Article  MathSciNet  Google Scholar 

  21. Swift, T., Warren, D.S.: The XSB System (2009)

    Google Scholar 

  22. Elkhatib, O., Pontelli, E., Son, T.C.: \(\mathbb{ASP-PROLOG}\): a system for reasoning about answer set programs in prolog. In: Jayaraman, B. (ed.) PADL 2004. LNCS, vol. 3057, pp. 148–162. Springer, Heidelberg (2004)

    Google Scholar 

  23. Garcia de la Banda, M., Marriott, M., Rafeh, R., Wallace, M.: The modelling language zinc. In: Benhamou, F. (ed.) CP 2006. LNCS, vol. 4204, pp. 700–705. Springer, Heidelberg (2006)

    Google Scholar 

  24. Brewka, G., Eiter, T.: Equilibria in heterogeneous nonmonotonic multi-context systems. Proceedings of the 22nd AAAI Conference on Artificial Intelligence, vol. 1, pp. 385–390. AAAI Press, Vancouver (2007)

    Google Scholar 

  25. Bairakdar, S.-D., Dao-Tran, M., Eiter, T., Fink, M., Krennwallner, T.: The DMCS solver for distributed nonmonotonic multi-context systems. In: Janhunen, T., Niemelä, I. (eds.) JELIA 2010. LNCS, vol. 6341, pp. 352–355. Springer, Heidelberg (2010)

    Google Scholar 

  26. Eiter, T., Fink, M., Schüller, P., Weinzierl, A.: Finding explanations of inconsistency in multi-context systems. In: Lin, F., Sattler, U., Truszczynski, M. (eds.), Principles of Knowledge Representation and Reasoning: Proceedings of the Twelfth International Conference (KR 2010), Toronto, Ontario, Canada, 9–13 May 2010. AAAI Press (2010)

    Google Scholar 

  27. Eiter, T., Fink, M., Schüller, P.: Approximations for explanations of inconsistency in partially known multi-context systems. In: Delgrande, J.P., Faber, W. (eds.) LPNMR 2011. LNCS, vol. 6645, pp. 107–119. Springer, Heidelberg (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Eugenia Ternovska .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Tasharrofi, S., Wu, X.(., Ternovska, E. (2013). Solving Modular Model Expansion: Case Studies. In: Tompits, H., et al. Applications of Declarative Programming and Knowledge Management. INAP WLP 2011 2011. Lecture Notes in Computer Science(), vol 7773. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-41524-1_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-41524-1_12

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-41523-4

  • Online ISBN: 978-3-642-41524-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics