Question: Problem 4 - 2 0 marks The Graph - Coloring problem is defined as follows: Given an undirected graph G = ( V , E
Problem marks
The GraphColoring problem is defined as follows:
Given an undirected graph where is the set of vertices and
is the set of edges, the graph coloring problem is to assign colors to the vertices
in such a way that no two adjacent vertices have the same color.
Let:
dots, be the set of vertices.
dots, be the set of edges.
dots, be the set of colors.
The graph coloring problem can be mathematically formulated as follows:
Minimize
subject to the constraint:
Now take the following problem:
Suppose we want to schedule exams for courses. The obvious require
ment is that no student should have two exams at the same timeslot. This
corresponds to scheduling exams for the courses that have common students in
different timeslots. We want to determine the minimum number of timeslots
needed to cater to everyone. Show that this is an NPcomplete problem be
reduction via Graph Coloring.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
