Hostname: page-component-76d6cb85b7-jhrpq Total loading time: 0 Render date: 2026-07-12T00:39:22.450Z Has data issue: false hasContentIssue false

flingo – Instilling ASP Expressiveness into Linear Integer Constraints

Published online by Cambridge University Press:  10 July 2026

PEDRO CABALAR
Affiliation:
Computer Science, University of Corunna, Spain (e-mail: cabalar@udc.es)
JORGE FANDINNO
Affiliation:
Computer Science, University of Nebraska Omaha, USA (e-mail: jfandinno@unomaha.edu)
TORSTEN SCHAUB
Affiliation:
Institut für Informatik und Computational Science, University of Potsdam, Germany (e-mail: torsten@cs.uni-potsdam.de)
PHILIPP WANKO
Affiliation:
Informatics, Universitat Potsdam, Germany (e-mail: wanko@cs.uni-potsdam.de)
Rights & Permissions [Opens in a new window]

Abstract

Constraint answer set programming (CASP) is a hybrid paradigm that enriches answer set programming (ASP) with numerical constraint processing, a crucial requirement for many real-world applications. However, the specification of constraints in most CASP solvers aligns more closely with the expressiveness and semantics of the numerical back-end than the ASP paradigm. In the latter, numerical attributes are represented with predicates, and this allows for declaring default values, leaving the attribute undefined, making non-deterministic assignments with choice rules or using aggregated values. In CASP, most (if not all) of these features are lost once we switch to a constraint-based representation of those same attributes. In this paper, we present the flingo language (and tool) that incorporates the aforementioned expressiveness inside the numerical constraints, and we illustrate its use with several examples. Based on previous work that established its semantic foundations, we also present a translation from the newly introduced flingo syntax to regular CASP programs following the clingcon input format.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2026. Published by Cambridge University Press