Domain-Independent Dynamic Programming: Generic State Space Search for Combinatorial Optimization

Ryo Kuroiwa, J. Christopher Beck
11/26/2022
cs.AI

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

Abstract

For combinatorial optimization problems, model-based approaches 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 new 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 propose Dynamic Programming Description Language (DyPDL), a formalism to define DP models, and develop Cost-Algebraic A* Solver for DyPDL (CAASDy), a generic solver for DyPDL using state space search. We formalize existing problem-specific DP and state space search methods for combinatorial optimization problems as DP models in DyPDL. Using CAASDy and commercial MIP and CP solvers, we experimentally compare the DP models with existing MIP and CP models, showing that, despite its nascent nature, CAASDy outperforms MIP and CP on a number of common problem classes.

View on arXivView PDF

Code Implementations(1)

RustApache-2.0

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

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

Similar Papers

Cite this paper

@article{kuroiwa2022domainindependent,
  title  = {Domain-Independent Dynamic Programming: Generic State Space Search for Combinatorial Optimization},
  author = {Ryo Kuroiwa and J. Christopher Beck},
  year   = {2022},
  eprint = {2211.14409},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14409}
}

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/2211.14409.svg)](https://codeofpaper.com/paper/2211.14409)

Discussion