Abstract
Positive linear programs (LPs) model many graph and operations research problems. One can solve for a $(1+\epsilon)$-approximation for positive LPs, for any selected $\epsilon$, in polylogarithmic depth and near-linear work via variations of the multiplicative weight update (MWU) method. Despite extensive theoretical work on these algorithms through the decades, their empirical performance is not well understood. In this work, we implement and test an efficient parallel algorithm for solving positive LP relaxations, and apply it to graph problems such as densest subgraph, bipartite matching, vertex cover and dominating set. We accelerate the algorithm via a new step size search heuristic. Our implementation uses sparse linear algebra optimization techniques such as fusion of vector operations and use of sparse format. Furthermore, we devise an implicit representation for graph incidence constraints. We demonstrate the parallel scalability with the use of threading OpenMP and MPI on the Stampede2 supercomputer. We compare this implementation with exact libraries and specialized libraries for the above problems in order to evaluate MWU's practical standing for both accuracy and performance among other methods. Our results show this implementation is faster than general purpose LP solvers (IBM CPLEX, Gurobi) in all of our experiments, and in some instances, outperforms state-of-the-art specialized parallel graph algorithms.
Introduction
Linear Programming (LP) is a foundational tool for solving complex graph optimization problems, such as finding the densest subgraph or the minimum vertex cover. However, traditional exact solvers like Gurobi and CPLEX often struggle with the scale of modern graphs and are notoriously difficult to parallelize. Theoretical computer science offers an alternative in the Multiplicative Weight Update (MWU) method, which provides $(1+\epsilon)$-approximate solutions with high theoretical parallelism. This paper bridges the gap between these theoretical guarantees and practical high-performance computing by introducing systems-level optimizations and algorithmic heuristics that make MWU a viable powerhouse for large-scale graph analytics.
The MWU Algorithm and Graph Problems
The core of the approach is an optimized parallel version of the MWU algorithm. The method iteratively updates weights to converge on a solution that satisfies a set of linear constraints. This solver is applied to several classic graph optimization problems, represented as fractional LP relaxations.
Optimization Strategies
The performance gains are driven by two main pillars: algorithmic heuristics and software-level optimizations.
Algorithmic Heuristics: Step-Size Search
Theoretical proofs require conservative step sizes to guarantee convergence, which often results in a prohibitive number of iterations. The authors introduced a Line Search strategy (using Binary Search or Newton’s Method) to find the largest feasible step size in each iteration. This drastically reduces the total number of iterations needed; for instance, on a matching problem for a random geometric graph (rgg-18), the Newton-based search reduced iterations from approximately 25,000 to just 13.
Software and Systems Optimizations
- Implicit Representations: Instead of storing massive, explicit constraint matrices (like vertex-edge incidence matrices), the solver stores only the underlying graph's adjacency matrix and computes necessary products on the fly. This halves memory usage and significantly reduces cache misses.
- Sparse Linear Algebra (SLA) Techniques: The implementation utilizes the Compressed Sparse Blocks (CSB) format for better cache locality, alongside loop fusion and AVX-512 vectorization to maximize performance on modern processors like the Intel Xeon Phi.
- Hybrid Parallelism: The solver uses OpenMP for shared-memory threading and MPI with a 2D matrix distribution for scaling across multiple supercomputer nodes.
Experimental Results
The researchers evaluated their solver on a diverse set of real-world graphs from the SuiteSparse Matrix Collection and synthetic generators.
- Performance vs. Exact Solvers: The optimized MWU solver was 3x to 2800x faster than CPLEX and 5x to 1180x faster than Gurobi across various problems.
- Scalability: The solver demonstrated excellent strong scaling, achieving speedups of 13x to 55x when moving from 1 to 68 threads on a single node.
- Comparison with Specialized Libraries: For bipartite matching on planar-like graphs, the MWU implementation outperformed specialized libraries by up to 22x, though specialized algorithms still maintain an edge on graphs with high-degree "hub" vertices.
Conclusion
By addressing the "theory-practice gap" through aggressive step-size heuristics and memory-efficient sparse linear algebra, this work demonstrates that MWU is a highly effective method for large-scale graph optimization. It offers a flexible middle ground—much faster than general LP solvers while remaining adaptable to a wide variety of graph problems.
Summary updated