Presentation is loading. Please wait.

Presentation is loading. Please wait.

Maximum flow problems II.

Similar presentations


Presentation on theme: "Maximum flow problems II."β€” Presentation transcript:

1 Maximum flow problems II.
MA252 Combinatorial Optimization

2 1 2 3 4 From 𝑠𝑑-paths to a flow 1 1 1 2 1 3 t 2 2 1 s 1 1 1 1

3 Conservation of flow 1 2 3 4 v t s value of flow net flow (excess)
𝑓 π‘₯ 𝑣 = π‘€βˆˆπ‘‰ π‘€π‘£βˆˆπΈ π‘₯ 𝑀𝑣 βˆ’ π‘€βˆˆπ‘‰ π‘£π‘€βˆˆπΈ π‘₯ 𝑣𝑀 incoming =1+2+1=4 outgoing = =4 incoming outgoing =1+2+1 βˆ’1βˆ’3=0 1 incoming =4 outgoing =0 1 𝑓 π‘₯ 𝑑 =4 1 2 3 v t 2 2 1 s 1 incoming =0 outgoing =4 1 value of flow 1 1 𝑓 π‘₯ 𝑠 =βˆ’4

4 Feasible flow to 𝑠𝑑-paths
1 2 3 4 Feasible flow to 𝑠𝑑-paths incoming >0 οƒž outgoing >0 ... value of flow >0 οƒž outgoing from 𝑠 >0 after finite # of steps we reach 𝑑 1 1 2 1 1 1 𝑓 π‘₯ 𝑑 =4 𝑓 π‘₯ 𝑑 =3 𝑓 π‘₯ 𝑑 =0 𝑓 π‘₯ 𝑑 =2 2 1 2 1 2 4 3 t s 2 2 value of flow =4 οƒž find 4 𝑠𝑑-paths together not exceeding capacities 1 1 1 1 𝑓 π‘₯ 𝑠 =0 𝑓 π‘₯ 𝑠 =βˆ’3 𝑓 π‘₯ 𝑠 =βˆ’4 𝑓 π‘₯ 𝑠 =βˆ’2 1 1 Question: what if we return to 𝑠?


Download ppt "Maximum flow problems II."

Similar presentations


Ads by Google