1 Chapter-4: Network Flow Modeling & Optimization Deep Medhi and Karthik Ramasamy August 2007 © D. Medhi & K. Ramasamy, 2007.

Slides:



Advertisements
Similar presentations
Outline LP formulation of minimal cost flow problem
Advertisements

Linear Programming, 1 Max c 1 *X 1 +…+ c n *X n = z s.t. a 11 *X 1 +…+ a 1n *X n  b 1 … a m1 *X 1 +…+ a mn *X n  b m X 1, X n  0 Standard form.
Price Of Anarchy: Routing
Network Flows. 2 Ardavan Asef-Vaziri June-2013Transportation Problem and Related Topics Table of Contents Chapter 6 (Network Optimization Problems) Minimum-Cost.
B Multi-Layer Network Design II Dr. Greg Bernstein Grotto Networking
Introduction to Algorithms
Interconnect throughput modeling. Important network performance metrics Throughput – Point to point (link bandwidth + end host software overheads) – Aggregate.
1 Chapter-2: Routing Algorithms: Shortest Path and Widest Path Deep Medhi and Karthik Ramasamy August © D. Medhi & K.
1 EL736 Communications Networks II: Design and Algorithms Class3: Network Design Modeling Yong Liu 09/19/2007.
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
L12. Network optimization problems D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2014.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley Asynchronous Distributed Algorithm Proof.
Lecture 3. Notations and examples D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
Package Transportation Scheduling Albert Lee Robert Z. Lee.
Flow Models and Optimal Routing. How can we evaluate the performance of a routing algorithm –quantify how well they do –use arrival rates at nodes and.
1 EL736 Communications Networks II: Design and Algorithms Class2: Network Design Problems -- Notation and Illustrations Yong Liu 09/12/2007.
L13. Shortest path routing D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2014.
Chapter 5 Network Models. Thomson/South-Western 2007 © South-Western/Cengage Learning © 2012 Practical Management Science, 4e Winston/Albright Introduction.
Lecture 15. IGP and MPLS D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
Some network flow problems in urban road networks Michael Zhang Civil and Environmental Engineering University of California Davis.
Interconnect Performance Modeling. Performance modeling Given an interconnect topology, routing, and other parameters, predict the interconnect performance.
Network Optimization Problems
Hub Location Problems Chapter 12
Minimax Open Shortest Path First (OSPF) Routing Algorithms in Networks Supporting the SMDS Service Frank Yeong-Sung Lin ( 林永松 ) Information Management.
DISTRIBUTION AND NETWORK MODELS (1/2)
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
EE 685 presentation Optimization Flow Control, I: Basic Algorithm and Convergence By Steven Low and David Lapsley.
Two Discrete Optimization Problems Problem: The Transportation Problem.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
Network Optimization Network optimization models: Special cases of linear programming models Important to identify problems that can be modeled as networks.
Lecture 5 – Integration of Network Flow Programming Models Topics Min-cost flow problem (general model) Mathematical formulation and problem characteristics.
Integer Programming (정수계획법)
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
1 EL736 Communications Networks II: Design and Algorithms Class7: Location and Topological Design Yong Liu 10/24/2007.
8/14/04J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 5 – Integration of Network Flow Programming.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
Integer Programming, Branch & Bound Method
1 Chapter 2 Notation and Definitions Data Structures Transformations.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
D Nagesh Kumar, IIScOptimization Methods: M8L1 1 Advanced Topics in Optimization Piecewise Linear Approximation of a Nonlinear Function.
Linear Programming Chapter 1 Introduction.
D. AriflerCMPE 548 Fall CMPE 548 Routing and Congestion Control.
1 EL736 Communications Networks II: Design and Algorithms Class4: Network Design Modeling (II) Yong Liu 10/03/2007.
Wavelength-Routed Optical Networks: Linear Formulation, Resource Budgeting Tradeoffs, and a Reconfiguration Study Dhritiman Banergee and Biswanath Mukherjee,
1 Chapter 6 Reformulation-Linearization Technique and Applications.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
L11. Link-path formulation
St. Edward’s University
Constraint-Based Routing
The minimum cost flow problem
URBAN TRANSPORTATION NERWORKS
ENGM 535 Optimization Networks
Chapter 1. Introduction Mathematical Programming (Optimization) Problem: min/max
Lecture 5 – Integration of Network Flow Programming Models
Frank Yeong-Sung Lin (林永松) Information Management Department
Lecture 5 – Integration of Network Flow Programming Models
Integer Programming (정수계획법)
MATS Quantitative Methods Dr Huw Owens
Introduction Basic formulations Applications
TRLabs & University of Alberta © Wayne D. Grover 2002, 2003, 2004
Chapter 5 Transportation, Assignment, and Transshipment Problems
Frank Yeong-Sung Lin (林永松) Information Management Department
L13. Capacitated and uncapacitated network design problems
Lecture 12 Network Models.
Presentation transcript:

