Improvement of Optimization using Learning Based Models in Mixed Integer Linear Programming Tasks

Xiaoke Wang, Batuhan Altundas, Zhaoxin Li, Aaron Zhao, Matthew GombolayarXiv 2025 · DOI

Introduction

Mixed Integer Linear Programming (MILP) is a cornerstone of mathematical optimization, used extensively to solve complex decision-making problems such as multi-agent task allocation and motion planning (MATA-MP). While MILPs provide mathematically rigorous solutions, they are inherently NP-hard. As the scale of the problem—defined by the number of agents and tasks—increases, the computational time required to find an optimal solution grows exponentially. This "latency gap" makes traditional MILP solvers difficult to deploy in real-time environments like autonomous construction sites or dynamic logistics hubs where decisions must be made in seconds.

Problem Description

The primary challenge addressed in this research is the need for high-quality, feasible task schedules in a fraction of the time required by traditional solvers. The authors focus on scenarios involving heterogeneous agents with varying speeds and capabilities navigating environments with obstacles and strict time windows.

Visualization of the multi-agent task allocation and motion planning environment featuring obstacles, agents, and tasks.

As shown in the environment visualization above, agents must navigate complex paths (pre-computed via Multi-Agent Rapidly-exploring Random Graphs) to reach task locations while avoiding obstacles. The goal is to minimize the total makespan while ensuring all constraints are met.

Methodology

The proposed framework uses machine learning as a "guide" for traditional solvers rather than a complete replacement. This hybrid approach leverages the speed of neural networks and the feasibility guarantees of MILP solvers.

  1. Graph Neural Networks (GNNs): The problem is represented as a graph where agents and tasks are nodes. GNNs are employed to capture the spatial relationships and constraints inherent in the environment.
  2. Behavior Cloning (BC): The GNN is initially trained via imitation learning to mimic the decisions of an "expert" MILP solver that has been allowed to run to completion on training instances.
  3. Reinforcement Learning (RL) Fine-tuning: To improve generalization beyond the training distribution, the model is refined using RL. The reward function is specifically designed to balance schedule quality (minimizing makespan) with optimization time (rewarding solutions that the solver can verify quickly).
  4. Warm-Starting: The GNN's output serves as an initial "guess" or primal solution for an off-the-shelf MILP solver. This "warm-start" allows the solver to bypass the initial exhaustive search and focus on refining the near-optimal solution.

Experimental Evaluation

The framework was tested in a custom simulation environment featuring 10 agents and 20 tasks. Training was conducted on 200 instances, with evaluation performed on 100 randomly generated test scenarios. The performance was compared against a "Baseline" (solving from scratch) and several heuristics, including a Constraint-Aware Earliest Deadline First (EDF) approach.

Key Results

The experimental results demonstrate that the learning-based warm-starting approach significantly outperforms the baseline in terms of speed while maintaining competitive solution quality.

Comparison of average optimization time (seconds) across different methods, highlighting the speedup achieved by learning-based models.

As illustrated in the optimization time analysis, the BC + RL method achieved the fastest performance, reducing the average optimization time to approximately 0.57 seconds, compared to the baseline's 1.51 seconds. Furthermore, the learning-based methods showed significantly lower variance in optimization time, suggesting greater stability for real-time systems. While the Constraint-Aware EDF heuristic produced the highest quality scores (~16.1), the BC and BC+RL methods provided a superior balance of speed and quality (~9.5) compared to the baseline (1.0).

Conclusion

This research demonstrates that integrating GNNs and RL into the MILP optimization pipeline can drastically reduce the time required to find high-quality solutions for multi-agent task allocation. By using ML to provide a "warm-start," the framework retains the mathematical rigor of traditional solvers while achieving the low latency necessary for real-world robotics applications. Future work will focus on scaling these models to larger agent-task densities and exploring dual approaches to guide the solver's internal branching decisions.

Summary updated

BibTeX
@misc{wang2025improvement,
  author = {Xiaoke Wang and Batuhan Altundas and Zhaoxin Li and Aaron Zhao and Matthew Gombolay},
  title = {{Improvement of Optimization using Learning Based Models in Mixed Integer Linear Programming Tasks}},
  year = {2025},
  eprint = {2506.06291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.06291},
}
Figure