Toward TransfORmers: Revolutionizing the Solution of Mixed Integer Programs with Transformers
Not on the map. Why?
Abstract (arXiv)
In this study, we introduce an innovative deep learning framework that employs a transformer model to address the challenges of mixed-integer programs, specifically focusing on the Capacitated Lot Sizing Problem (CLSP). Our approach, to our knowledge, is the first to utilize transformers to predict the binary variables of a mixed-integer programming (MIP) problem. Specifically, our approach harnesses the encoder decoder transformer's ability to process sequential data, making it well-suited for predicting binary variables indicating production setup decisions in each period of the CLSP. This problem is inherently dynamic, and we need to handle sequential decision making under constraints. We present an efficient algorithm in which CLSP solutions are learned through a transformer neural network. The proposed post-processed transformer algorithm surpasses the state-of-the-art solver, CPLEX and Long Short-Term Memory (LSTM) in solution time, optimal gap, and percent infeasibility over 240K benchmark CLSP instances tested. After the ML model is trained, conducting inference on the model, reduces the MIP into a linear program (LP). This transforms the ML-based algorithm, combined with an LP solver, into a polynomial-time approximation algorithm to solve a well-known NP-Hard problem, with almost perfect solution quality.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 6 of its 14 references that are in the map. First posted on arXiv 20 Feb 2024.
Builds on
6 of 14 references.
References · 6
- 2017Attention Is All You Needcited by 59,932
- 2022Transformers in Time Series: A Surveycited by 489
- 2020A Comparison of LSTM and BERT for Small Corpuscited by 40
- 2021A Comparative Study of Transformer-Based Language Models on Extractive Question Answeringcited by 13
- 2022Learning Optimal Solutions via an LSTM-Optimization Frameworkcited by 6
- 2023An Expandable Machine Learning-Optimization Framework to Sequential Decision-Makingcited by 4
Built on by
Citing papers per year: 2026: 2.
2 papers.