DynASP2.5: Dynamic Programming on Tree Decompositions in Action

被引:0
|
作者
Fichte, Johannes K. [1 ]
Hecher, Markus [2 ,3 ]
Morak, Michael [4 ]
Woltran, Stefan [2 ]
机构
[1] Univ Calif Berkeley, Simons Inst Theory Comp, Berkeley, CA 94720 USA
[2] TU Wien, Inst Log & Computat, A-1040 Vienna, Austria
[3] Univ Potsdam, Inst Comp Sci, D-14482 Potsdam, Germany
[4] AAU Klagenfurt, Inst Artificial Intelligence & Cybersecur, A-9020 Klagenfurt, Austria
基金
奥地利科学基金会;
关键词
parameterized algorithms; fixed-parameter linear time; semi-incidence graph; tree decompositions; multi-pass dynamic programming; ANSWER; OPTIMIZATION; TREEWIDTH;
D O I
10.3390/a14030081
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Efficient exact parameterized algorithms are an active research area. Such algorithms exhibit a broad interest in the theoretical community. In the last few years, implementations for computing various parameters (parameter detection) have been established in parameterized challenges, such as treewidth, treedepth, hypertree width, feedback vertex set, or vertex cover. In theory, instances, for which the considered parameter is small, can be solved fast (problem evaluation), i.e., the runtime is bounded exponential in the parameter. While such favorable theoretical guarantees exists, it is often unclear whether one can successfully implement these algorithms under practical considerations. In other words, can we design and construct implementations of parameterized algorithms such that they perform similar or even better than well-established problem solvers on instances where the parameter is small. Indeed, we can build an implementation that performs well under the theoretical assumptions. However, it could also well be that an existing solver implicitly takes advantage of a structure, which is often claimed for solvers that build on SAT-solving. In this paper, we consider finding one solution to instances of answer set programming (ASP), which is a logic-based declarative modeling and solving framework. Solutions for ASP instances are so-called answer sets. Interestingly, the problem of deciding whether an instance has an answer set is already located on the second level of the polynomial hierarchy. An ASP solver that employs treewidth as parameter and runs dynamic programming on tree decompositions is DynASP2. Empirical experiments show that this solver is fast on instances of small treewidth and can outperform modern ASP when one counts answer sets. It remains open, whether one can improve the solver such that it also finds one answer set fast and shows competitive behavior to modern ASP solvers on instances of low treewidth. Unfortunately, theoretical models of modern ASP solvers already indicate that these solvers can solve instances of low treewidth fast, since they are based on SAT-solving algorithms. In this paper, we improve DynASP2 and construct the solver DynASP2.5, which uses a different approach. The new solver shows competitive behavior to state-of-the-art ASP solvers even for finding just one solution. We present empirical experiments where one can see that our new implementation solves ASP instances, which encode the Steiner tree problem on graphs with low treewidth, fast. Our implementation is based on a novel approach that we call multi-pass dynamic programming (M-DPSINC). In the paper, we describe the underlying concepts of our implementation (DynASP2.5) and we argue why the techniques still yield correct algorithms.
引用
收藏
页数:28
相关论文
共 50 条
  • [31] Hybrid dynamic/quadratic programming algorithm for interconnect tree optimization
    Mo, YY
    Chu, C
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2001, 20 (05) : 680 - 686
  • [32] CODE GENERATION USING TREE MATCHING AND DYNAMIC-PROGRAMMING
    AHO, AV
    GANAPATHI, M
    TJIANG, SWK
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1989, 11 (04): : 491 - 516
  • [33] DYNAMIC-PROGRAMMING ON GRAPHS WITH BOUNDED TREE-WIDTH
    BODLAENDER, HL
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 317 : 105 - 118
  • [34] Enumerating Stereoisomers of Tree Structured Molecules Using Dynamic Programming
    Imada, Tomoki
    Ota, Shunsuke
    Nagamochi, Hiroshi
    Akutsu, Tatsuya
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2009, 5878 : 14 - +
  • [35] Lattice Tree Versus Dynamic Programming in Real Option Analysis
    Zhao, H.
    Sattayatham, P.
    Premanode, B.
    THAI JOURNAL OF MATHEMATICS, 2016, 14 (02): : 315 - 330
  • [36] A Dynamic Programming A* Algorithm for Computing Unordered Tree Edit Distance
    Yoshino, Takuya
    Higuchi, Shoichi
    Hirata, Kouichi
    2013 SECOND IIAI INTERNATIONAL CONFERENCE ON ADVANCED APPLIED INFORMATICS (IIAI-AAI 2013), 2013, : 135 - 140
  • [37] Separator-Based Pruned Dynamic Programming for Steiner Tree
    Iwata, Yoichi
    Shigemura, Takuto
    THIRTY-THIRD AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FIRST INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / NINTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, : 1520 - 1527
  • [38] Composing dynamic programming tree-decomposition-based algorithms
    Baste, Julien
    DISCRETE MATHEMATICS AND THEORETICAL COMPUTER SCIENCE, 2024, 26 (02):
  • [39] A dynamic programming algorithm for the conditional covering problem on tree graphs
    Horne, JA
    Smith, JC
    NETWORKS, 2005, 46 (04) : 186 - 197
  • [40] Joint correspondence and background modeling based on tree dynamic programming
    Rao, Naveed I.
    Di, Huijun
    Xu, Guangyou
    18TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION, VOL 2, PROCEEDINGS, 2006, : 425 - +