DOC PREVIEW
PSU CSE 565 - HOMEWORK CSE 565

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Algorithm Design and Analysis October 28, 2008Pennsylvania State University CSE 565, Fall 2008Adam Smith Handout 12Homework 9 – Due Monday, November 3, 2008Please refer to the general information handout for the full homework policy and options.Reminders• Your solutions are due before the lecture. Late homework will not b e acc epted.• Collaboration is permitted, but you must write the solutions by yourself without a ssistance,and be ready to explain them orally to a me mber of the course staff if asked. You must alsoidentify your collaborators. Getting solutions from outside sources such as the Web or studentsnot enrolled in the class is st rictly forbidden.• To facilitate grading, please write down your solution to each problem on a separate sheet ofpaper. Make sure to include all identifying information and your collaborators on each sheet.Your solutions to different problems will be graded separately, possibly by different people, andreturned to you independently of each other.• For problems that require you to provide an algorithm, you must give a precise description ofthe algorithm, together with a proof of correctness and an analysis of its running time.You may use algorithms from class as subroutines. You may also use any facts that we provedin class or from the book.Exercises These should not be handed in, but the material they cove r may appear on exams:1. Chapter 7, exercises 1–15 (in particular: 1–4, 8, 12.2. Give a reduction from Weighted Interval Scheduling (Chapter 6) to the problem of finding thelongest path in a DAG.3. Give a reduction from the transactions matching problem of Chapter 4, Problem 16 to maximumbipartite matching.Problems to be handed inPage limits: The answer to each problem should fit in 2 pages (or one double-sided sheet) ofpaper. Longer answers will be penalized.1. KT, Chapter 7, Problem 5.2. KT, Chapter 7, Problem 7.3. We have seen two variants of bipartite “matching” problems so far: the stable marriage problem(Chapter 1), and the maximum bipartite matching (MBM) problem (Chapter 7.5). Your friendGreedy Gary thinks that the formalism of flows and cuts is overkill for understanding and solvingthe MBM problem. Instead, Gary suggests the following reduction from MBM to stable marriage:1Given a bipartite, unweighted graph G, with n nodes on the left and n nodes on the right, createan instance of the stable marriage problem (call it S) where men correspond to left nodes in G,and women correspond to right nodes in G. For convenience, let mube the node correspondingto (left) vertex u, and wvbe the woman corresponding to (right) vertex v; similarly, let umandvwdenote the vertices corresponding to m and w, respectively. The preference lists for S arecreated as follows: every man m rates acceptable matches (that is, women w such that (um, vw)is an edge in G) above non-acceptable matches (that is, women for which the corresp ondingnodes are not connected); ties are broken arbitrarily. Similarly, women rate men to whom theyare connected in G above men to whom they are not connecte d, breaking ties arbitrarily.Gary claims that if we find a stable matching π for the instance S, then we can obtain a maximummatching for G by taking all edges in G for which the corresponding people are paired up in thestable matching (i.e. add an edge e = (u, v) to the output if and only if muis paired with wvinπ).(a) Suppose that Gary’s claim is true. What is the running time of his new MBM algorithm?For which types of graphs is it better than the Ford-Fulkerson algorithm?(b) Give either a pro of of, or a counter-example to, Gary’s


View Full Document

PSU CSE 565 - HOMEWORK CSE 565

Download HOMEWORK CSE 565
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view HOMEWORK CSE 565 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view HOMEWORK CSE 565 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?