An End-to-End Reinforcement Learning Approach for Job-Shop Scheduling Problems Based on Constraint Programming

Pierre Tassel, Martin Gebser, Konstantin Schekotihin
6/9/2023
cs.AIcs.LG

No official code found. Best implementation: ingambe/End2End-Job-Shop-Scheduling-CP (37 stars, MIT, last commit 2023-11-05).

Abstract

Constraint Programming (CP) is a declarative programming paradigm that allows for modeling and solving combinatorial optimization problems, such as the Job-Shop Scheduling Problem (JSSP). While CP solvers manage to find optimal or near-optimal solutions for small instances, they do not scale well to large ones, i.e., they require long computation times or yield low-quality solutions. Therefore, real-world scheduling applications often resort to fast, handcrafted, priority-based dispatching heuristics to find a good initial solution and then refine it using optimization methods. This paper proposes a novel end-to-end approach to solving scheduling problems by means of CP and Reinforcement Learning (RL). In contrast to previous RL methods, tailored for a given problem by including procedural simulation algorithms, complex feature engineering, or handcrafted reward functions, our neural-network architecture and training algorithm merely require a generic CP encoding of some scheduling problem along with a set of small instances. Our approach leverages existing CP solvers to train an agent learning a Priority Dispatching Rule (PDR) that generalizes well to large instances, even from separate datasets. We evaluate our method on seven JSSP datasets from the literature, showing its ability to find higher-quality solutions for very large instances than obtained by static PDRs and by a CP solver within the same time limit.

View on arXivView PDF

Code Implementations(1)

MIT

An end to end reinforcement learning approach with a reinforcement learning environment modeled as a CP model

376Python, Dockerfile2 years agoMIT
combinatorial-optimizationdeep-learningjob-shop-schedulingjob-shop-scheduling-problemneural-network+4 more

Similar Papers

Cite this paper

@article{tassel2023endtoend,
  title  = {An End-to-End Reinforcement Learning Approach for Job-Shop Scheduling Problems Based on Constraint Programming},
  author = {Pierre Tassel and Martin Gebser and Konstantin Schekotihin},
  year   = {2023},
  eprint = {2306.05747},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05747v1}
}

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

Discussion