The Double Exponential Runtime is Tight for 2-Stage Stochastic ILPs

Klaus Jansen, Kim-Manuel Klein, Alexandra Lassota

Abstract

This paper resolves a fundamental question in algorithmic complexity regarding the efficiency of solving 2-stage stochastic Integer Linear Programs (ILPs). While n-fold ILPs are solvable in single-exponential time, 2-stage stochastic ILPs—their structural transposes—have long appeared to require double-exponential time. By constructing a reduction chain from 3-SAT through quadratic congruences and a novel "Non-Unique Remainder" problem, the authors prove a double-exponential lower bound under the Exponential Time Hypothesis (ETH). This result confirms that current state-of-the-art algorithms are nearly optimal and highlights a stark complexity asymmetry in block-structured optimization.

Introduction

Integer Linear Programming (ILP) is a cornerstone of optimization, essential for solving complex problems in logistics, scheduling, and resource allocation. While general ILP is NP-hard, researchers have identified specific "block-structured" ILPs that allow for more efficient algorithms. Two of the most prominent structures are n-fold ILPs and 2-stage stochastic ILPs.

Structurally, these two problems are nearly identical; their constraint matrices are simply transposes of one another. However, a significant algorithmic gap has persisted: n-fold ILPs can be solved in single-exponential time (relative to the block size), whereas the best-known algorithms for 2-stage stochastic ILPs require double-exponential time ($2^{2^k}$). This research investigates whether this gap is a result of algorithmic limitations or an inherent property of the problems themselves.

The Structural Asymmetry

In an n-fold ILP, the constraint matrix consists of many small blocks arranged vertically, linked by a few global constraints. In a 2-stage stochastic ILP, the blocks are arranged horizontally, linked by a few global variables. Despite this simple geometric relationship, the complexity of solving them diverges sharply.

Previous work established that n-fold ILPs are fixed-parameter tractable with a single-exponential dependence on the parameters. For 2-stage stochastic ILPs, however, the best algorithms have remained stuck at $2^{2^{poly(s,t)}}$, where $s$ and $t$ are the dimensions of the blocks. This paper proves that this double-exponential behavior is unavoidable, assuming the Exponential Time Hypothesis (ETH) holds.

Methodology: The Reduction Chain

To prove the lower bound, the authors develop a sophisticated reduction chain that connects Boolean satisfiability to modular arithmetic and, finally, to integer programming.

1. Strengthening Quadratic Congruences (QC)

The chain begins by revisiting a classic problem in number theory: Quadratic Congruences. The goal is to find an integer $z$ such that $z^2 \equiv \alpha \pmod \beta$. While this was proven NP-hard in 1978, the authors provide a much stronger hardness result, showing it remains hard even when the prime factors of the modulus $\beta$ are constrained. This refinement is crucial for the subsequent steps in the reduction.

2. The Non-Unique Remainder (NUR) Problem

The authors introduce a new intermediate problem called the Non-Unique Remainder (NUR) problem. This can be viewed as a generalization of the Chinese Remainder Theorem. In the standard theorem, one seeks a number that satisfies a specific residue for each modulus. In NUR, the solver is given two possible residues for each modulus and must choose one for each such that a global constraint is satisfied. The authors prove that NUR is NP-hard and that it naturally bridges the gap between modular arithmetic and the linear constraints of an ILP.

3. Encoding into 2-Stage Stochastic ILP

The final step involves encoding an instance of the NUR problem into the structure of a 2-stage stochastic ILP. A significant technical challenge here was the "Coefficient Encoding" problem. To prove the hardness holds even for small coefficients, the authors utilized a base-2 encoding technique. This allowed them to represent large values (necessary for modular arithmetic) using only small constant coefficients within the ILP matrix.

Key Results

The primary contribution of this work is the proof of a double-exponential lower bound. Specifically, the authors show that any algorithm solving 2-stage stochastic ILPs must have a running time of at least:

$$2^{2^{\delta(s+t)}} |I|^{O(1)}$$

where $|I|$ is the input size and $\delta$ is a constant. This result is significant for several reasons:

  • Tightness: It demonstrates that current state-of-the-art algorithms are nearly optimal. The double-exponential dependency is not a flaw in our current methods but a fundamental requirement of the problem.
  • Robustness: The hardness result holds even under highly restrictive conditions, such as when there is only a single global variable ($r=1$) and the coefficients are small constants.
  • Complexity Asymmetry: It formally confirms that transposing a constraint matrix can lead to a massive jump in computational complexity, moving from single-exponential to double-exponential time.

Conclusion and Future Work

By bridging number theory and discrete optimization, this paper provides a definitive answer to the complexity of 2-stage stochastic ILPs. While it closes one door, it opens others. The authors point toward "4-block ILPs"—hybrid structures that combine both n-fold and 2-stage stochastic elements—as the next frontier for complexity analysis. Additionally, while the decision version of the problem is now well-understood, the potential for efficient approximation algorithms remains an area for further exploration.

Summary updated

BibTeX
@inproceedings{jansen2021double,
  author = {Klaus Jansen and Kim-Manuel Klein and Alexandra Lassota},
  title = {{The Double Exponential Runtime is Tight for 2-Stage Stochastic ILPs}},
  booktitle = {IPCO},
  year = {2021},
  doi = {10.1007/978-3-030-73879-2\_21},
}
Figure