# Optimal Probabilistic Answer Set Programming: Complexity and Implementations

arXiv: https://arxiv.org/abs/2611.09022 · HTML: https://mlsanity.com/paper/2611.09022/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 13 of its 57 references that are in the map.
- Submitted 6 Nov 2026.

## Builds on (most cited first, 13 of 13)

- [Multi-shot ASP solving with clingo](https://mlsanity.com/paper/1705.09811/) (2017)
- [On the Semantics and Complexity of Probabilistic Logic Programs](https://mlsanity.com/paper/1701.09000/) (2017)
- [An ASP-based Solution to the Chemotherapy Treatment Scheduling problem](https://mlsanity.com/paper/2108.02637/) (2021)
- [Computing LPMLN Using ASP and MLN Solvers](https://mlsanity.com/paper/1707.06325/) (2017)
- [Beyond NP: Quantifying over Answer Sets](https://mlsanity.com/paper/1907.09559/) (2019)
- [Efficient Knowledge Compilation Beyond Weighted Model Counting](https://mlsanity.com/paper/2205.07496/) (2022)
- [smProbLog: Stable Model Semantics in ProbLog for Probabilistic Argumentation](https://mlsanity.com/paper/2304.00879/) (2023)
- [LPMLN, Weak Constraints, and P-log](https://mlsanity.com/paper/2506.12784/) (2025)
- [Anytime answer set optimization via unsatisfiable core shrinking](https://mlsanity.com/paper/1608.00731/) (2016)
- [Using Answer Set Programming for HPC Dependency Solving](https://mlsanity.com/paper/2210.08404/) (2022)
- [Logic-Based Benders Decomposition in Answer Set Programming for Chronic Outpatients Scheduling](https://mlsanity.com/paper/2305.11969/) (2023)
- [MAP Inference for Probabilistic Logic Programming](https://mlsanity.com/paper/2008.01394/) (2020)
- [Towards Mass Spectrum Analysis with ASP](https://mlsanity.com/paper/2512.16780/) (2025)

## Abstract (arXiv)

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.
