From Approximate to Optimal Solutions: Constructing Pruning and Propagation Rules

TL;DR

This paper introduces a novel method for building efficient optimization algorithms by combining approximation algorithms with a new modular arithmetic-based pruning technique. This approach significantly speeds up finding optimal solutions for NP-complete problems like bin packing, reducing runtime by up to an order of magnitude on difficult instances.

What Problem Does This Paper Address?

Many real-world problems, such as scheduling, resource allocation, and circuit design, can be modeled as combinatorial optimization problems. Finding the absolute best (optimal) solution for these problems is often computationally intractable (NP-complete). While approximation algorithms can quickly find "good enough" solutions, they don't guarantee optimality. This paper addresses the challenge of bridging this gap: how to construct algorithms that are both complete (guaranteed to find the optimal solution) and efficient, especially for hard problem instances. The authors build upon Korf's idea of converting approximation algorithms into complete search procedures, but aim to improve their efficiency by introducing powerful pruning and propagation rules.

Methods

The core of the paper's contribution lies in two main areas:

  • Branching Rule from Approximation Algorithm: The authors adapt the "Decreasing Best Fit" (DBF) approximation algorithm for bin packing into a branching rule for a complete search procedure called "Complete Decreasing Best Fit" (CDBF). DBF sorts objects by weight and places them in the fullest bin that can accommodate them. CDBF uses this as the primary branching decision and explores alternatives upon backtracking.
  • Modular Arithmetic for Pruning: The key innovation is a new pruning rule derived from modular arithmetic. This rule decomposes the numerical constraints of the problem (e.g., bin capacities and object weights) into constraints on their representations in different number bases (moduli). By analyzing these modular constraints, the algorithm can detect impossible states early in the search, thus pruning unproductive branches. This is generalized to "multiple mod pruning" by using multiples of bases.
  • Propagation Rules from Pruning: The paper also shows how to construct propagation rules by adding a "look-ahead" mechanism to the pruning rules. This allows the algorithm to force decisions when a particular choice becomes the only viable option to avoid pruning.

Datasets

The paper uses synthetically generated bin packing problems for evaluation. These problems are created with specific parameters to control difficulty, particularly by manipulating the "spare capacity" (the difference between total bin capacity and total object weight). The authors note that their experimental setup involves generating problems with a predetermined spare capacity to study the effectiveness of their pruning rule.

Key Insights and Ideas

  • Modular Arithmetic as a Constraint Decomposition Tool: The paper demonstrates that modular arithmetic is a powerful, general technique for decomposing complex numerical constraints in combinatorial problems. This decomposition allows for the derivation of bounds that are otherwise difficult to obtain.
  • Pruning is Crucial for Efficiency: The effectiveness of the modular pruning rule is shown to be highly dependent on the problem's "constrainedness" (e.g., limited spare capacity). Harder, more constrained problems benefit most significantly from pruning.
  • Propagation Rules as Look-Ahead Pruning: The paper provides a clear methodology for constructing propagation rules by extending pruning rules with a simple look-ahead. This suggests a systematic way to build more sophisticated constraint satisfaction techniques.
  • Generalizability of the Approach: The authors propose that their general strategy—combining approximation algorithms for branching rules with modular arithmetic-based bounds for pruning and propagation—is applicable to a wide range of other NP-complete problems beyond bin packing, including subset sum, number partitioning, and knapsack problems.

Key Results

  • Significant Speedup: The modular pruning rule reduces the number of nodes searched significantly. On the hardest problems, this translates to runtimes being reduced by up to an order of magnitude.
  • Constant Factor Overhead: The implementation of the modular pruning rule adds only a constant factor overhead to the runtime, meaning the gains from pruning far outweigh the cost of checking the bounds.
  • Effectiveness with Increased Constraints: The pruning rule becomes more effective as the problem becomes more constrained (e.g., with more objects or tighter weight distributions relative to bin capacity).
  • Improved Performance with Multiple Moduli: Using multiples of bases for pruning further enhances search reduction compared to using single moduli.

Limitations and Future Work

  • Identifying Optimal Bases and Multiples: The paper acknowledges that determining the best sets of bases and multiples for pruning is an open research question.
  • Application to Other Domains: While the paper suggests broad applicability, further research is needed to explore how this methodology can be effectively applied to other NP-complete problems.
  • Systematic Propagation Rule Construction: Developing more sophisticated propagation rules by extending pruning rules is an area for future work.
  • Handling Larger Problems: For extremely large problems where even pruned search trees are too vast, the authors suggest exploring techniques like Iterative Deepening Search (ILDS).

Summary updated

BibTeX
@inproceedings{1997from,
  title = {{From Approximate to Optimal Solutions: Constructing Pruning and Propagation Rules}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1997},
}
Figure