Introduction
Packing linear programs (LPs) are a fundamental class of optimization problems used in machine learning, scheduling, and resource allocation. However, standard commercial solvers like Gurobi struggle to scale when the number of variables ($n$) far exceeds the number of constraints ($m$). In these massive, under-determined settings, traditional methods often become computationally bottlenecked or exceed memory limits. This paper introduces a black-box acceleration framework that significantly speeds up existing solvers while maintaining high accuracy.
The Acceleration Framework
The proposed framework wraps around any existing LP solver using a two-step process:
- Sampling: The framework samples a tiny fraction (e.g., 1%) of the primal variables to construct a smaller "sample LP," with constraints scaled proportionally to ensure feasibility.
- Thresholding: The base solver solves this sample LP to obtain dual variables, which act as "prices" for the constraints. These duals are used in a deterministic thresholding rule to assign binary values (0 or 1) to all variables in the original massive LP.
Because the final step uses hard thresholding, the framework inherently produces integer solutions, allowing it to solve Integer Linear Programs (ILPs) without additional algorithmic modifications.
Speculative Execution and Cloning
To mitigate the impact of slow-running tasks ("stragglers") in distributed systems and improve solution quality, the authors introduce "speculative execution" or cloning. By running multiple random samples in parallel and selecting the best resulting solution, the framework improves both runtime and objective value.
Experimental Evaluation
The framework was evaluated on synthetic packing LPs with up to $10^7$ variables. The experiments compared the "Accelerator" (using Gurobi as the base) against standalone Gurobi instances to measure scalability and precision.
Key Results
- Massive Speedups: The framework achieved speedups of over 150x on large problems. As shown in the runtime analysis, the Accelerator's performance remains stable as the number of constraints $m$ grows, whereas Gurobi's runtime increases exponentially.
- High Accuracy: Despite the drastic speedup, relative error remained under 4% for large-scale instances.
- Scalability: On a standard laptop, the Accelerator solved a problem with $10^7$ variables in 10 minutes—a task that caused standalone Gurobi to crash due to memory limits.
- Cloning Efficacy: Running 40 clones in parallel reduced relative error by 12% and tripled the speedup compared to a single run, demonstrating the power of speculative execution.
Conclusion
This acceleration framework provides a scalable, parallelizable solution for massive packing LPs where $m \ll n$. By leveraging dual variables from small samples and employing speculative execution, it enables commercial solvers to handle datasets previously beyond their reach with minimal loss in precision. Future work will explore applying this framework to fully distributed solvers across massive compute clusters.
Summary updated