Toward TransfORmers: Revolutionizing the Solution of Mixed Integer Programs with Transformers

Joshua F. Cooper, Seung Jin Choi, I. Esra Buyuktahtakin
2/20/2024
cs.AIcs.LGmath.CO

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{cooper2024toward,
  title  = {Toward TransfORmers: Revolutionizing the Solution of Mixed Integer Programs with Transformers},
  author = {Joshua F. Cooper and Seung Jin Choi and I. Esra Buyuktahtakin},
  year   = {2024},
  eprint = {2402.13380},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.13380v3}
}

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

Discussion