Solving maximum flows on distribution networks:

Slides:



Advertisements
Similar presentations
Maximum Flow and Minimum Cut Problems In this handout: Duality theory Upper bounds for maximum flow value Minimum Cut Problem Relationship between Maximum.
Advertisements

Max Flow Problem Given network N=(V,A), two nodes s,t of V, and capacities on the arcs: uij is the capacity on arc (i,j). Find non-negative flow fij for.
1Transportation ModelsLesson 4 LECTURE FOUR Transportation Models.
Network Optimization Models: Maximum Flow Problems
1 Augmenting Path Algorithm s t G: Flow value = 0 0 flow capacity.
1 Chapter 7 Network Flow Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Lectures on Network Flows
1 COMMONWEALTH OF AUSTRALIA Copyright Regulations 1969 WARNING This material has been reproduced and communicated to you by or on behalf.
1 Augmenting Path Algorithm s t G: Flow value = 0 0 flow capacity.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Maximum Flows Lecture 4: Jan 19. Network transmission Given a directed graph G A source node s A sink node t Goal: To send as much information from s.
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Modeling and Evaluation with Graph Mohammad Khalily Dermany Islamic Azad University, Khomein branch.
Maximization of Network Survivability against Intelligent and Malicious Attacks (Cont’d) Presented by Erion Lin.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CS 4407, Algorithms University College Cork, Gregory M. Provan Network Optimization Models: Maximum Flow Problems In this handout: The problem statement.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
& 6.855J & ESD.78J Algorithm Visualization The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem.
The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem Thanks to Jim Orlin & MIT OCW.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
Network Flows Chun-Ta, Yu Graduate Institute Information Management Dept. National Taiwan University.
Chapter 8 Network Models to accompany Operations Research: Applications and Algorithms 4th edition by Wayne L. Winston Copyright (c) 2004 Brooks/Cole,
and 6.855J March 6, 2003 Maximum Flows 2. 2 Network Reliability u Communication Network u What is the maximum number of arc disjoint paths from.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Chapter 5: Transportation, Assignment and Network Models © 2007 Pearson Education.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
EMIS 8374 The Ford-Fulkerson Algorithm (aka the labeling algorithm) Updated 4 March 2008.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 14, 2014.
ENGM 631 Maximum Flow Solutions. Maximum Flow Models (Flow, Capacity) (0,3) (2,2) (5,7) (0,8) (3,6) (6,8) (3,3) (4,4) (4,10)
1 Maximum Flows CONTENTS Introduction to Maximum Flows (Section 6.1) Introduction to Minimum Cuts (Section 6.1) Applications of Maximum Flows (Section.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
St. Edward’s University
Max-flow, Min-cut Network flow.
Lectures on Network Flows
CSCI 3160 Design and Analysis of Algorithms Tutorial 8
James B. Orlin Presented by Tal Kaminker
Maximum Flow Solutions
Max-flow, Min-cut Network flow.
Network Flow 2016/04/12.
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Transportation, Assignment and Network Models
Example 2 4 m 8 m 5m 12 m x y.
Introduction Basic formulations Applications
2 Understanding Variables and Solving Equations.
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
Augmenting Path Algorithm
Complexity of Ford-Fulkerson
Uncapacitated Minimum Cost Problem in a Distribution Network
Network Flow CSE 373 Data Structures.
EE5900 Advanced Embedded System For Smart Infrastructure
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
Reading before Lecture 13
The Shortest Augmenting Path Algorithm for the Maximum Flow Problem
The Ford-Fulkerson Algorithm
Augmenting Path Algorithm
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the.
Introduction to Maximum Flows
and 6.855J The Goldberg-Tarjan Preflow Push Algorithm for the Maximum Flow Problem Obtain a network, and use the same network to illustrate the.
National Cheng Kung University
Maximum Flow Neil Tang 4/8/2008
Shortest Path Solutions
Introduction to Minimum Cost Flows
Introduction to Maximum Flows
Not Always Feasible 2 (3,5) 1 s (0,2) 3 (, u) t.
Network Optimization Models: Maximum Flow Problems
Network Flow Problems – Maximal Flow Problems
Maximum Flow Problems in 2005.
EMIS 8374 Max-Flow in Undirected Networks Updated 18 March 2008
EMIS The Maximum Flow Problem: Flows and Cuts Updated 6 March 2008
The Residual Network Given a flow x, the residual capacity rij of arc (i, j) is the maximum additional flow that can be sent from i to j using arcs (i,
Presentation transcript:

Solving maximum flows on distribution networks: Network compaction and algorithm I-Lin Wang Ju-Chun Lin National Cheng Kung University Taiwan

Outline Introduction Compacting distribution networks Modified augmenting path algorithm Conclusion

Introduction Supply chain management ”At most how many units of products can I produce?“ A product is made of various materials. Materials may be purchased from different vendors by different channels

Supply chain example A (A,30) (A,10) (B,40) (B,10) (B,50) (C,20) V1 (B,∞) [2] [1] [2] [1] [0.2] [0.8] [0.2] [0.8] (A,∞) (A,∞) M2 B C (C,∞) A: 10g /unit B: 1g /unit C: 8g /unit V2 M1 (B,∞) (A,∞) A (C,∞) [0.2] [0.8] V3 (material, capacity) [material composition quantities] B C

Distribution max flow problem Fang and Qi (2003) Distillation node (D-node) One incoming arc At least two outgoing arcs Distillation factor (kij) Flow distillation constraint l 1 xli X i D-node 2 [kij] [0.4] [0.6] xij 0.6X 0.4X j … 3 4

Distribution max flow problem Fang and Qi (2003) 1 3 4 10 15 20 2 [0.6] [0.4] S=1 T=4 uij

Compacting networks Four rules to compact the original network into an smaller one Simplify network problems Compacting rules may induce each other. A compacted network has some properties

Compacting rules Compacting D-groups Retain the top D-node with incoming arc only Add new arcs from top D-node to each O-node Reset kij and uij for new arcs Reduce one node & one arc at least Complexity: O(m) Rule1 1 1 10 10 2 2 [0.5] [0.5] [0.5] [0.25] 8 2 2 2 [0.25] 3 4 3 [0.5] [0.5] 4 10 2 uij 6 6 5 5

Compacting rules Compacting single-transshipment O-nodes Remove the single-transshipment O-node Merge these two arcs into one single arc Reset uij = min { two arcs’ capacities } Reduce one node and one arc Complexity: O(n) Rule2 1 1 uij 10 10 2 2 [0.2] [0.8] [0.2] [0.8] 2 8 2 8 4 3 4 3 4 4 4 5 5

Compacting rules Compacting parallel arcs Merge parallel arcs into one arc Reset kij and uij Reduce at least one arc Complexity: O(m) Rule3 5 5 10 10 6 6 1 1 [0.2] [0.5] [0.2] [0.5] [0.5] 1 5 2.5 1 5 1 5 1 5 [0.3] [0.3] 4 uij 3 3 3 3 2 3 2 3 7 8 7 8

Compacting rules Compacting mismatched capacities Normalize the capacity for each arc adjacent to a D-node Bottleneck= min {normalized capacity } Reset all capacities Complexity: O(m) Rule4 1 1 uij 15 20 8 10 2 8 2 2 [0.2] [0.8] [0.2] [0.8] 3 4 3 4

Inducing relation D-group 1 1 3 2 5 10 6 2.5 1 1 2 10 5 2.5 4 10 [0.5] [0.25] 2.5 1 1 2 10 5 2.5 [0.5] [0.25] 4 10 Mismatched arcs 10 2 2 [0.5] [0.5] [0.5] [0.5] 8 5 2 5 Parallel arcs 3 3 4 [0.5] [0.5] [0.5] [0.5] 10 2 10 2 uij 6 4 5 5

Inducing relation Single transshipment O-node 1 1 2 6 10 5 7 4 10 [0.5] 4 10 D-group Mismatched arcs 2 [0.5] [0.5] 1 1 3 5 uij 5 5 5 5 Parallel arcs 3 4 10 2 5 3 3 [0.5] [0.5] 5 5 7 6

Inducing relation Parallel arcs 1 1 3 2 8 5 4 7 Single transshipment O-node 3 5 5 2 3 uij 7 4

Inducing relation Mismatched D-groups arcs Single Parallel Transshipment O-nodes Parallel arcs

Compacting algorithm Complexity: O(m2) While (G is not in compact form) Case 1: detect D-group, then apply rule 1 Case 2: detect single transshipment O-node, then apply rule 2 Case 3: detect parallel arcs, then apply rule 3 End while Case 4: detect mismatch capacities, then apply rule 4 Complexity: O(m2)

Properties for a compacted network Every node is adjacent to at least three arcs One incoming arc One outgoing arc D-node will not be adjacent to any other D-node 1 3 2 4 1 3 2 4 6 5 7

Modified augmenting path algorithm For distribution max-flow problem The approach requires manual detection We reorganize procedures in the approach We propose an implementation

Procedures Construct an augmenting subgraph 1 Directed path from a source to a sink Identify a directed path from a visited D-node iteratively Until all outgoing-arcs from each visited D-node have been included in an augmenting subgraph 1 3 [0.6] [0.4] 2 4 [0.5] 6 5 7 S=1 T=5

Procedures Identify components in an augmenting subgraph 2 O-nodes with at least three arcs Boundary-nodes Arc flows in the same component can be expressed by a function of a single variable. 1 3 [0.6] [0.4] 2 4 [0.5] 6 5 7 1 a 0.6a 0.4a b 2b 2 6 [0.6] [0.4] [0.5] [0.5] 7 3 4 S=1 T=5 5

Procedures Solve a system of linear equations 3 Flow balance constraint System of linear equations Unify the variables of different components. Replace all variables with a single variable 1 0.2a 0.4a b 2b a 2 6 [0.6] [0.4] [0.5] [0.5] 0.4a 0.6a 7 3 4 0.6a S=1 T=5 5 0.2 a = b 0.4 a = b + b

Procedures Determine the flow to be sent 4 Normalize the capacity for each arc Bottleneck = min normalized capacity Arc flow 1 0.4a 10 20 6 4 12 uij a 2 6 [0.6] [0.4] [0.5] [0.5] 0.2a 0.4a 0.6a 0.2a 7 3 4 0.2a 0.6a S=1 T=5 5

Procedures Update the residual network 5 Repeat the above procedure 1-5 Until there is no more augmenting subgraph 5

Conclusion Compact distribution networks Four compacting rules Inducing relationship. An O(m2) compacting algorithm Properties for a compacted network Modified augmenting path algorithm Reorganize procedures Propose an implementation

Thank you for listening