Professional Documents
Culture Documents
Graph Coloring
Graph Coloring
GRAPH COLORING
PRESENTED BY:
VIJAY KUMAR YADAV (2K21/CO/516)
VIJAY PAL (2K21/CO/517)
INTRODUCTION
Next is ME (Maine),
which can also be colored blue
Next is MA (Massachusetts)
Since MA is connected by an edge to a blue vertex,
it can’t be blue
• Exam scheduling
• Sudoku solver
Exam Scheduling
Let’s suppose algebra, physics, statistics and calculus are four courses
of study in our college. And let’s say that following pairs have
common students :
Look at the above graph. It solves our problem. We can conduct exam
of courses on same day if they have same color.
Our solution:
DAY 1: Algebra and Physics
DAY 2: Statistics and Calculus
This solves our problem of scheduling exams so that all students can
take exams without worrying about missing one.
Sudoku Solver
Sudoku Graph is a graph with 81 vertices (or nodes) . Each cell in the
Sudoku can be seen as a node of the graph.
Each node (or cell) has an edge to every other node (cell) in its
respective column, row, and 3 x 3 grid.
Graph will look like this :
This is a simplified image. As there are a lot of edges that are hidden. Each vertex has an edge
from it to every vertex in it’s column and row, but in this image, all of these edges are lying on
top of each other.
https://www.codeproject.com/Articles/801268/A-Sudoku-Solver-
using-Graph-Coloring
https://chat.openai.com/c/7fbc01a4-fa7e-462a-8a1c-f90633ef24b9
https://mathworld.wolfram.com/EdgeColoring.html