Distributed Answer Set Coloring: Stable Models Computation via Graph Coloring

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review


Answer Set Programming (ASP) is a famous logic language for knowledge representation, which has been really successful in the last years, as witnessed by the great interest into the development of efficient solvers for ASP. Yet, the great request of resources for certain types of problems, as the planning ones, still constitutes a big limitation for problem solving. Particularly, in the case the program is grounded before the resolving phase, an exponential blow up of the grounding can generate a huge ground file, infeasible for single machines with limited resources, thus preventing even the discovering of a single non-optimal solution. To address this problem, in this paper we present a distributed approach to ASP solving, exploiting distributed computation benefits in order to overcome the just explained limitations. The here presented tool, which is called Distributed Answer Set Coloring (DASC), is a pure solver based on the well-known Graph Coloring algorithm. DASC is part of a bigger project aiming to bring logic programming into a distributed system, started in 2017 by Federico Igne with mASPreduce and continued in 2018 by Pietro Totis with a distributed grounder. In this paper we present a low level implementation of the Graph Coloring algorithm, via the Boost and MPI libraries for C++. Finally, we provide a few results of the very first working version of our tool, at the moment without any strong optimization or heuristic.
Original languageEnglish
Title of host publicationProceedings 35th International Conference on Logic Programming (Technical Communications) (ICLP 2019)
Subtitle of host publicationDoctoral Consortium
Publication statusPublished - 2019
Event35th International Conference on Logic Programming: ICLP 2019 - Las Cruces, United States
Duration: 20 Sept 201925 Sept 2019


Conference35th International Conference on Logic Programming
Abbreviated titleICLP 2019
Country/TerritoryUnited States
CityLas Cruces

ASJC Scopus subject areas

  • Artificial Intelligence

Fields of Expertise

  • Information, Communication & Computing

Treatment code (Nähere Zuordnung)

  • Basic - Fundamental (Grundlagenforschung)


Dive into the research topics of 'Distributed Answer Set Coloring: Stable Models Computation via Graph Coloring'. Together they form a unique fingerprint.

Cite this