Abstract
We describe algorithms for two-stage stochastic linear programming with recourse and their implementation on a grid computing platform. In particular, we examine serial and asynchronous versions of the L-shaped method and a trust-region method. The parallel platform of choice is the dynamic, heterogeneous, opportunistic platform provided by the Condor system. The algorithms are of master-worker type (with the workers being used to solve second-stage problems), and the MW runtime support library (which supports master-worker computations) is key to the implementation. Computational results are presented on large sample average approximations of problems from the literature.
Introduction
Stochastic Linear Programming (SLP) provides a mathematical framework for decision-making under uncertainty. In a typical two-stage model, an initial decision is made (Stage 1), followed by the realization of a random event. Subsequently, a "recourse" action (Stage 2) is taken to mitigate the costs or issues arising from that realization.
While conceptually powerful, SLP faces a massive scaling challenge. To achieve high-fidelity solutions, researchers must sample thousands or even millions of scenarios. This results in a "deterministic equivalent" problem of such immense size that it cannot be solved on a single machine. While decomposition techniques—breaking the problem into scenario-based subproblems—allow for parallelization, traditional parallel algorithms are often synchronous. In a synchronous master-worker pattern, the master process must wait for every worker to complete its task before proceeding. On a computational grid like Condor, which utilizes idle, heterogeneous, and volatile hardware, a single "straggler" or a reclaimed workstation can stall the entire optimization process. This paper explores asynchronous decomposition algorithms designed to overcome these grid-specific bottlenecks.
Algorithmic Framework
The authors implemented and compared four primary algorithms within a Master-Worker framework using the MW runtime library.
1. The L-Shaped Method
This is a standard Benders-style decomposition. It uses "cuts" (linear inequalities) to approximate the expected cost of the second stage. In its serial or synchronous form, the master problem is updated only after all second-stage subproblems for a given iteration are solved.
2. Asynchronous L-Shaped (ALS)
To mitigate the straggler problem, the ALS variant allows the master to proceed without waiting for all scenario clusters. A synchronicity parameter, $\sigma$, defines the threshold: once a certain percentage of tasks return, a new master iteration is triggered. This allows the optimization to progress even if some grid nodes are slow or disconnected.
3. Bundle-Trust-Region (TR)
The standard L-shaped method often suffers from instability, where first-stage variables "jitter" or make unproductive jumps in early iterations. The Trust-Region method stabilizes this by restricting how far the first-stage variables can move in a single step, ensuring the algorithm stays within a region where the current linear approximation is likely to be accurate.
4. Asynchronous Trust Region (ATR)
The ATR algorithm is the most sophisticated contribution of this work. It maintains a "basket" of candidate points that are evaluated simultaneously. This allows for "minor iterates" to refine the model using partial information, while "major iterates" are only performed when a full objective value confirms a significant improvement. This dual-layered asynchronicity ensures that the grid remains productive even during volatile periods.
Implementation on the Condor Grid
The system was deployed on Condor, an opportunistic grid system that harvests idle CPU cycles from workstations and clusters across various geographic locations, including Argonne National Laboratory, the University of Wisconsin, and Georgia Tech. Because these machines can be reclaimed by their owners at any time, the software must be inherently fault-tolerant. The MW library facilitates this by managing task distribution and reassigning tasks from failed workers.
Experimental Results
The algorithms were tested on two classic large-scale problems: SSN (telecommunications network design) and stormG2 (cargo flight scheduling).
Scaling to 10 Billion Variables
The most significant achievement was the solution of a massive version of the stormG2 problem. By using $10^7$ scenarios, the authors created a theoretical linear program with approximately 10 billion variables.
- Wall-clock time: Approximately 32 hours.
- Throughput: The system utilized an average of 433 workers, peaking at 556.
- Total Effort: The cumulative CPU time exceeded 9,000 hours—representing over a year of computation compressed into less than two days.
Efficiency and Robustness
The asynchronous algorithms (ALS and ATR) demonstrated superior performance on the grid. The authors found that a synchronicity parameter ($\sigma$) between 0.5 and 0.7 offered the best balance between moving the master problem forward and maintaining the accuracy of the cuts. The ATR method, in particular, proved highly efficient at navigating the solution space without the erratic behavior seen in non-trust-region methods.
Conclusion and Future Work
This research demonstrates that asynchronous decomposition is not merely a performance optimization but a fundamental requirement for large-scale optimization on opportunistic grids. By decoupling the master's progress from the slowest worker, the authors successfully solved some of the largest stochastic programs ever attempted.
Future research directions include:
- Dynamic Parameter Tuning: Automatically adjusting the synchronicity parameter and trust-region size based on real-time grid performance.
- Decentralization: Moving toward peer-to-peer decomposition to eliminate the master process as a potential bottleneck when scaling to thousands of concurrent workers.
- Communication Latency: Further refining algorithms to handle high-latency connections between geographically dispersed grid nodes.
Summary updated