---
title: "ASP for Anytime Dynamic Programming on Tree Decompositions"
authors:
  - "Bernhard Bliem"
  - "Benjamin Kaufmann"
  - "Torsten Schaub"
  - "Stefan Woltran"
doi: ""
url: "https://ijcai.org/proceedings/2016/143"
pdf: "https://ijcai.org/proceedings/2016/0143.pdf"
venue: "Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence"
year: 2016
pages: "979-985"
track: ""
keywords:
---

# ASP for Anytime Dynamic Programming on Tree Decompositions

Bernhard Bliem, Benjamin Kaufmann, Torsten Schaub, Stefan Woltran

*Proceedings of the Twenty-Fifth International Joint Conference on Artificial Intelligence*, pages 979-985.

## Abstract

Answer Set Programming (ASP) has recently been employed to specify and run dynamic programming (DP) algorithms on tree decompositions, a central approach in the field of parameterized complexity, which aims at solving hard problems efficiently for instances of certain structure. This ASP-based method followed the standard DP approach where tables are computed in a bottom-up fashion, yielding good results for several counting or enumeration problems. However, for optimization problems this approach lacks the possibility to report solutions before the optimum is found, and for search problems it often computes a lot of unnecessary rows. In this paper, we present a novel ASP-based system allowing for lazy DP, which utilizes recent multi-shot ASP technology. Preliminary experimental results show that this approach not only yields better performance for search problems, but also outperforms some state-of-the-art ASP encodings for optimization problems in terms of anytime computation, i.e., measuring the quality of the best solution after a certain timeout.
