Symmetry Breaking via LexLeader Feasibility Checkers

Justin Yip, Pascal Van HentenryckIJCAI 2011

Abstract

Combinatorial problems modeled as matrices often exhibit high degrees of symmetry, where rows, columns, or values can be permuted without altering the problem's logic. Traditional static symmetry-breaking methods like DOUBLELEX often fail to prune the search space effectively due to the factorial growth of permutations. This paper introduces LexLeader feasibility checkers, a dynamic approach that prunes partial assignments during search. By implementing specialized propagators that verify if a partial assignment can lead to a canonical solution, the authors achieve performance gains of up to three orders of magnitude on standard benchmarks.

Introduction: The Challenge of Matrix Symmetries

Many Constraint Satisfaction Problems (CSPs), such as scheduling or experimental design, are naturally modeled as matrices. In these matrix models, symmetries arise when rows or columns are interchangeable. The standard LexLeader method requires finding only the lexicographically smallest version of a solution. However, fully breaking these symmetries is computationally expensive because the number of permutations grows as $n! \times m!$. Static constraints like DOUBLELEX only address a small subset of these symmetries, leaving the solver to explore redundant branches of the search tree.

Methodology: Dynamic Feasibility Checkers

The core innovation of this work is the shift from static constraints to dynamic feasibility checkers. Instead of pre-generating an exhaustive list of constraints, the authors propose a propagator that runs during the search process.

Pruning Partial Assignments

The checker is designed to handle partial assignments. If a partial matrix is already lexicographically "larger" than one of its symmetric counterparts, the checker prunes that branch immediately. This prevents the solver from wasting time on assignments that cannot lead to a canonical (lexicographically smallest) solution.

Advanced Orderings and Value Symmetries

The framework extends beyond simple row/column swaps:

  • Variable Orderings: Support for SNAKELEX, which traverses the matrix in a zig-zag pattern, often providing better pruning for certain problem structures.
  • Value Symmetries: Techniques to handle cases where values themselves are interchangeable or follow specific transformation rules, such as those found in Error Correcting Codes (ECC) using Lee Distance.
  • Row Limitation: To manage the $n!$ complexity of row permutations, the authors introduced a "row limitation" heuristic ($k$), which restricts checks to the first $k$ rows, balancing pruning power with computational speed.

Experimental Evaluation

The authors evaluated their checkers on benchmarks from the CSPLib, including Equidistant Frequency Permutation Arrays (EFPA), Balanced Incomplete Block Designs (BIBD), and Error Correcting Codes (ECC).

Performance comparison on EFPA instances. The VALROWCOL checkers significantly outperform static DOUBLELEX, reducing search times from over 1,700 seconds to approximately 11 seconds for the (5, 3, 4, 5) instance.

Key Results

The results demonstrate that dynamic checkers are far more robust than static methods:

  • EFPA: As shown in Figure 2, the VALROWCOL checker reduced search times for the $(5, 3, 4, 5)$ instance from 1,731.65 seconds to just 11.18 seconds.
  • ECC (Lee Distance): The improvements were even more pronounced. On the $(5, 6)$ instance, search time dropped from nearly 650 seconds to 0.32 seconds (Figure 5).
  • BIBD: The checkers consistently found fewer solutions by eliminating more symmetries and were generally faster. For the $(22, 7, 2)$ instance, the checker was 8 times faster than static methods.
Search performance on ECC (Lee Distance) benchmarks. The combination of LEEROWCOL and ROWLEE checkers provides "spectacular" speedups, often reducing search times from hundreds of seconds to fractions of a second.

Conclusion

LexLeader feasibility checkers provide a powerful alternative to static symmetry breaking. By dynamically pruning the search tree, they handle complex matrix and value symmetries that are otherwise intractable. While the factorial complexity of permutations remains a challenge for very large matrices, heuristics like row limitation make this approach highly effective for a wide range of combinatorial problems. Future work may explore more efficient permutation handling and the interaction between checkers and branching heuristics.

Summary updated

BibTeX
@inproceedings{yip2011symmetry,
  author = {Justin Yip and Pascal Van Hentenryck},
  title = {{Symmetry Breaking via LexLeader Feasibility Checkers}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2011},
  doi = {10.5591/978-1-57735-516-8/ijcai11-121},
}
Figure