Hostname: page-component-77f85d65b8-6bnxx Total loading time: 0 Render date: 2026-03-30T08:38:20.143Z Has data issue: false hasContentIssue false

Constraint Answer Set Programming without Grounding

Published online by Cambridge University Press:  10 August 2018

JOAQUIN ARIAS
Affiliation:
IMDEA Software Institute and Universidad Politécnica de Madrid (e-mail: joaquin.arias@imdea.org, joaquin.arias@alumnos.upm.es, manuel.carro@imdea.org, manuel.carro@upm.es)
MANUEL CARRO
Affiliation:
IMDEA Software Institute and Universidad Politécnica de Madrid (e-mail: joaquin.arias@imdea.org, joaquin.arias@alumnos.upm.es, manuel.carro@imdea.org, manuel.carro@upm.es)
ELMER SALAZAR
Affiliation:
University of Texas at Dallas (e-mail: ees101020@utdallas.edu, kmarple1@utdallas.edu, gupta@utdallas.edu)
KYLE MARPLE
Affiliation:
University of Texas at Dallas (e-mail: ees101020@utdallas.edu, kmarple1@utdallas.edu, gupta@utdallas.edu)
GOPAL GUPTA
Affiliation:
University of Texas at Dallas (e-mail: ees101020@utdallas.edu, kmarple1@utdallas.edu, gupta@utdallas.edu)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Extending ASP with constraints (CASP) enhances its expressiveness and performance. This extension is not straightforward as the grounding phase, present in most ASP systems, removes variables and the links among them, and also causes a combinatorial explosion in the size of the program. Several methods to overcome this issue have been devised: restricting the constraint domains (e.g., discrete instead of dense), or the type (or number) of models that can be returned. In this paper we propose to incorporate constraints into s(ASP), a goal-directed, top-down execution model which implements ASP while retaining logical variables both during execution and in the answer sets. The resulting model, s(CASP), can constrain variables that, as in CLP, are kept during the execution and in the answer sets. s(CASP) inherits and generalizes the execution model of s(ASP) and is parametric w.r.t. the constraint solver. We describe this novel execution model and show through several examples the enhanced expressiveness of s(CASP) w.r.t. ASP, CLP, and other CASP systems. We also report improved performance w.r.t. other very mature, highly optimized ASP systems in some benchmarks.

Information

Type
Original Article
Copyright
Copyright © Cambridge University Press 2018 
Supplementary material: PDF

Arias et al. supplementary material

Online Appendix

Download Arias et al. supplementary material(PDF)
PDF 208.4 KB