1 Chapter-4: Network Flow Modeling & Optimization Deep Medhi and Karthik Ramasamy August © D. Medhi & K. Ramasamy, 2007

2 Terminologies Traffic volume/ demand volume –Different units for different purpose Mbps, Gbps : data rate (both data networks and transport networks) Erlang (telephone calls) First to discuss in terms of pure numbers; later we’ll use how the above units are used Demand pair, or node pair: between two points(nodes) –1:2, 2:3 Link: connects two points (nodes) directly –Bidrectional (1-2) or unidirectional (1->2) Flow: aggregation of traffic: –Link flow (for different pairs of demand) Capacitated Network: links have given capacity

3 A three-node illustration

4 Single-Commodity flow Consider just one demand 1:2 with volume h [link capacity c on all links]

5 Consider unit cost of paths Now we optimize cost of routing Minimum cost routing Model (4.2.3)

6 Solution For different scenarios:  12 = 1,  132 = 2 (first path is cheaper than second part) Optimal: x 12 * = h, x 132 *= 0 if 0 ≤ h ≤ 10 x 12 *= 10, x 132 * = h - 10, if 10 ≤ h ≤ 20  12 = 2,  132 = 1 (second path is cheaper than first part) Optimal: x 12 * = 0, x 132 *= h if 0 ≤ h ≤ 10 x 12 *= h-10, x 132 * = 10, if 10 ≤ h ≤ 20

7 Another objective: load balancing Minimize maximum load on a link (4.2.6):

8 In this case, it’s optimal when the load (utilization) is equal Thus, in this case, split equally –[Note: this work only in the case of two segments]

9 Another objective: minimize delay (4.2.9) Objective is non-linear; solution (after some math) [first, reduce to one variable. Then differentiate with respect to the other Variable and set to zero. Finally, bounds are applied because the solution Must lie in the allowed region.]

10 Observations about solutions for different objectives Figure 4.3

11 Summary from Figure 4.3 For different objectives, the solution quality can be quite different However, at extreme ends (very low traffic or very high traffic compared to capacity), the solutions are quite similar

12 Now consider multiple demands: Multi-commodity flow 3-node network: all node pairs have traffic –Each pair has two paths

13 Path flow for each node pair: Link flow:

14 Minimum cost routing optimization Model (4.3.4)

15 Solving using CPLEX

16 CPLEX output

17 What happens if the variables take only integer values (integer linear programming) (4.3.5)

18 Using CPLEX for integer linear programming (ILP) Solution: Declare appropriate bound (default is 0 <= x <= 1) Declare Integer variables

19 Load balancing Minimize maximum Link utilization (4.3.8) Objective is piece-wise non-linear Link flow

20 Transform objective to a linear equivalent case: Set Now,

21 Transform (4.3.8) to the linear case: (4.3.12) redundant

22 Solution: load balancing

23 Average Delay case

24 Piece-wise linear approximation Approximate as:

25 Model (4.3.14) is approximated as Model (4.3.19)

26 General Case: New notation Notation: renumbering (first with 3-node) Now, (4.3.4) becomes following model (4.4.3):

27 Look at the relation: Link to Path Use ‘delta’ notation: Path 1 for demand pair 1 uses link 1 -> 1 Path 1 for demand pair 1 uses link 2 -> 0

28 Notations:

29 Generic demand flow for K demands: Link flow for each link (l=1,2…,L): Capacity constraint:

30 Minimum Cost Routing: General Case Link-Path formulation (4.4.7):

31 Some numbers Link-Path formulation Means: need to generate ‘possible’ paths –Use k-shortest path algorithm (or other means)

32 An important result Result 4.1 –If (4.4.7) is feasible, then at most K+L flow variables are required to be nonzero at optimality Illustration: N = 50, L = 200, K = 1225 Of total 12,250 flow variables, at most K+L = 1,425 would need to be non-zero at optimality Since ther are 1,225 demand pair, each pair must have at least one path that’s non-zero, which means at most 200 demand pairs would have more than one non-zero path at optimality

33 Load balancing: general case (4.4.10):

34 Minimum cost routing: non- splittable flow Declare each path (u kp ) as 0/1 option; thus, only one path to be chosen for each pair Optimization formulation: integer multi- commodity flow problem (4.5.3)

35 So far, we have done link-path based formulation Node-arc based formulation is possible: to show for the load balancing problem –Need to consider the flow on a link for a particular demand –Need to consider link-path indicator in terms of node incidence

36 a vl := 1 if link l originates at node v; 0, otherwise b vl := 1 if link l terminates at node v; 0, otherwise

37 Load balancing in node-link formulation (4.4.12)

38 Summary Multi-commodity network flow –Started with a single-commodity example for a 3- node network Three different objectives considered –Linearization of non-linear delay objective discussed Solutions compared –Multi-commodity example for a 3-node network –The general case: link-path formulation and node-link formulation Linear programming solver: CPLEX –How to handle integer linear programming problems