15
Network Optimization Flow Decomposition

Network Optimization

  • Upload
    damisi

  • View
    44

  • Download
    2

Embed Size (px)

DESCRIPTION

Network Optimization. Flow Decomposition. The initial flow. 7. 2. 4. 4. 3. 3. 8. 2. -2. 1. 6. 4. 4. 2. 3. 5. 5. 9. A deficit node (more flow leaving than entering). An excess node (more flow entering than leaving). A balanced node (flow in = flow out). - PowerPoint PPT Presentation

Citation preview

Page 1: Network Optimization

Network Optimization

Flow Decomposition

Page 2: Network Optimization

2

The initial flow

1

2 4

53

6

2

3

47

3

4 48

59

A deficit node (more flow leaving than entering).An excess node (more flow entering than leaving)

A balanced node (flow in = flow out)

2 -2

Page 3: Network Optimization

3

Find a Path or Cycle W

1

2 4

53

6

2

3

47

3

4 48

59

2 -21

Carry out a depth first search. Stop when a node with excess is reached or when there is a cycle.

Select a node with deficit if there is one.

Determine the capacity of the walk W.

The capacity of 1-2-4-5-3-1 is 2.

2 4

53

1

Page 4: Network Optimization

4

Updates

1

2 4

53

6

2

3

47

3

4 48

59

2 -21

Subtract the flow in W from the current flow.

Add the flow in W to the decomposition.

0

25

6

7

cycle flows path flows

2 units around 1-2-4-5-3-1

Page 5: Network Optimization

5

Find a path or cycle W

1

2 4

53

63

25

3

4 46

57

2 -21Carry out a dfs.

Select a node with deficit if there is one.

Determine the capacity of W.

2 4

53

The capacity of 2-4-5-3-2 is 3.

Page 6: Network Optimization

6

Updates

Add the cycle flow to the decomposition

update the current flow

cycle flows path flows

2 units around 1-2-4-5-3-13 units around 2-4-5-3-2

1 63

25

3

4 46

57

-212 0

2

3

4

2 4

53

Page 7: Network Optimization

7

Find a path or cycle using dfs

1 6

22

3

4 43

54

-212

2 4

53

Carry out a dfs.

Select a node with deficit if there is one.

Determine the capacity of W.

6

22

3

-212

2 4

capacity of a path = min {arc capacity, excess, deficit} = 2

Page 8: Network Optimization

8

Updates

22

3

4 43

54

-22

53

Add the path flow to the decomposition

update the current flow

cycle flows path flows

2 units around 1-2-4-5-3-13 units around 2-4-5-3-2

2 units in 1-2-4-6

00

1

00 1 6

2 4

1 6

Page 9: Network Optimization

9

Find a path or cycle using dfs

1

4 43

5453

1 6

2 4

1 6

Carry out a dfs.

Select a node with deficit if there is one. Otherwise, select any node with flow leaving.

Determine the capacity of W.

3

5

4

6

3

The capacity is 1

Page 10: Network Optimization

10

Updates

1

4 43

5453

1 6

2 4

1 6

Add the cycle flow to the decomposition

update the current flow

2 units around 1-2-4-5-3-13 units around 2-4-5-3-2

2 units in 1-2-4-6

1 unit around 3-4-6-5-3

0

3

43

cycle flows path flows

Page 11: Network Optimization

11

Find a path or cycle using dfs

3 43

4353

1 6

2 4

1 6

Carry out a dfs.

Select a node with deficit if there is one. Otherwise, select any node with flow leaving.

Determine the capacity of W.

3

The capacity of 3-4-5-3 is 3

Page 12: Network Optimization

12

Updates

3 43

4353

1 6

2 4

1 6

Add the cycle flow to the decomposition

update the current flow

2 units around 1-2-4-5-3-13 units around 2-4-5-3-2

2 units in 1-2-4-61 unit around 3-4-6-5-33 units around 3-4-5-3

cycle flows path flows

Page 13: Network Optimization

13

Find a path or cycle using dfs

4

453

1 6

2 4

1 6

Carry out a dfs.

Select a node with deficit if there is one. Otherwise, select any node with flow leaving.

Determine the capacity of W.

5

Page 14: Network Optimization

14

Updates and the final flow decomposition

53

1 6

2 4

1 64

4

2 units around 1-2-4-5-3-13 units around 2-4-5-3-2 2 units in 1-2-4-61 unit around 3-4-6-5-33 units around 3-4-5-3

Add the cycle flow to the decomposition

update the current flow

4 units around 5-6-5

cycle flows path flows

Page 15: Network Optimization

MITOpenCourseWarehttp://ocw.mit.edu

15.082J / 6.855J / ESD.78J Network OptimizationFall 2010

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.