Efficient Propagation Techniques for Handling Cyclic Symmetries in Binary Programs

Jasper van Doornmalen, Christopher Hojny

TL;DR

This paper introduces novel algorithms for efficiently handling cyclic symmetries in binary programs, a common challenge that significantly slows down optimization solvers. By developing specialized propagation techniques for cyclic groups, the authors demonstrate substantial performance improvements compared to existing methods, particularly on problems with strong cyclic symmetries.

What Problem Does This Paper Address?

Binary programs, often used in optimization problems, can become computationally intractable when they exhibit symmetries. Symmetries mean that multiple equivalent solutions exist, leading solvers to explore redundant parts of the search space. While general symmetry handling techniques exist, they can be computationally expensive. This paper focuses on a specific type of symmetry: cyclic symmetries, which arise from groups generated by a single permutation. Existing methods for handling these cyclic symmetries are not efficient, and this paper aims to fill that gap by developing specialized, faster algorithms.

Methods

The core contribution of this paper lies in developing efficient propagation techniques tailored for cyclic groups. The authors build upon the concept of "symresack propagation" and introduce new algorithms that leverage the specific structure of cyclic groups.

  • Algorithm 1: This algorithm efficiently determines complete sets of variable fixings for individual permutations within a set. It improves upon a naive approach by introducing data structures and dependency analysis, reducing the complexity from O(n²|Π|) to O(n|Π|).
  • Implication Trees: A key data structure used is the "implication tree," which encodes relationships between variable fixings and symmetry constraints. These trees are updated dynamically as the algorithm progresses.
  • Algorithm 2 & 3: These algorithms extend the propagation techniques to handle entire cyclic groups. Algorithm 3, in particular, is designed for cyclic groups generated by "monotone and ordered" permutations, guaranteeing completeness. It recursively applies propagation and checks for infeasibility, achieving a polynomial time complexity.

Datasets

The authors evaluate their algorithms on two main types of datasets:

  • Flower Snark Graphs: These are specifically constructed undirected graphs used to test edge-coloring problems. The instances are derived from these graphs for varying parameters (n ∈ {3, ..., 49}).
  • MIPLIB 2010 and MIPLIB 2017: These are standard benchmark instances for mixed-integer programming problems. The authors filtered these to include only instances with cyclic groups of order at least 3 that SCIP could presolve within a reasonable time.

Key Insights and Ideas

  • Exploiting Cyclic Structure: The paper demonstrates that specialized algorithms for cyclic symmetries can significantly outperform general methods, especially when these symmetries are dominant.
  • Completeness Guarantee: For specific types of cyclic groups (monotone and ordered), Algorithm 3 guarantees finding all possible symmetry-derived variable fixings, making it a powerful tool.
  • Implication Trees are Key: The efficient update and management of implication trees are crucial for the performance of the proposed algorithms.
  • Relabeling Matters: For general benchmark instances, the performance of symmetry handling methods can be highly sensitive to variable relabeling, suggesting that finding optimal relabeling strategies is an important area for future research.
  • Symmetry Can Hurt: In some cases, aggressive symmetry handling can interfere with solver heuristics, leading to worse performance. Identifying when symmetry handling is beneficial is an open question.

Key Results

  • Performance Improvement: The proposed methods (nopeek and peek variants) show significant speedups compared to naive propagation of individual constraints. For flower snark instances, improvements of 9.5% and 18.3% were observed.
  • Solving More Instances: For flower snark instances that could not be solved without symmetry handling, the proposed methods achieved gains of 30.8% and 16.9% (compared to naive propagation).
  • MIPLIB Performance: On a subset of MIPLIB instances, the proposed methods (especially without relabeling) significantly outperformed the "group" setting, with improvements of up to 14.2% and 13.9%.
  • Algorithm 1 Complexity: The running time for Algorithm 1 was reduced to O(n|Π|).
  • Algorithm 3 Complexity: For monotone and ordered cyclic groups, Algorithm 3 achieves a polynomial time complexity, with the overall running time of the framework being O(n²).

Limitations and Future Work

  • Monotone and Ordered Permutations: Algorithm 3's completeness guarantee is limited to cyclic groups generated by "monotone and ordered" permutations. The authors suggest developing methods that achieve completeness even when these assumptions are dropped.
  • Identifying Beneficial Instances: It remains an open research question to efficiently identify which instances benefit from aggressive symmetry handling.
  • Optimal Relabeling: Finding better strategies for relabeling variables to facilitate symmetry handling is suggested as a future research direction.
  • Interference with Heuristics: The paper notes that symmetry handling can sometimes hinder solver heuristics, and further investigation into this interaction is warranted.

Summary updated

BibTeX
@article{doornmalen2024efficient,
  author = {Jasper van Doornmalen and Christopher Hojny},
  title = {{Efficient Propagation Techniques for Handling Cyclic Symmetries in Binary Programs}},
  journal = {INFORMS J. Comput.},
  year = {2024},
  doi = {10.1287/ijoc.2022.0060},
}
Figure