The Steiner Tree Problem (STP) is a cornerstone of combinatorial optimization. Given a graph and a set of "terminal" nodes, the goal is to find the minimum-weight tree that connects all terminals. While the pure version of this problem is well-understood, real-world applications—such as VLSI circuit design or telecommunication network planning—frequently involve "side constraints" that render standard algorithms ineffective.
In a paper presented at AAAI-16, researchers from the University of Melbourne and NICTA proposed a novel approach using Constraint Programming (CP). By developing a specialized propagator that leverages Lazy Clause Generation (LCG), they created a solver capable of handling both pure and constrained Steiner Tree problems with high efficiency.
The Steiner Tree Challenge
The fundamental challenge of the Steiner Tree Problem lies in the potential to include non-terminal nodes (Steiner nodes) to reduce the overall cost of the network.
As shown in the figure above, connecting terminals $a, b,$ and $c$ directly results in a higher cost than introducing a Steiner node $s$. While the pure STP is NP-complete, highly optimized specialized solvers exist. However, these solvers rely on mathematical reductions that assume the problem is pure. When side constraints are added—such as requiring a terminal to be a leaf or enforcing path capacities—these reductions become invalid, and specialized solvers often fail.
Methods: A Propagator with Explanations
The core contribution of this research is the development of a tree propagator implemented in the CHUFFED solver. Unlike traditional CP solvers, this approach uses LCG to provide "explanations" for pruning decisions, allowing the solver to learn from conflicts.
1. Propagator Logic
The solver treats edges and nodes as variables. The propagator enforces several graph-theoretic rules to prune the search space:
- Reachability: Ensures all terminals remain connectable given current assignments.
- Articulations & Bridges: Identifies mandatory nodes and edges. If a node is an articulation point (a bottleneck) between terminals, it must be included in the solution.
- Cycle Prevention: Ensures the resulting structure is a tree by preventing loops.
2. Explained Lower Bounds
To further prune the search, the authors introduced two lower bounds:
- Shortest-Path Based Lower Bound (SPLB): A fast, graph-based heuristic.
- Linear Program Lower Bound (LPLB): A more precise bound based on the "cut formulation" of the STP, solved via CPLEX.
Crucially, when a lower bound exceeds the current best solution, the solver generates a clause explaining why. This allows the search to avoid similar sub-optimal regions of the search space in future iterations.
Key Results and Performance
The researchers evaluated their solver using the SteinLib benchmark library, focusing on pure instances and constrained variants like the Terminal Steiner Tree Problem (TSTP).
- Efficiency in Pure STP: On the "Set B" benchmarks, the LPLB-based solver found solutions in approximately 5 seconds, whereas the state-of-the-art CHOCO3 solver took over 3,300 seconds and failed on several instances.
- Superiority in Constrained Variants: In the TSTP (where terminals must be leaves), the CP solver was orders of magnitude faster. For the B set, the LPLB solver finished in 0.30 seconds, compared to 26.27 seconds for CHOCO3.
- Search Reduction: The use of explanations reduced the number of nodes explored in the search tree by several orders of magnitude, proving that "learning" is vital for complex graph problems.
Conclusion
While specialized solvers remain faster for pure Steiner Tree problems due to problem-specific reductions, this CP-based approach provides a robust and flexible framework for real-world scenarios. By combining graph algorithms with explained lower bounds, the authors demonstrated that Constraint Programming can effectively bridge the gap between theoretical purity and practical complexity.
Summary updated