N2N: A Parallel Framework for Large-Scale MILP under Distributed Memory

Longfei Wang, Junyan Liu, Fan Zhang, Jiangwen Wei, Yuanhua Tang, Jie Sun, Xiaodong LuoarXiv 2025 · DOI

Introduction

Mixed-Integer Linear Programming (MILP) serves as the mathematical foundation for modern logistics, scheduling, and resource allocation. However, the scale of real-world MILP problems often exceeds the capabilities of single-machine solvers, requiring days of computation. While parallel computing is a logical solution, parallelizing the standard Branch-and-Bound (B&B) algorithm is notoriously difficult due to three primary challenges: maintaining determinism for debugging and consistency, minimizing communication overhead between nodes, and managing load balancing in highly unbalanced search trees.

The N2N Framework

The authors propose N2N (Node-to-Node), a scalable framework designed to address these bottlenecks within a distributed memory environment. N2N utilizes a Supervisor-Worker paradigm to coordinate the search process across a cluster.

The Supervisor-Worker architecture of the N2N framework, illustrating the coordination of flow control, data management, and worker communication.

Core Innovations

  • Sliding-Window Determinism: This is the framework's central innovation. By maintaining a "window" of tasks and merging results back into the global solution in a strict, predefined order, N2N ensures that the solver's path remains identical across runs, regardless of individual worker completion times.
  • MPS-Based Communication: To ensure stability and solver-agnosticism, N2N serializes presolved instances into the standard MPS file format. This avoids the data corruption risks associated with passing complex memory structures between machines.
  • Advanced Search Techniques: N2N integrates Constraint Programming (CP) search strategies and custom primal heuristics, such as Crossover and Feasibility Jump, to find high-quality solutions earlier in the search process.

Feature Comparison and Performance

N2N distinguishes itself from previous state-of-the-art frameworks like UG by offering a dedicated preprocessing phase and a unique approach to determinism.

A comparison of features between N2N and the UG framework, highlighting N2N's sliding-window algorithm and integrated primal heuristics.

Key Results

Experimental evaluations using the MIPLIB 2017 suite and custom benchmarks revealed significant performance gains:

  • Massive Speedups: Utilizing 1,000 MPI processes, N2N-SCIP achieved a speedup of 22.52x on ARM-based Kunpeng clusters and 12.71x on x86 clusters.
  • Efficiency: N2N proved to be approximately 2x faster than ParaSCIP across both deterministic and non-deterministic modes.
  • Hardware Generality: The framework scales exceptionally well across different architectures, proving its robustness for modern high-performance computing (HPC) environments.

Limitations and Future Directions

Despite its success, the authors note that the "ramp-up" phase—the time it takes to generate enough nodes to keep 1,000 workers busy—remains a bottleneck. Future research will focus on accelerating this initial phase and improving integration with "closed" solver architectures that currently limit the framework's full potential for cut exchange and domain changes.

Summary updated

BibTeX
@misc{wang2025n,
  author = {Longfei Wang and Junyan Liu and Fan Zhang and Jiangwen Wei and Yuanhua Tang and Jie Sun and Xiaodong Luo},
  title = {{N2N: A Parallel Framework for Large-Scale MILP under Distributed Memory}},
  year = {2025},
  eprint = {2511.18723},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18723},
}
Figure