CMSC 651 Homework 4: Fall 2006 - Prof. William Gasarch, Assignments of Computer Science

A university-level computer science homework assignment from the course cmsc 651, due in november 2006. The assignment covers topics such as processor scheduling, graph theory, and matrix multiplication. Students are required to define the 3-processor scheduling problem, find an example of a connected bipartite graph with a larger maximum matching than maximal matching, and show how to multiply two n x n matrices over z4 in o(n^3 / log n) steps.

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-o81
koofers-user-o81 🇺🇸

3

(2)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Fall 2006 CMSC 651: Homework 4 Due: Due Nov 1
(This is a WRITTEN HW)
1. (25 points)
(a) Define the 3-processor scheduling problem in a way analogous to the 2-processor schedul-
ing problem
(b) Define a kind of matching problem such that an optimal solution to the 3-processor
scheduling problem yields a maximum matching. (HINT: think about defining and using
matchings in hypergraphs.)
2. (25 points) For an infinite number of ngive an example of a connected bipartite graph on
Θ(n) vertices such that here there exists a maximal matching Mand a maximum matching
Msuch that |M| 2|M|.
3. (25 points) Show how to multiply two n×nmatrices over Z4in O(n3/log n) steps in a way
similar to the method showed in class for Z2.
4. (25 points) Let Pbe an instance of the 2-proc schedling problem and let Gbe the compatability
graph. We showed that (1) a solution to Pyields a matching in G, and (2) a matching in G
yields a solution in P. Show that (1) an optimal solution to Pyields a maximum matching
in G, and (2) a maximum matching in Gyields an optimal solution in P.
1

Partial preview of the text

Download CMSC 651 Homework 4: Fall 2006 - Prof. William Gasarch and more Assignments Computer Science in PDF only on Docsity!

Fall 2006 CMSC 651: Homework 4 Due: Due Nov 1

(This is a WRITTEN HW)

  1. (25 points)

(a) Define the 3-processor scheduling problem in a way analogous to the 2-processor schedul- ing problem (b) Define a kind of matching problem such that an optimal solution to the 3-processor scheduling problem yields a maximum matching. (HINT: think about defining and using matchings in hypergraphs.)

  1. (25 points) For an infinite number of n give an example of a connected bipartite graph on Θ(n) vertices such that here there exists a maximal matching M and a maximum matching M ∗^ such that |M ∗| ≥ 2 |M |.
  2. (25 points) Show how to multiply two n × n matrices over Z 4 in O(n^3 / log n) steps in a way similar to the method showed in class for Z 2.
  3. (25 points) Let P be an instance of the 2-proc schedling problem and let G be the compatability graph. We showed that (1) a solution to P yields a matching in G, and (2) a matching in G yields a solution in P. Show that (1) an optimal solution to P yields a maximum matching in G, and (2) a maximum matching in G yields an optimal solution in P.