B Capacitated Design: Part II Dr. Greg Bernstein Grotto Networking www.grotto-networking.com.

Slides:



Advertisements
Similar presentations
Adders Used to perform addition, subtraction, multiplication, and division (sometimes) Half-adder adds rightmost (least significant) bit Full-adder.
Advertisements

Multicriteria Decision-Making Models
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
and 6.855J Cycle Canceling Algorithm. 2 A minimum cost flow problem , $4 20, $1 20, $2 25, $2 25, $5 20, $6 30, $
Writing Pseudocode And Making a Flow Chart A Number Guessing Game
Scalable Routing In Delay Tolerant Networks
M5N1. Students will further develop their understanding of whole numbers. A. Classify the set of counting numbers into subsets with distinguishing characteristics.
Multipath Routing for Video Delivery over Bandwidth-Limited Networks S.-H. Gary Chan Jiancong Chen Department of Computer Science Hong Kong University.
1 Outline relationship among topics secrets LP with upper bounds by Simplex method basic feasible solution (BFS) by Simplex method for bounded variables.
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
Order of Operations Lesson
1 Column Generation. 2 Outline trim loss problem different formulations column generation the trim loss problem master problem and subproblem in column.
1 Chapter 10 Multicriteria Decision-Marking Models.
PP Test Review Sections 6-1 to 6-6
Shadow Prices vs. Vickrey Prices in Multipath Routing Parthasarathy Ramanujam, Zongpeng Li and Lisa Higham University of Calgary Presented by Ajay Gopinathan.
An Application of Linear Programming Lesson 12 The Transportation Model.
Chapter 10: Virtual Memory
Mobile IP: Multicast Service Reference: Multicast routing protocol in mobile networks; Hee- Sook Shin; Young-Joo Suh;, Proc. IEEE International Conference.
COMP 482: Design and Analysis of Algorithms
1 COPYRIGHT © 2011 ALCATEL-LUCENT. ALL RIGHTS RESERVED. On the Capacity of Wireless CSMA/CA Multihop Networks Rafael Laufer and Leonard Kleinrock Bell.
Outline Minimum Spanning Tree Maximal Flow Algorithm LP formulation 1.
1 Thursday, June 29, 2006 "If you really think there's a bug you should report a bug. Maybe you're not using it properly. Have you ever considered that?"
Direct-Current Circuits
IEOR 4004 Final Review part II.
The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 10 Routing Fundamentals and Subnets.
Adding Up In Chunks.
Quadratic Graphs and Completing the Square
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec
18-Dec-14 Pruning. 2 Exponential growth How many leaves are there in a complete binary tree of depth N? This is easy to demonstrate: Count “going left”
Assignment Problem: Hungarian Algorithm and Linear Programming collected from the Internet and edited by Longin Jan Latecki.
Bart Jansen 1.  Problem definition  Instance: Connected graph G, positive integer k  Question: Is there a spanning tree for G with at least k leaves?
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Announcements Be reading Chapters 9 and 10 HW 8 is due now.
Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Link State Routing Jean-Yves Le Boudec Fall
The Destination Sequenced Distance Vector (DSDV) protocol
New Opportunities for Load Balancing in Network-Wide Intrusion Detection Systems Victor Heorhiadi, Michael K. Reiter, Vyas Sekar UNC Chapel Hill UNC Chapel.
U of Houston – Clear Lake
3/3 Factoid for the day: “Most people have more than the average number of feet” & eyes & ears & noses.
LPs and MIPs background and solution approaches Dr. Greg Bernstein Grotto Networking
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
B Network Design Problems: An Overview Dr. Greg Bernstein Grotto Networking Based on Chapter 2 of Pioro and Medhi
1 EL736 Communications Networks II: Design and Algorithms Class3: Network Design Modeling Yong Liu 09/19/2007.
B Flows to Paths Dr. Greg Bernstein Grotto Networking
B Network Dimensioning Problems: Where to put the capacity and how much… Dr. Greg Bernstein Grotto Networking
L12. Network optimization problems D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2014.
Load Balancing for Routing Sundar Iyer Stanford University.
Lecture 3. Notations and examples D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
B Multi-Layer Network Design Dr. Greg Bernstein Grotto Networking
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.
Lecture 15. IGP and MPLS D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
1 Chapter-4: Network Flow Modeling & Optimization Deep Medhi and Karthik Ramasamy August © D. Medhi & K. Ramasamy, 2007.
Operating VCAT and LCAS with GMPLS draft-bernstein-ccamp-gmpls-vcat-lcas-01 Greg Bernstein: Diego.
Interconnect Performance Modeling. Performance modeling Given an interconnect topology, routing, and other parameters, predict the interconnect performance.
Network Optimization Problems
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Traffic grooming in WDM Networks Dynamic Traffic Grooming in WDM Mesh Networks Using a Novel Graph Model by Hongyue Zhu, Hui Zang, Keyao Zhu, and Biswanath.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
Management Science 461 Lecture 3 – Covering Models September 23, 2008.
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
Page th IETF Vancouver, B.C., Canada Operating Virtual Concatenation (VCAT) and the Link Capacity Adjustment Scheme (LCAS) with GMPLS Greg Bernstein.
CS 312: Algorithm Analysis Lecture #27: Network Flow This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.Creative.
L11. Link-path formulation
St. Edward’s University
L13. Capacitated and uncapacitated network design problems
Chapter 1. Formulations.
Presentation transcript:

