flowdecomposition - 15.082 and 6.855J Flow Decomposition...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
15.082 and 6.855J Flow Decomposition
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 begin Initialize while y ≠∅ do begin Select(s, y) Search(s, y) if a cycle C is found begin let = Capacity(C, y) Add Flow( , C) to cycle flows Subtract Flow( , C) from y. end if a path P is found begin let = Capacity(P, y) Add Flow( , P) to path flows Subtract Flow( , P) from y. end end then do then do
Background image of page 2
3 The initial flow 1 2 4 5 3 6 2 3 4 7 3 4 4 8 5 9 2 0 0 0 0 A supply node A demand node A balanced node The flow x -
Background image of page 3

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

View Full DocumentRight Arrow Icon
Select a supply node 4 Find a Path or Cycle 1 2 4 5 3 6 2 3 4 7 3 4 4 8 5 9 2 -2 0 0 1 Carry out a depth first search until a cycle C or a path P is found Determine the capacity The capacity is 2.
Background image of page 4
2 4 7 8 9 5 Update the decomposition 1 2 4 5 3 6 3 3 4 4 5 2 -2 0 0 Add the cycle flow to the decomposition 1 update the current flow cycle flows path flows 2 units around 1-2-4-5-3-1 2 5 6 7 0
Background image of page 5

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

View Full DocumentRight Arrow Icon
6 Find the next path or cycle 1 2 4 5 3 6 3 3 4 4 5 2 -2 0 0 Start at a supply node and find the next cycle or path 1 cycle flows path flows 2 units around 1-2-4-5-3-1 2 5 6 7
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/15/2010 for the course IE 505 taught by Professor Yok during the Spring '10 term at Galatasaray Üniversitesi.

Page1 / 14

flowdecomposition - 15.082 and 6.855J Flow Decomposition...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online