Parallelized Conflict Graph Cut Generation

Yongzheng Dai, Chen ChenarXiv 2023 · DOI

Abstract

A conflict graph represents logical relations between binary variables, and effective use of the graph can significantly accelerate branch-and-cut solvers for mixed-integer programming (MIP). In this paper we develop efficient parallel conflict graph management: conflict detection; maximal clique generation; clique extension; and clique merging. We leverage parallel computing in order to intensify computational effort on the conflict graph, thereby generating a much larger pool of cutting planes than what can be practically achieved in serial. Computational experiments demonstrate that the expanded pool of cuts enabled by parallel computing lead to substantial reductions in total MIP solve time, especially for more challenging cases.

Introduction

Mixed-Integer Programming (MIP) is a cornerstone of industrial optimization, powering everything from airline scheduling to power grid management. Most modern solvers utilize a "branch-and-cut" algorithm, where a critical component is preprocessing. During this phase, the solver constructs a conflict graph—a logical map of "clashes" between binary variables (e.g., if variable $A$ is 1, variable $B$ must be 0).

From this graph, solvers derive "cliques" (sets of variables where at most one can be 1), which are converted into cutting planes to tighten the problem. However, building a comprehensive conflict graph and identifying the best cliques is computationally expensive. In serial solvers, this is often a "lite" routine to avoid delaying the main search. This research addresses this bottleneck by leveraging parallel computing to perform "heavy" conflict analysis without exceeding the preprocessing time budget.

Methodology

The authors developed a suite of parallel algorithms for shared-memory systems, focusing on intensification—doing more computational work in the same amount of time to find stronger cuts.

Parallel Clique Detection and Construction

The framework modifies serial algorithms to detect maximal cliques across multiple threads. To balance the workload, a random shuffle and partition heuristic is used, as some constraints are significantly harder to process than others. The conflict graph is represented using a sparse adjacency matrix.

Binary reduction strategy for merging conflict graphs across multiple threads.

To combine results from different threads, the authors utilize a binary reduction (OR-merge) strategy. As shown in Figure 1, this approach allows the merging of conflict graphs (CGs) to scale logarithmically with the number of threads, ensuring efficient synchronization.

Clique Extension and Triage

Once initial cliques are identified, parallel threads greedily "grow" them into larger, more powerful constraints and prune redundant ones. A heuristic "Cut Triage" system then decides which of the thousands of generated cuts should be added directly to the model and which should be kept in a "lazy" pool for use only when needed.

Experimental Results

The methodology was evaluated using the MIPLIB 2017 Collection. The researchers focused on 176 instances with sufficient logical structure, specifically analyzing the 99 most challenging cases. Experiments were conducted on a 64-thread AMD Ryzen Threadripper system using Julia and Gurobi 11.0.

  • Presolve Speedup: Using 64 threads, the time required for conflict graph management was reduced by over 80% compared to serial execution.
  • Total Solve Time: For the most difficult problems (those taking >1000 seconds), the parallelized cuts reduced the total Gurobi solve time by an average of 18.5%.
  • Node Reduction: The number of nodes explored in the search tree dropped to roughly 38.6% of the original count for the hardest instances, proving that the "intensified" cuts were of significantly higher quality than standard serial cuts.

Conclusion and Future Work

While the parallelized framework demonstrates substantial performance gains, the authors note that sparse adjacency matrices remain memory-intensive, requiring strict limits on very large problems. Future work includes a fully integrated C/C++ implementation to reduce data-transfer overhead and the development of more sophisticated metrics—potentially using machine learning—to predict which cliques will be most impactful before adding them to the model.

Summary updated

BibTeX
@misc{dai2023parallelized,
  author = {Yongzheng Dai and Chen Chen},
  title = {{Parallelized Conflict Graph Cut Generation}},
  year = {2023},
  eprint = {2311.03706},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.03706},
}
Figure