B Capacitated Design: Part II Dr. Greg Bernstein Grotto Networking

Outline Demand splitting across Paths – How does this come about? When is it allowed? Limited Demand Split (Section 4.2.3) – Link-Path, Node-Link – No splitting Technologies for Inverse Multiplexing – MLPP, VCAT, But not LAG Other Constraints – Forbidden links or paths (Example 4.1 page 111) – Bi-directional assignment in Node-Link formulation Quick Feasibility Checks – Maximum flow between two nodes – Widest Path between two nodes

Demand Splitting What is it? – It occurs during optimization when flow for a demand is split amongst multiple paths. Does this represent a valid solution? – It depends on the technologies available.

Splitting Example Capacitated Allocation Problem – Node-Link Formulation with 18 directed links – 5 Demands – Links all have same weight and capacity Demands: Links:

Splitting Example (cont) – Demand split into 3 paths – Demand split into 2 paths

Splitting Example (cont) Why splitting? – Demands,, and might all want to use similar shortest paths In this optimal solution link loads are: (u'N0', u'N6'): 40.0, (u'N1', u'N0'): 40.0 (saturated) Seems like splitting is needed for optimality – What about demand :31 ? Link loads (N3,N6): 40, (N6,N5): 23; (N3, N4): 17, (N4, N5): 17 Looks like room to put the whole demand on the {N3, N4, N5} path. Splitting because paths had equal weight

Splitting Example (cont) Directed Network, Directed Demands – Path chosen not necessarily symmetric! – Technologies such as SONET, SDH, and G.709 require bi-directional symmetry of paths Symmetric Not Symmetric

What can be done?

Modified Link Path Formulation I

That was easy?

Example: Link-Path (Splitting) Demands: :24, :: 25, : 29, : 16, : 31 Candidate paths: ["N2", "N3"], ["N2", "N1", "N0", "N6", "N3"], ["N0", "N6", "N3"], ["N0", "N1", "N2", "N3"], ["N1", "N0", "N6"], ["N1", "N2", "N3", "N6"], ["N0", "N1", "N2"], ["N0", "N6", "N3", "N2"], ["N3", "N4", "N5"], ["N3", "N6", "N5"] Link Capacity: 40 units all links Solution: xDN0_N2P_0 = 16.0 xDN0_N2P_1 = 0.0 xDN0_N3P_0 = 20.5 xDN0_N3P_1 = 4.5 xDN1_N6P_0 = 19.5 xDN1_N6P_1 = 4.5 xDN2_N3P_0 = 29.0 xDN2_N3P_1 = 0.0 xDN3_N5P_0 = 31.0 xDN3_N5P_1 = 0.0

