Multi-shot ASP solving with clingo

05/27/2017
by   Martin Gebser, et al.
0

We introduce a new flexible paradigm of grounding and solving in Answer Set Programming (ASP), which we refer to as multi-shot ASP solving, and present its implementation in the ASP system clingo. Multi-shot ASP solving features grounding and solving processes that deal with continuously changing logic programs. In doing so, they remain operative and accommodate changes in a seamless way. For instance, such processes allow for advanced forms of search, as in optimization or theory solving, or interaction with an environment, as in robotics or query-answering. Common to them is that the problem specification evolves during the reasoning process, either because data or constraints are added, deleted, or replaced. This evolutionary aspect adds another dimension to ASP since it brings about state changing operations. We address this issue by providing an operational semantics that characterizes grounding and solving processes in multi-shot ASP solving. This characterization provides a semantic account of grounder and solver states along with the operations manipulating them. The operative nature of multi-shot solving avoids redundancies in relaunching grounder and solver programs and benefits from the solver's learning capacities. clingo accomplishes this by complementing ASP's declarative input language with control capacities. On the declarative side, a new directive allows for structuring logic programs into named and parameterizable subprograms. The grounding and integration of these subprograms into the solving process is completely modular and fully controllable from the procedural side. To this end, clingo offers a new application programming interface that is conveniently accessible via scripting languages.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/12/2017

Clingcon: The Next Generation

We present the third generation of the constraint answer set system clin...
research
08/15/2020

How to build your own ASP-based system?!

Answer Set Programming (ASP) has become a popular and quite sophisticate...
research
08/10/2021

On the Foundations of Grounding in Answer Set Programming

We provide a comprehensive elaboration of the theoretical foundations of...
research
09/07/2021

Aspartix-V21

In this solver description we present ASPARTIX-V, in its 2021 edition, w...
research
10/11/2012

Multi-threaded ASP Solving with clasp

We present the new multi-threaded version of the state-of-the-art answer...
research
05/05/2014

The Multi-engine ASP Solver ME-ASP: Progress Report

MEASP is a multi-engine solver for ground ASP programs. It exploits algo...
research
03/29/2019

Degrees of Laziness in Grounding: Effects of Lazy-Grounding Strategies on ASP Solving

The traditional ground-and-solve approach to Answer Set Programming (ASP...

Please sign up or login with your details

Forgot password? Click here to reset