Skip to content

Transformer-Based Flow Shop Scheduling Using MILP-Generated Training Data

Aug 2026 · 0 citations · 30 references
Mathematics Computer Science

TL;DR

The study concludes that transformer models can, to some extent, learn patterns from MILP-optimized non-permutation flow shop schedules and that transformer-based scheduling represents an interesting direction for future research, particularly in settings with a fixed, recurring job set.

Abstract

Advances in machine learning (ML) have created new opportunities to complement traditional operations research (OR) methods. In particular, transformer models can capture complex interactions in token sequences by mapping tokens into a high-dimensional embedding space and propagating contextual information via attention. This makes them a candidate to model non-permutation flow shop scheduling with secondary resources as a next-token prediction task, where tokens represent job-machine-secondary resource tuples. For training, mixed-integer linear programming (MILP)-generated schedules are tokenized and used as next-token prediction data. During inference, partial token sequences (prefixes) are randomly generated and completed by the trained transformer through constrained decoding. A computational study is conducted on a flow shop with 8 jobs, 4 machines, and 3 secondary resources, where jobs are selected from a fixed pool of 20 jobs that is sampled during training and provides the candidates during prefix completion. The transformer achieves better solution quality (smaller makespans) compared to a genetic algorithm (GA), the NEH heuristic, and random search. It is outperformed only by the MILP model and the iterated greedy (IG) heuristic. The study concludes that transformer models can, to some extent, learn patterns from MILP-optimized non-permutation flow shop schedules and that transformer-based scheduling represents an interesting direction for future research, particularly in settings with a fixed, recurring job set.

View source

Similar papers

#reinforcement learning Conference Open access Sep 2026

A Deep Reinforcement Learning (DRL) Based Transformer Method for Solving the Open Shop Scheduling Problem

In this study, we investigate the potential of a Deep Reinforcement Learning (DRL) based Transformer neural network architecture to solve large-scale open shop scheduling problems. The open shop scheduling problem (OSSP) involves sequencing n jobs across m machines, where each machine handles only one job at a time, an...

Faezeh Ardali, Gerald M. Knapp · 0 citations
Conference Sep 2026

Genetic Algorithm and Reinforcement Learning for ETL Pipeline Task Prioritization Under Limited Parallelism

List-scheduling heuristics such as the critical-path (CP) rule are effective for minimizing makespan in DAG-structured ETL pipelines, but they provide no direct control over task waiting time. This study evaluates whether learned priority functions can approach CP performance while enabling a tunable trade-off between...

Daniil A. Pushkarev · 0 citations
Book Open access Sep 2026

ReLA: Representation Learning and Aggregation for Scalable Job Scheduling with Reinforcement Learning

ReLA is an RL scheduler built on structured representation learning and aggregation that learns intra-entity representations using self-attention and convolution, captures inter-entity operation–machine interactions using cross-attention, and aggregates multi-scale representations for parallel actor-based scoring of fe...

Zheng-Yi Kwan, Wei Zhang, Aik Beng Ng et al. · 0 citations
Conference Aug 2026

Structure-Aware Graph Reinforcement Learning for Dynamic Flexible Job Shop Scheduling with Insertions

Dynamic flexible job shop scheduling (DFJSP) with job insertions is a representative challenge in modern manufacturing systems, where dispatching decisions must continuously adapt to evolving shop-floor states. In such event-driven settings, effective reinforcement learning hinges on state representations that can simu...

Hong-Yao Ma, Jing-Ye Bi, Haitao Yuan et al. · 0 citations
Conference

Enhancing Column Generation for Parallel Machine Scheduling via Transformers

We present a neural network-enhanced column generation (CG) approach for a parallel machine scheduling problem. The proposed approach utilizes an encoder-decoder attention model, namely the transformer and pointer architectures, to develop job sequences with negative reduced cost and thus generate columns to add to the...

Amira Hijazi · 0 citations
Open access 2026

A Cross-Domain Meta-Reinforcement Learning Method for the Permutation Flow Shop Scheduling Problem with Sequence-Dependent Setup Times

: The Permutation Flow Shop Scheduling Problem (PFSP) is one of the most classic combinatorial optimization problems in manufacturing systems, with wide applications in semiconductor fabrication, textile processing, and steelmaking. The Permutation Flow Shop Scheduling Problem with Sequence-Dependent Setup Times (PFSP-...

Bo-On-Chua Wei, Hong-Feng Wang · 0 citations

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.