Single Path Link-Path in Python Note use of “Binary” variables. From Solver: Status: Undefined xDN0_N2P_0 = 1.0 xDN0_N2P_1 = 0.0 xDN0_N3P_0 = 0.82 xDN0_N3P_1 = 0.18 xDN1_N6P_0 = xDN1_N6P_1 = xDN2_N3P_0 = 1.0 xDN2_N3P_1 = 0.0 xDN3_N5P_0 = 1.0 xDN3_N5P_1 = 0.0

What Happened? PuLP returned “undefined” – Try CBC from command line: cbc SPLinkPathEx1Paths2.lp Problem doesn’t have a solution!!! – What can we do? Change Network (expensive) Reduce Demands (loose customers) Try more paths

Single Path Example (cont.) More Paths: Use three per demand – :24, :: 25, : 29, : 16, : 31 Status: Optimal xDN0_N2P_0 = 1.0 xDN0_N3P_0 = 1.0 xDN1_N6P_2 = 1.0 xDN2_N3P_0 = 1.0 xDN3_N5P_0 = 1.0 Actual Paths used: ["N0", "N1", "N2"] ["N0", "N6", "N3"] ["N1", "N0", "N5", "N6"] ["N2", "N3"] ["N3", "N4", "N5"] Use of 3 rd choice path

Single Path Allocation Node Link Formulation See page 121 of P&M

SPA Node-Link in Python I

SPA Node-Link in Python II

Example SPA Node-Link

SPA Node-Link Extra Feature

Example Hop Count Limit This worked, forced other demands to take longer paths!

Inverse Multiplexing General Notion – The breaking of a high speed stream into several smaller streams and their reassembly at the destination – Virtual Concatenation (SONET, SDH, G.709) – Included in G.707 and G.709, Link Capacity Adjustment Scheme (LCAS) in G.7042 – G. Bernstein, D. Caviglia, R. Rabbat, and H. Van Helvoort, “VCAT-LCAS in a clamshell,” IEEE Communications Magazine, vol. 44, no. 5, pp. 34– 36, May – You’ll get to read about this… Multi-Link PPP (point to point protocol) – – Rather old technology May be done at “Application Layer” – How?

Forbidden Links or Paths Network Example – Links to data centers are different from other links. Why? – Data centers contain lots of switches but we may not want to treat them as switches. Why? – What happens if we apply k-shortest paths blindly to this network? What about a Node-Link design problem formulation?

Shortest Paths… Computing k-shortest paths from DC1 to DC4 as part of a Link-Path formulation, got the path below Not good, really shouldn’t use DC2 as a “transit” node How can we avoid this problem? How can you tell which of the above paths are “bad”?

Shortest Paths… Still using k-shortest paths algorithm for paths from DC1 to DC4 I was able to get the paths shown below How did I do this? How can we avoid this problem?

Restrictions on Link Flows In a Node-Link capacitated allocation problem how can I prevent the flow for the demand from going through DC5? Etc… Answer: Add constraints to set the following link flow variables to zero X_LN4DC5_DDC2DC4 = 0.0 X_LDC5N5_DDC2DC4 = 0.0 Etc…

Bidirectional Assignment with Node- Link Formulation Node-Link Formulation – Works with directed graphs – Treats all demands as directed too Some technologies assume bidirectionality – SONET, SDH, PDH (old E1,T1 hierarchies) How? – Must make the network directed but symmetric – Must make the demands symmetric – Must force the flows traversing a bidirectional link pair for a bidirectional demand pair to be equal.

Feasibility Checks Necessary versus Sufficient conditions – cy cy – We would like quick checks of allocation feasibility – The assertion that Q is necessary for P is colloquially equivalent to "P cannot be true unless Q is true," or "if Q is false then P is false.“ (wikipedia) What would be a computationally “easy” check for feasibility for a SPA problem? – For each demand pair check if the capacity of the widest path is less than the demand volume. If it is then the problem is infeasible.

Feasibility Check for Allocation with Splitting?

Examples Widest path v1 to v5 has capacity 14. Why? Max flow from v1 to v5 is min(28, 25, 46) = 25 by max flow/min cut or Edmonds-Karp Links