🤖 AI Summary
This work addresses the inefficiency of linear constraint solving in Constraint Answer Set Programming (CASP). We propose a translation-based solving framework that uniformly compiles CASP programs into the FlatZinc intermediate representation, enabling seamless integration with diverse constraint programming (CP) and integer programming (IP) backends. The framework supports a rich set of linear arithmetic constraints as well as common global constraints—including `alldifferent` and `cumulative`—thereby enhancing modeling expressiveness and solving flexibility. Experimental evaluation on ASP competition benchmarks shows competitive performance relative to state-of-the-art ASP solvers. On representative CASP instances, our approach achieves superior solving speed and scalability compared to the current best-performing system, clingcon. These results demonstrate both the effectiveness and competitiveness of the proposed framework in advancing CASP solving technology.
📝 Abstract
We present the solver asp-fzn for Constraint Answer Set Programming (CASP), which extends ASP with linear constraints. Our approach is based on translating CASP programs into the solver-independent FlatZinc language that supports several Constraint Programming and Integer Programming backend solvers. Our solver supports a rich language of linear constraints, including some common global constraints. As for evaluation, we show that asp-fzn is competitive with state-of-the-art ASP solvers on benchmarks taken from past ASP competitions. Furthermore, we evaluate it on several CASP problems from the literature and compare its performance with clingcon, which is a prominent CASP solver that supports most of the asp-fzn language. The performance of asp-fzn is very promising as it is already competitive on plain ASP and even outperforms clingcon on some CASP benchmarks.