SAT Encoding of Partial Ordering Models for Graph Coloring Problems (2403.15961v3)
Abstract: In this paper, we suggest new SAT encodings of the partial-ordering based ILP model for the graph coloring problem (GCP) and the bandwidth coloring problem (BCP). The GCP asks for the minimum number of colors that can be assigned to the vertices of a given graph such that each two adjacent vertices get different colors. The BCP is a generalization, where each edge has a weight that enforces a minimal "distance" between the assigned colors, and the goal is to minimize the "largest" color used. For the widely studied GCP, we experimentally compare our new SAT encoding to the state-of-the-art approaches on the DIMACS benchmark set. Our evaluation confirms that this SAT encoding is effective for sparse graphs and even outperforms the state-of-the-art on some DIMACS instances. For the BCP, our theoretical analysis shows that the partial-ordering based SAT and ILP formulations have an asymptotically smaller size than that of the classical assignment-based model. Our practical evaluation confirms not only a dominance compared to the assignment-based encodings but also to the state-of-the-art approaches on a set of benchmark instances. Up to our knowledge, we have solved several open instances of the BCP from the literature for the first time.
- http://mat.gsia.cmu.edu/COLOR02/BENCHMARK/benchmark.tar, 2002.
- Register allocation via coloring. Computer Languages, 6(1):47–57, 1981. URL: https://www.sciencedirect.com/science/article/pii/0096055181900485, doi:10.1016/0096-0551(81)90048-5.
- Satisfiability methods for colouring graphs. In ACER 2013, volume 3, pages 135–147, 03 2013. doi:10.5121/csit.2013.3213.
- Integer and constraint programming approaches for providing optimality to the bandwidth multicoloring problem. RAIRO - Operations Research, 55:S1949–S1967, 06 2021. doi:10.1051/ro/2020065.
- What color is your jacobian? Graph coloring for computing derivatives. SIAM Review, 47(4):629–705, 2005. arXiv:https://doi.org/10.1137/S0036144504444711, doi:10.1137/S0036144504444711.
- An incremental SAT-based approach to the graph colouring problem. In Thomas Schiex and Simon de Givry, editors, Principles and Practice of Constraint Programming - 25th International Conference, CP 2019, volume 11802 of Lecture Notes in Computer Science, pages 213–231. Springer, 2019. doi:10.1007/978-3-030-30048-7_13.
- Clause learning and new bounds for graph coloring. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence, IJCAI-19, pages 6166–6170, 7 2019. doi:10.24963/ijcai.2019/856.
- Constraint and satisfiability reasoning for graph coloring. J. Artif. Intell. Res., 69:33–65, 2020. URL: https://doi.org/10.1613/jair.1.11313, doi:10.1613/JAIR.1.11313.
- Maximum-weight stable sets and safe lower bounds for graph coloring. Mathematical Programming Computation, 4, 12 2012. doi:10.1007/s12532-012-0042-3.
- From Cliques to Colorings and Back Again. In Christine Solnon, editor, 28th International Conference on Principles and Practice of Constraint Programming (CP 2022), volume 235 of Leibniz International Proceedings in Informatics (LIPIcs), pages 26:1–26:10, Dagstuhl, Germany, 2022. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. URL: https://drops-dev.dagstuhl.de/entities/document/10.4230/LIPIcs.CP.2022.26, doi:10.4230/LIPIcs.CP.2022.26.
- Thore Husfeldt. Graph colouring algorithms, 2015. arXiv:1505.05825.
- New integer linear programming models for the vertex coloring problem. In Michael A. Bender, Martin Farach-Colton, and Miguel A. Mosteiro, editors, LATIN 2018: Theoretical Informatics - 13th Latin American Symposium, Buenos Aires, Argentina, April 16-19, 2018, Proceedings, volume 10807 of Lecture Notes in Computer Science, pages 640–652. Springer, 2018. doi:10.1007/978-3-319-77404-6_47.
- Strengthened partial-ordering based ILP models for the vertex coloring problem. CoRR, abs/2206.13678, 2022. URL: https://doi.org/10.48550/arXiv.2206.13678, arXiv:2206.13678, doi:10.48550/ARXIV.2206.13678.
- Frank Thomson Leighton. A graph coloring algorithm for large scheduling problems. Journal of research of the National Bureau of Standards, 84 6:489–506, 1979. URL: https://api.semanticscholar.org/CorpusID:16043293.
- A survey on vertex coloring problems. Int. Trans. Oper. Res., 17:1–34, 2010. URL: https://api.semanticscholar.org/CorpusID:9199689.
- Heuristics for the bandwidth colouring problem. Int. J. Metaheuristics, 1:11–29, 01 2010. doi:10.1504/IJMHEUR.2010.033121.
- A column generation approach for graph coloring. INFORMS J. Comput., 8:344–354, 1996. URL: https://api.semanticscholar.org/CorpusID:13978746.
- A cutting plane algorithm for graph coloring. Discrete Applied Mathematics, 156(2):159–179, 2008. Computational Methods for Graph Coloring and it’s Generalizations. URL: https://www.sciencedirect.com/science/article/pii/S0166218X0700100X, doi:10.1016/j.dam.2006.07.010.
- Carsten Sinz. Towards an optimal CNF encoding of boolean cardinality constraints. In Peter van Beek, editor, Principles and Practice of Constraint Programming - CP 2005, 11th, volume 3709 of Lecture Notes in Computer Science, pages 827–831. Springer, 2005. doi:10.1007/11564751_73.
- Michael Trick. DIMACS graph coloring instances. https://mat.tepper.cmu.edu/COLOR04/, 2002.
- Allen Van Gelder. Another look at graph coloring via propositional satisfiability. Discrete Applied Mathematics, 156(2):230–243, 2008. Computational Methods for Graph Coloring and it’s Generalizations. URL: https://www.sciencedirect.com/science/article/pii/S0166218X07001084, doi:10.1016/j.dam.2006.07.016.