Domain-Independent Dynamic Programming

Ryo Kuroiwa, J. Christopher Beck
1/25/2024
9 citations
cs.AI

Official code: domain-independent-dp/didp-rs (58 stars, Rust, Apache-2.0, Rust, last commit 2026-04-10). 1 more implementation below.

Abstract

For combinatorial optimization problems, model-based paradigms such as mixed-integer programming (MIP) and constraint programming (CP) aim to decouple modeling and solving a problem: the `holy grail' of declarative problem solving. We propose domain-independent dynamic programming (DIDP), a novel model-based paradigm based on dynamic programming (DP).

Show full abstract

While DP is not new, it has typically been implemented as a problem-specific method. We introduce Dynamic Programming Description Language (DyPDL), a formalism to define DP models based on a state transition system, inspired by artificial intelligence (AI) planning. we show that heuristic search algorithms can be used to solve DyPDL models and propose seven DIDP solvers. We experimentally compare our DIDP solvers with commercial MIP and CP solvers (solving MIP and CP models, respectively) on common benchmark instances of eleven combinatorial optimization problem classes. We show that DIDP outperforms MIP in nine problem classes, CP also in nine problem classes, and both MIP and CP in seven. DIDP also achieves superior performance to existing state-based solvers including domain-independent AI planners.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
domain-independent-dp/didp-rsOfficial58RustApache-2.02026-04-10
Kurorororo/didp-modelsOfficial7RoffApache-2.02025-12-09
RustApache-2.0

Domain-Independent Dynamic Programming (DIDP) framework implemented in Rust.

589Rust, PythonFeb 14, 20237 months agoApache-2.0
combinatorial-optimizationdynamic-programmingheuristic-searchpython3rust
Apache-2.0

Models for DIDP.

73Roff, PythonJun 9, 202311 months agoApache-2.0

Similar Papers

Cite this paper

@article{kuroiwa2024domainindependent,
  title  = {Domain-Independent Dynamic Programming},
  author = {Ryo Kuroiwa and J. Christopher Beck},
  year   = {2024},
  eprint = {2401.13883},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.13883v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.13883.svg)](https://codeofpaper.com/paper/2401.13883)

Discussion