TL;DR
Training modern, learning-based Mixed-Integer Linear Programming (MILP) solvers requires large volumes of realistic data, which is often locked behind proprietary corporate pipelines. This paper introduces GraphBU, a graph-native instance generator that decomposes MILPs into local subproblems paired with their explicit coupling interfaces. By swapping these compatible "block units," GraphBU generates high-quality, structurally faithful synthetic instances that preserve feasibility and significantly improve downstream solver training.
What Problem Does This Paper Address?
Mixed-Integer Linear Programming (MILP) is the mathematical backbone for solving complex real-world optimization problems like scheduling, logistics, and chip design. Recently, machine learning (especially Graph Neural Networks) has been used to accelerate MILP solvers. However, these models are data-hungry, and real-world MILP instances are notoriously difficult to obtain because they often contain sensitive business data.
While synthetic MILP generators exist, they suffer from a "generation-unit mismatch." They either rely on rigid formulation templates, coarse statistical summaries, or matrix-block extractions that depend heavily on row-column ordering. Crucially, these methods fail to capture how a local subproblem couples with the rest of the model. When these generators alter an instance, they disrupt this delicate coupling structure, producing synthetic data that looks nothing like the original family to a machine learning model.
Methods
GraphBU treats a MILP instance as a constraint-variable bipartite graph, making the generation process entirely graph-native. The pipeline consists of three main stages:
- Graph-Native Decomposition: GraphBU uses graph embeddings and clustering (like HDBSCAN) to partition the MILP graph. It then scores nodes using metrics like span (how many groups a node touches) and entropy to identify "master constraints" and "boundary variables" that act as global couplers.
- Residual Decomposition and Promotion: After removing these interface nodes, the remaining graph splits into local blocks. If any edges still cross between different blocks, GraphBU "promotes" their endpoints to the interface layer, ensuring absolute structural separation.
- Compatible Generation: The extracted blocks and their adjacent interface slices form a reusable Block Unit (BU) library. To generate a new instance, GraphBU takes a target MILP, identifies its BUs, and replaces them with compatible source BUs from the library. Compatibility is strictly checked: the local shape, interface dimensions, variable types, and bounds must match exactly before a swap is allowed.
Datasets
The authors evaluated GraphBU across four distinct MILP problem families, representing a wide variety of scales and sparsities:
- Combinatorial Auctions (CA): Medium scale, structured.
- Capacitated Facility Location (FA): Large scale, very sparse.
- Item Placement (IP): Small scale, relatively dense.
- Workload Appointment (WA): Very large scale, extremely sparse.
Key Insights and Ideas
- Permutation Invariance: Because GraphBU operates directly on the bipartite graph topology rather than the raw coefficient matrix, its block discovery mechanism is entirely invariant to row or column permutations.
- The Interface-Slack Condition: The authors mathematically prove that if a local block replacement satisfies an "interface-slack" condition (meaning the new block's demands don't exceed the original master constraints' remaining capacity), feasibility is guaranteed to be preserved.
- Structure Matters for ML: Matching simple summary statistics (like density) is not enough for training learning-based solvers. Preserving the exact graph-local module structure is what allows learned policies to successfully generalize from synthetic data to real test instances.
Key Results
GraphBU significantly outperformed state-of-the-art baselines (such as G2MILP and MILP-StuDio) across multiple dimensions:
- Graph-Statistical Similarity: GraphBU achieved an average structural similarity score of 0.934 relative to the source families, vastly superior to unstructured or matrix-based methods.
- Feasibility Preservation: Generated instances maintained an average feasibility rate of 96.7%. For the tricky Item Placement (IP) dataset, GraphBU achieved 88% feasibility compared to just 68% from the closest baseline.
- Downstream Solver Improvement: When a Predict-and-Search (PS) learning-based solver was trained on GraphBU-generated data, it achieved an average 8.0% improvement in solving performance (measured by primal-dual gap or runtime reduction) on held-out real test instances.
Limitations and Future Work
While highly effective, GraphBU's strict compatibility checks make it intentionally conservative. If a target block cannot find a source block in the library with an identical shape signature and metadata pattern, the swap is rejected. This can limit the diversity of the generated instances if the source library is small.
Additionally, the method relies on an initial grouping module (graph embeddings + clustering). If the initial clustering fails to capture meaningful subproblem boundaries, the resulting block units may be less effective. Future work could explore relaxing the strict shape-matching constraints or integrating more domain-specific clustering techniques.
Summary updated