Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 4 - 2 0 marks The Graph - Coloring problem is defined as follows: Given an undirected graph G = ( V , E

Problem 4-20 marks
The Graph-Coloring problem is defined as follows:
Given an undirected graph G=(V,E), where V is the set of vertices and E
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:
V={v1,v2,dots,vn} be the set of vertices.
E={e1,e2,dots,em} be the set of edges.
C={c1,c2,dots,ck} be the set of colors.
The graph coloring problem can be mathematically formulated as follows:
Minimize |C|
subject to the constraint:
AAei=(va,vb)inE,c(va)c(vb)
Now take the following problem:
Suppose we want to schedule exams for n courses. The obvious require-
ment is that no student should have two exams at the same time-slot. This
corresponds to scheduling exams for the courses that have common students in
different time-slots. We want to determine the minimum number of time-slots
needed to cater to everyone. Show that this is an NP-complete problem be
reduction via Graph Coloring.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions