hw6.pdf - CSOR W4231.002 – Spring 2019 Homework 6 Out Monday Due 11:59pm Monday May 6 2019 For all algorithms you design you should always describe

# hw6.pdf - CSOR W4231.002 – Spring 2019 Homework 6 Out...

• 3

This preview shows page 1 - 2 out of 3 pages.

CSOR W4231.002 – Spring, 2019 Homework 6 Out: Monday, Apr 22, 2019 Due: 11:59pm, Monday, May 6, 2019 For all algorithms you design, you should always describe them clearly in English, give pseudocode, prove correctness and give the best upper bound that you can for the running time. If you give a reduction, you should (a) state the input instances to both problems, (b) clearly describe the reduction transformation and argue that it requires polynomial time, and (c) prove equivalence of the original and the derived instances. Collaboration is limited to discussion of ideas only. You should write up the solutions entirely on your own. You should list your collaborators on your write-up. If you do not type your solutions, be sure that your hand-writing is legible, your scan is high-quality and your name is clearly written on your homework. 1. (24 points) Recall problem 5 from hw5 on flow networks with supplies . Alternatively, we can introduce flow networks with demands : instead of node supplies , each node v V has an integer demand d v ; if d v < 0, then v is a source , while if d v > 0, it is a sink . A circulation with demands is a function f : E R + that satisfies capacity constraints (for each e E , 0 f ( e ) c e ), and demand constraints (for each v V , f in ( v ) - f out ( v ) = d v ). You can answer whether a circulation with demands exists using the same methodology you used in hw5. However, in many applications, on top of the node demands, the flow must also make use of certain edges. To capture such constraints, consider the following variant of a flow network with demands.

Subscribe to view the full document.

• Fall '11
• Berger

### 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

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes