Genetic Algorithm Applied to the Graph Coloring Problem

In this paper we present a hybrid technique that applies a genetic algorithm followed by wisdom of artificial crowds approach to solving the graph-coloring problem. The genetic algorithm described here utilizes more than one parent selection and mutation methods depending on the state of fitness of its best solution. This results in shifting the solution to the global optimum more quickly than using a single parent selection or mutation method. The algorithm is tested against the standard DIMACS benchmark tests while limiting the number of usable colors to the known chromatic numbers. The proposed algorithm succeeded at solving the sample data set and even outperformed a recent approach in terms of the minimum number of colors needed to color some of the graphs. The Graph Coloring Problem (GCP) is a well-known NPcomplete problem. Graph coloring includes both vertex coloring and edge coloring. However, the term graph coloring usually refers to vertex coloring rather than edge coloring. Given a number of vertices, which form a connected graph, the objective is to color each vertex such that if two vertices are connected in the graph (i.e. adjacent) they will be colored with different colors. Moreover, the number of different colors that can be used to color the vertices is limited and a secondary objective is to find the minimum number of different colors needed to color a certain graph without violating the adjacency constraint. That number for a given graph (G) is known as the Chromatic Number (χ(G)) (Isabel Mendez Diaz and Paula Zabala 1999). If k = {1, 2, 3...} and P(G, k) is the number of possible solutions for coloring the graph G with k colors, then χ(G) = min(k: P(G, k) > 0) (1) Graph coloring problems are very interesting from the theoretical standpoint since they are a class of NPcomplete problems that also belong to Constraint Satisfaction Problems (CSPs). The practical applications of Graph Coloring Problems include but are not limited to: • Map coloring (B. H. Gwee, M. H. Lim and J. S. Ho 1993) • Scheduling (Daniel Marx and D Aniel Marx 2004) • Radio Frequency Assignment (W. K. Hale 1980; S. Singha, T. Bhattacharya and S. R. B. Chaudhuri 2008) • Register allocation (Wu Shengning and Li Sikun 2007) • Pattern Matching • Sudoku In this paper we demonstrate the use of genetic algorithms in solving the graph-coloring problem while strictly adhering to the usage of no more than the number of colors equal to the chromatic index to color the various test graphs.

[1]  Daniel Cosmin Porumbel,et al.  Heuristic algorithms and learning techniques: applications to the graph coloring problem , 2012, 4OR.

[2]  W. K. Hale Frequency assignment: Theory and applications , 1980, Proceedings of the IEEE.

[3]  Lixia Han,et al.  A Novel Bi-objective Genetic Algorithm for the Graph Coloring Problem , 2010, 2010 Second International Conference on Computer Modeling and Simulation.

[4]  R. Catrambone,et al.  Proceedings of the 32nd Annual Conference of the Cognitive Science Society , 2010 .

[5]  Roman V. Yampolskiy,et al.  Wisdom of artificial crowds algorithm for solving NP-hard problems , 2011, Int. J. Bio Inspired Comput..

[6]  Malek Mouhoub,et al.  An efficient hierarchical parallel genetic algorithm for graph coloring problem , 2011, GECCO '11.

[7]  Dániel Marx,et al.  RAPH COLORING PROBLEMS AND THEIR APPLICATIONS IN SCHEDULING , 2022 .

[8]  Bah-Hwee Gwee,et al.  Solving four-colouring map problem using genetic algorithm , 1993, Proceedings 1993 The First New Zealand International Two-Stream Conference on Artificial Neural Networks and Expert Systems.

[9]  Yen-Wei Chen,et al.  An evolutionary approach for graph coloring , 1999, IEEE SMC'99 Conference Proceedings. 1999 IEEE International Conference on Systems, Man, and Cybernetics (Cat. No.99CH37028).

[10]  Zbigniew Michalewicz,et al.  Parameter Control in Evolutionary Algorithms , 2007, Parameter Setting in Evolutionary Algorithms.

[11]  Katsumi Inoue,et al.  Distance based hybrid genetic algorithm: an application for the graph coloring problem , 1999, Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406).

[12]  M. Lee,et al.  Wisdom of the Crowds in Minimum Spanning Tree Problems , 2010 .

[13]  Henri Luchian,et al.  A New Genetic Graph Coloring Heuristic , 2002 .

[14]  Thomas Bäck,et al.  Evolutionary computation: comments on the history and current state , 1997, IEEE Trans. Evol. Comput..

[15]  Isabel M endez D az Paula Zabala A Generalization of the Graph Coloring Problem , 1999 .

[16]  Lalit M. Patnaik,et al.  Adaptive probabilities of crossover and mutation in genetic algorithms , 1994, IEEE Trans. Syst. Man Cybern..

[17]  Sikun Li,et al.  Extending Traditional Graph-Coloring Register Allocation Exploiting Meta-heuristics for Embedded Systems , 2007, Third International Conference on Natural Computation (ICNC 2007).

[18]  Celia A. Glass,et al.  Genetic Algorithm for Graph Coloring: Exploration of Galinier and Hao's Algorithm , 2003, J. Comb. Optim..

[19]  Roman V. Yampolskiy,et al.  Genetic algorithm and Wisdom of Artificial Crowds algorithm applied to Light up , 2011, 2011 16th International Conference on Computer Games (CGAMES).

[20]  Muriel Médard,et al.  A Genetic Algorithm to Minimize Chromatic Entropy , 2010, EvoCOP.

[21]  S. Singha,et al.  An Approach for Reducing Crosstalk in Restricted Channel Routing Using Graph Coloring Problem and Genetic Algorithm , 2008, 2008 International Conference on Computer and Electrical Engineering.