The goal of this project is to implement and compare different optimization algorithms for solving the graph coloring problem. The problem consists of coloring the nodes of a graph such that no two adjacent nodes have the same color, while using the minimum number of colors possible.
- Implement the graph coloring problem as a function that takes the adjacency matrix and adjacency list of a graph as input and returns the coloring of the nodes as a dictionary.
- Implement the different optimization algorithms as functions that take the graph coloring problem as input and return the optimal coloring of the nodes.
- Compare the results of the different algorithms by running them on a set of test graphs and measuring the number of colors used, the execution time, and the quality of the solutions.
The input for the program will be an adjacency matrix and adjacency list of a graph.
The output will be a dictionary containing the nodes as keys and their assigned colors as values.
The project will be useful for researchers and practitioners working in the field of graph theory and combinatorial optimization. It will provide a comprehensive comparison of different optimization algorithms for solving the graph coloring problem and can serve as a starting point for further research in this area.
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
📮 For more information contact me: [email protected]