Skip to main content

An Incremental Search Heuristic for Coloring Vertices of a Graph

  • Chapter
  • First Online:
Graphs and Combinatorial Optimization: from Theory to Applications

Part of the book series: AIRO Springer Series ((AIROSS,volume 5))

  • 611 Accesses

Abstract

Graph coloring is one of the fundamentally known NP-complete problem. Several heuristics have been developed to solve this problem, among which greedy coloring is the most naturally used one. In greedy coloring, vertices are traversed following an order and hence performance of it highly depends on finding a good order. In this paper, we propose an incremental search heuristic (ISH) which considers some ρ 1 random orders and for each of them it calls a selective search (SS) procedure with parameter ρ 2. Given an order, SS considers only those orders which produces equal or less number of distinct colors than a given order. We showed that those orders can be partitioned into disjoint subsets of equivalent orders. To make effective search, SS selects and evaluates only one order from such a subset. Analytically we have shown that ISH can solve the graph coloring instances on sparse graph in expected polynomial time. Through simulations, we have evaluated ISH on 86 challenging benchmarks and compare results with state of the art existing algorithms. We observed that ISH significantly outperforms existing algorithms specially for sparse graphs and also produces reasonably good results for others.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Karp, R.M.: Reducibility among combinatorial problems. In: Complexity of Computer Computations, pp. 85–103 (1972)

    Google Scholar 

  2. Zuckerman, D.: Linear degree extractors and the inapproximability of max clique and chromatic number. In: Proceedings of the Thirty-Eighth Annual ACM Symposium on Theory of Computing (STOC ’06), pp. 681–690 (2006)

    Google Scholar 

  3. Galinie, P., Hertz, A.: A survey of local search methods for graph coloring. Comput. Oper. Res. 33(9), 2547–2562 (2006)

    Article  MathSciNet  Google Scholar 

  4. Pardalos, P.M., Mavridou, T., Xue, J.: The graph coloring problem: a bibliographic survey. In: Handbook of Combinatorial Optimization, pp. 1077–1141. Springer, Berlin (1998)

    Google Scholar 

  5. Zhou, Y., Hao, J.K., Duval, B.: Reinforcement learning based local search for grouping problems: a case study on graph coloring. Expert Syst. Appl. 64, 412–422 (2016)

    Article  Google Scholar 

  6. Mahmoudi, S., Lotfi, S.: Modified cuckoo optimization algorithm (MCOA) to solve graph coloring problem. Appl. Soft Comput. 33, 48–64 (2015)

    Article  Google Scholar 

  7. Moalic, L., Gondran, A.: Variations on memetic algorithms for graph coloring problems. J. Heuristics 24(1), 1–24 (2018)

    Article  Google Scholar 

  8. Sun, W., Hao, J.-K., Lai, X., Wu, Q.: On feasible and infeasible search for equitable graph coloring. In: Proceedings of the Genetic and Evolutionary Computation Conference, pp. 369–376 (2017)

    Google Scholar 

  9. Hasenplaugh, W., Kaler, T., Schardl, T.B., Leiserson, C.E.: Ordering heuristics for parallel graph coloring. In: Proceedings of the 26th ACM Symposium on Parallelism in Algorithms and Architectures, pp. 166–177 (2014)

    Google Scholar 

  10. Welsh, D.J.A., Powell, M.B.: An upper bound for the chromatic number of a graph and its application to timetabling problems. Comput. J. 10(1), 85–86 (1967)

    Article  Google Scholar 

  11. Matula, D.W.: A min-max theorem for graphs with application to graph coloring. SIAM Rev. 10, 481–482 (1968)

    Google Scholar 

  12. Brélaz, D.: New methods to color the vertices of a graph. Commun. ACM 22(4), 251–256 (1979)

    Article  MathSciNet  Google Scholar 

  13. Kempe, A.B.: On the geographical problem of the four colours. Am. J. Math. 2(3), 193–200 (1879)

    Article  MathSciNet  Google Scholar 

  14. Chams, M., Hertz, A., De Werra, D.: Some experiments with simulated annealing for coloring graphs. Eur. J. Oper. Res. 32(2), 260–266 (1987)

    Article  MathSciNet  Google Scholar 

  15. Johnson, D.S., Aragon, C.R., McGeoch, L.A., Schevon, C.: Optimization by simulated annealing: an experimental evaluation; part II. Graph coloring and number partitioning. Oper. Res. 39(3), 378–406 (1991)

    MATH  Google Scholar 

  16. Holland, J.H.: Adaptation in natural and artificial systems. University of Michigan Press, Ann Arbor, MI (1992)

    Book  Google Scholar 

  17. Lü, Z., Hao, J.-K.: A memetic algorithm for graph coloring. Eur. J. Oper. Res. 203(1), 241–250 (2010)

    Article  MathSciNet  Google Scholar 

  18. Glover, F.: Tabu search and adaptive memory programming—advances, applications and challenges. In: Interfaces in Computer Science and Operations Research, pp. 1–75. Springer, Berlin (1997)

    Google Scholar 

  19. Hertz, A., de Werra, D.: Using tabu search techniques for graph coloring. Computing 39(4), 345–351 (1987)

    Article  MathSciNet  Google Scholar 

  20. Ghosal, S., Ghosh, S.C.: A randomized algorithm for joint power and channel allocation in 5g d2d communication. In: 2019 IEEE 18th International Symposium on Network Computing and Applications (NCA), pp. 1–5. IEEE, Piscataway (2019)

    Google Scholar 

  21. Garey, M.R., Johnson, D.S., Stockmeyer, L.: Some simplified np-complete problems. In: Proceedings of the Sixth Annual ACM Symposium on Theory of Computing, pp. 47–63. ACM, New York (1974)

    Google Scholar 

  22. Łuczak, T.: The chromatic number of random graphs. Combinatorica 11(1), 45–54 (1991)

    Article  MathSciNet  Google Scholar 

  23. Mizunoa, K., Nishihara, S.: Constructive generation of very hard 3-colorability instances. Discrete Appl. Math. 156(2), 218–229 (2008)

    Article  MathSciNet  Google Scholar 

  24. Zymolka, A., Koster, A., Wessaly, R.: Transparent optical network design with sparse wavelength conversion. In: Proceedings of the 7th IFIP Working Conference on Optical Network Design and Modelling, pp. 61–80 (2003)

    Google Scholar 

  25. Gomes, C., Shmoys, D.: Completing quasigroups or Latin squares: a structured graph coloring problem. In: Johnson, D.S., Mehrotra, A., Trick, M. (eds.) Proceedings of the Computational Symposium on Graph Coloring and Its Generalizations, pp. 22–39 (2002)

    Google Scholar 

  26. Hossain, S., Steihaug, T.: Graph coloring in the estimation of mathematical derivatives. In: Johnson, D.S., Mehrotra, A., Trick, M. (eds.) Proceedings of the Computational Symposium on Graph Coloring and Its Generalizations, pp. 9–16 (2002)

    Google Scholar 

  27. Mizuno, K., Nishihara, S.: Toward ordered generation of exceptionally hard instances for graph 3-colorability. In: Proceedings of the Computational Symposium on Graph Coloring and Its Generalizations, pp. 1–8 (2002)

    Google Scholar 

  28. Caramia, M., Dell’Olmo, P.: Coloring graphs by iterated local search traversing feasible and infeasible solutions. Discrete Appl. Math. 156(2), 201–217 (2008)

    Article  MathSciNet  Google Scholar 

  29. Lewandowski, G., Condon, A.: Experiments with parallel graph coloring heuristics and applications of graph coloring. DIMACS Ser. Discrete Math. Theoret. Comput. Sci. 26, 309–334 (1996)

    Article  Google Scholar 

  30. Mehrotra, A., Trick, M.A.: A column generation approach for graph coloring. INFORMS J. Comput. 8(4), 344–354 (1996)

    Article  Google Scholar 

  31. Culberson, J., Beacham, A., Papp, D.: Hiding our colors. In: Proceedings of the CP’95 Workshop on Studying and Solving Really Hard Problems, pp. 31–42 (1995)

    Google Scholar 

  32. Douiri, S.M., Elbernoussi, S.: Solving the graph coloring problem via hybrid genetic algorithms. J. King Saud Univ. Eng. Sci. 27(1), 114–118 (2015)

    Google Scholar 

  33. Jabrayilov, A., Mutzel, P.: New integer linear programming models for the vertex coloring problem. In: Latin American Symposium on Theoretical Informatics, pp. 640–652. Springer, Berlin (2018)

    Google Scholar 

  34. Artacho, F.J.A., Campoy, R., Elser, V.: An enhanced formulation for solving graph coloring problems with the Douglas–Rachford algorithm. J. Glob. Optim. 1–21 (2018). arXiv:1808.01022

    Google Scholar 

  35. Baiche, K., Meraihi, Y., Hina, M.D., Ramdane-Cherif, A., Mahseur, M.: Solving graph coloring problem using an enhanced binary dragonfly algorithm. Int. J. Swarm Intell. Res. 10(3), 23–45 (2019)

    Article  Google Scholar 

  36. Meraihi, Y., Ramdane-Cherif, A., Mahseur, M., Achelia, D.: A chaotic binary Salp swarm algorithm for solving the graph coloring problem. In: International Symposium on Modelling and Implementation of Complex Systems, pp. 106–118. Springer, Berlin (2018)

    Google Scholar 

  37. Mostafaie, T., Khiyabani, F.M., Navimipour, N.J.: A systematic study on meta-heuristic approaches for solving the graph coloring problem. Comput. Oper. Res. 120, 104850 (2019)

    Article  MathSciNet  Google Scholar 

  38. Zhou, Y., Hao, J.-K., Duval, B.: Reinforcement learning based local search for grouping problems: a case study on graph coloring. Expert Syst. Appl. 64, 412–422 (2016)

    Article  Google Scholar 

  39. Zhou, Y., Duval, B., Hao, J.-K.: Improving probability learning based local search for graph coloring. Appl. Soft Comput. 65, 542–553 (2018)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Ghosal, S., Ghosh, S.C. (2021). An Incremental Search Heuristic for Coloring Vertices of a Graph. In: Gentile, C., Stecca, G., Ventura, P. (eds) Graphs and Combinatorial Optimization: from Theory to Applications. AIRO Springer Series, vol 5. Springer, Cham. https://doi.org/10.1007/978-3-030-63072-0_4

Download citation

Publish with us

Policies and ethics