assignment 6 Sol

# assignment 6 Sol - CS 331 Algorithms and Complexity(Spring...

This preview shows pages 1–3. Sign up to view the full content.

CS 331: Algorithms and Complexity (Spring 2016) Unique numbers: 51035, 51040, 51055, 51060 Assignment 6 Due on Wednesday, March 30, by 11.59pm Honor Code As a student of The University of Texas at Austin, I shall abide by the core values of the University and uphold academic integrity . Student Judicial Services O ce of the Dean of Students Division of Student A airs We are giving you these solutions as review material to help you study for the rest of the course. Please do not share them with future students of CS 331 or post them on external sites.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Assignment 6 Problem 1 Problem 1 (10 points) Let G = ( V, E ) be a flow network, with a source s , a sink t , and a positive integer capacity c e on every edge e . State whether each of the following is True or False. If True, you have to justify your answer. If False, you have to provide a counter example and show your work. 1. Let Q V , such that Q does not contain either of s or t . Then, f out ( Q ) - f in ( Q ) = 0. Sol. This is true. Conservation condition. For the nodes in Q, what flows in, flows out. 2. If f is a maximum s-t flow in G , then f saturates every edge out of s with flow (i.e., for all edges e out of s , we have f ( e ) = c e ).
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern