{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw8 - CSCI 323 FALL 09 HOMEWORK 8 OUT NOV 16(MON DUE NOV...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSCI 323 FALL 09 HOMEWORK 8 OUT: NOV 16 (MON), DUE: NOV 23 (MON) Instructions: Submit your written solutions to questions 1, 2 and 3 at the beginning of class on Nov 23 (Mon), 5 pm. The Python file maxsums.py is due due on Nov 24 (Tue) at 11.59 pm (no late submissions accepted after that). 1. (Max-Flow Example) Textbook Chapter 7, Exercise 3. 2. (Scheduling Cooking Nights) Textbook Chapter 7, Exercise 15. Simply state what the vertices and edges are in the graph G . 3. (Hospital Assignment) Textbook Chapter 7, Exercise 9 We can solve this problem by solving the max-flow problem on a flow network G constructed as follows: There are two distinguished nodes s and t , along with n + k additional nodes: H 1 , . . . , H k corresponding to the k hospitals and P 1 , . . . , P n corresponding to the n injured people. (a) Specify the edges in the flow network along with their capacities. (b) Suppose the maximum flow on the network G has value v . What should the algorithm return?
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern