Abstract
We introduce an iterative framework for solving graph coloring problems using decision diagrams. The decision diagram compactly represents all possible color classes, some of which may contain edge conflicts. In each iteration, we use a constrained minimum network flow model to compute a lower bound and identify conflicts. Infeasible color classes associated with these conflicts are removed by refining the decision diagram. We prove that in the best case, our approach may use exponentially smaller diagrams than exact diagrams for proving optimality. We also develop a primal heuristic based on the decision diagram to find a feasible solution at each iteration. We provide an experimental evaluation on all 137 DIMACS graph coloring instances. Our procedure can solve 52 instances optimally, of which 44 are solved within 1 minute. We also compare our method to a state-of-the-art graph coloring solver based on branch-and-price, and show that we obtain competitive results. Lastly, we report an improved lower bound for the open instance C2000.9.
Similar content being viewed by others
Notes
The operator \(+\) indicates the addition of a set to a set (instead of the union).
The code has been downloaded from https://github.com/heldstephan/exactcolors.
References
Akers, S.B.: Binary decision diagrams. IEEE Trans. Comput. C–27, 509–516 (1978)
Andersen, H.R., Hadzic, T., Hooker, J.N., Tiedemann, P.: A constraint store based on multivalued decision diagrams. In: Proceedings of CP, volume 4741 of LNCS, pp. 118–132. Springer, Berlin (2007)
Barnier, N., Brisset, P.: Graph coloring for air traffic flow management. Ann. Oper. Res. 130, 163–178 (2004)
Bergman, D., Cire, A.A.: On finding the optimal bdd relaxation. In: Proceedings of CPAIOR, volume 10335 of LNCS, pp. 41–50. Springer, Berlin (2017)
Bergman, D., Cire, A.A., van Hoeve, W.-J., Hooker, J.N.: Decision Diagrams for Optimization. Springer, Berlin (2016)
Bergman, D., Cire, A.A., van Hoeve, W.-J., Hooker J.N.: Variable ordering for the application of BDDs to the maximum independent set problem. In: Proceedings of CPAIOR, volume 7298 of LNCS, pp. 34–49. Springer, Berlin (2012)
Bergman, D., Cire, A.A., van Hoeve, W.-J., Hooker, J.N.: Optimization bounds from binary decision diagrams. INFORMS J. Comput. 26(2), 253–268 (2014)
Bergman, D., Cire, A.A., van Hoeve, W.-J., Hooker, J.N.: Discrete optimization with decision diagrams. INFORMS J. Comput. 28(1), 47–66 (2016)
Bergman, D., van Hoeve, W.-J., Hooker, J.N.: Manipulating MDD relaxations for combinatorial optimization. In: Proceedings of CPAIOR, volume 6697 of LNCS, pp. 20–35. Springer, Berlin (2011)
Brélaz, D.: New methods to color the vertices of a graph. Commun. ACM 22(4), 251–256 (1979)
Bryant, R.E.: Graph-based algorithms for boolean function manipulation. IEEE Trans. Comput. C–35, 677–691 (1986)
Bryant, R.E.: Symbolic boolean manipulation with ordered binary decision diagrams. ACM Comput. Surv. 24, 293–318 (1992)
Cire, A.A., Hooker, J.N.: The separation problem for binary decision diagrams. In: Proceedings of ISAIM, (2014)
Furini, F., Gabrel, V., Ternier, I.-C.: An improved DSATUR-based branch-and-bound algorithm for the vertex coloring problem. Networks 69(1), 124–141 (2017)
Garey, M.R., Johnson, D.S.: Computers and Intractability - A Guide to the Theory of NP-Completeness. W. H, Freeman and Company (1979)
Gualandi, S., Malucelli, F.: Exact solution of graph coloring problems via constraint programming and column generation. INFORMS J. Comput. 24(1), 81–100 (2012)
Held, S., Cook, W., Sewell, E.C.: Maximum-weight stable sets and safe lower bounds for graph coloring. Math. Program. Comput. 4(4), 363–381 (2012)
van Hoeve, W.-J.: Graph coloring lower bounds from decision diagrams. In Bienstock, D., Zambelli, G. (eds) Proceedings of IPCO, volume 12125 of lecture notes in computer science, pp. 405–418. Springer, Berlin (2020)
Jabrayilov, A., Mutzel, P.: New integer linear programming models for the vertex coloring problem. In: Proceedings of LATIN, volume 10807 of LNCS, pp. 640–652. Springer, Berlin (2018)
Johnson, D.S., Trick, M.A. (eds).: Cliques, coloring, and satisfiability: Second DIMACS implementation challenge, October 11–13, 1993, volume 26 of DIMACS Series in discrete mathematics and theoretical computer science. American Mathematical Society, (1996)
Lee, C.Y.: Representation of switching circuits by binary-decision programs. Bell Syst. Tech. J. 38, 985–999 (1959)
Lewis, R., Thompson, J.: On the application of graph colouring techniques in round-robin sports scheduling. Comput. Oper. Res. 38(1), 190–204 (2011)
Malaguti, E., Monaci, M., Toth, P.: An exact approach for the vertex coloring problem. Discrete Optim. 8, 174–190 (2011)
Mehrotra, A., Trick, M.A.: A column generation approach for graph coloring. INFORMS J. Comput. 8(4), 344–354 (1996)
Méndez-Díaz, I., Zabala, P.: A branch-and-cut algorithm for graph coloring. Discrete Appl. Math. 154, 826–847 (2006)
Méndez-Díaz, I., Zabala, P.: A cutting plane algorithm for graph coloring. Discrete Appl. Math. 156, 159–179 (2008)
Morrison, D.R., Sewell, E.C., Jacobson, S.H.: Solving the pricing problem in a branch-and-price algorithm for graph coloring using zero-suppressed binary decision diagrams. INFORMS J. Comput. 28(1), 67–82 (2016)
Peemöller, J.: A correction to Brelaz’s modification of Brown’s coloring algorithm. Commun. ACM 26(8), 595–597 (1983)
Perez, G., Régin, J.-C.: Constructions and in-place operations for MDDs based constraints. In: Proceedings of CPAIOR, volume 9676 of LNCS, pp. 279–293. Springer, Berlin (2016)
Randall-Brown, J.: Chromatic scheduling and the chromatic number problem. Manage. Sci. 19(4), 456–463 (1972)
Römer, M., Cire, A.A., Rousseau, L.-M.: A local search framework for compiling relaxed decision diagrams. In: Proceedings of CPAIOR, volume 10848 of LNCS, pp. 512–520. Springer, Berlin (2018)
Segundo, P.S.: A new DSATUR-based algorithm for exact vertex coloring. Comput. Oper. Res. 39, 1724–1733 (2012)
Schrijver, A.: Combinatorial Optimization - Polyhedra and Efficiency. Springer, Berlin (2003)
Wegener, I.: Branching Programs and Binary Decision Diagrams: Theory and Applications. Society for Industrial and Applied Mathematics, SIAM monographs on discrete mathematics and applications (2000)
Wood, D.C.: A technique for coloring a graph applicable to large-scale timetabling problems. Comput. J. 12(4), 317–322 (1969)
Acknowledgements
This work was partially supported by Office of Naval Research Grant No. N00014-18-1-2129 and National Science Foundation Award #1918102.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
van Hoeve, WJ. Graph coloring with decision diagrams. Math. Program. 192, 631–674 (2022). https://doi.org/10.1007/s10107-021-01662-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10107-021-01662-x