arXiv:2611.09022cs.LONov 2026

Manuscript Offprint

arXiv:2611.09022

Optimal Probabilistic Answer Set Programming: Complexity and Implementations

Damiano Azzolini, Giuseppe Mazzotta, Francesco Ricca, Fabrizio Riguzzi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

TPLP: Page 1–8. © The Author(s), 2021. Published by Cambridge University Press 2021 doi:10.1017/xxxxxx

1

Optimal Probabilistic Answer Set Programming: Complexity and Implementations*

DAMIANO AZZOLINI

University of Ferrara

GIUSEPPE MAZZOTTA

University of Calabria

FRANCESCO RICCA

University of Calabria

FABRIZIO RIGUZZI

University of Ferrara

submitted xx xx xxxx; revised xx xx xxxx; accepted xx xx xxxx

Abstract

Probabilistic Answer Set Programming (PASP) extends Answer Set Programming with the possibility of representing uncertain data. Among the possible available semantics, we focus here on the credal semantics. In this setting, prior work has focused exclusively on plain ASP programs, i.e., programs without optimization constructs. However, many real world tasks define optimality criteria over the possible solutions, which cannot be conveniently modeled with existing probabilistic ASP frameworks. In this paper, we close this gap and propose optimal Probabilistic Answer Set Programming, which extends PASP by also allowing weak constraints, which are the standard optimization construct of ASP. We define the semantics of such programs, study the computational complexity of the inference and most probable explanation tasks, and propose practical implementations based on Algebraic Model Counting and Answer Set Programming with Quantifiers. An empirical evaluation of the proposed approach on three real world tasks confirms the applicability of our framework.

KEYWORDS: Probabilistic Answer Set Programming, Uncertainty, Weak Constraints, Answer Set Programming with Quantifiers

References (56)