1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.

Slides:



Advertisements
Similar presentations
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Undirected: Optic Fiber.
Advertisements

Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Multicast in Wireless Mesh Network Xuan (William) Zhang Xun Shi.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
NP-Complete Problems Polynomial time vs exponential time
Breadth-First Search Seminar – Networking Algorithms CS and EE Dept. Lulea University of Technology 27 Jan Mohammad Reza Akhavan.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Combinatorial Algorithms
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
Computational Game Theory
1 Spanning Trees Lecture 20 CS2110 – Spring
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
1 -1 Chapter 1 Introduction Why Do We Need to Study Algorithms? To learn strategies to design efficient algorithms. To understand the difficulty.
1 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
The Theory of NP-Completeness
1 Assignment 4. This one is cancelled since there is a solution on website. I new assignment will be given on Nov. 28. (Due on Friday of Week 14. Drop.
[1][1][1][1] Lecture 2-3: Coping with NP-Hardness of Optimization Problems in Practice May 26 + June 1, Introduction to Algorithmic Wireless.
Efficient algorithms for Steiner Tree Problem Jie Meng.
1 NP-Complete Problems Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph, the length.
1 Internet Networking Spring 2002 Tutorial 6 Network Cost of Minimum Spanning Tree.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
Packing Element-Disjoint Steiner Trees Mohammad R. Salavatipour Department of Computing Science University of Alberta Joint with Joseph Cheriyan Department.
1 NP-Complete Problems (Fun part) Polynomial time vs exponential time –Polynomial O(n k ), where n is the input size (e.g., number of nodes in a graph,
The Shortest Path Problem
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Outline Introduction The hardness result The approximation algorithm.
V. V. Vazirani. Approximation Algorithms Chapters 3 & 22
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
Graph Theory Topics to be covered:
IEEE Globecom 2010 Tan Le Yong Liu Department of Electrical and Computer Engineering Polytechnic Institute of NYU Opportunistic Overlay Multicast in Wireless.
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
Graphs. What is a graph? A data structure that consists of a set of nodes (vertices) and a set of edges that relate the nodes to each other The set of.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Approximation Algorithms
On a Network Creation Game PoA Seminar Presenting: Oren Gilon Based on an article by Fabrikant et al 1.
1 Steiner Tree Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Projects Network Theory VLSI PSM 1. Network 1. Steiner trees
Lecture 23 CSE 331 Oct 24, Reminder 2 points for Piazza participation 3 points for mini-project.
1 The Encoding Complexity of Network Coding Michael Langberg California Institute of Technology Joint work with Jehoshua Bruck and Alex Sprintson.
COSC 5341 High-Performance Computer Networks Presentation for By Linghai Zhang ID:
Lagrangean Relaxation
The full Steiner tree problem Theoretical Computer Science 306 (2003) C. L. Lu, C. Y. Tang, R. C. T. Lee Reporter: Cheng-Chung Li 2004/06/28.
Homework 1 Problem 1: (5 points) Both Dijkstras algorihm and Bellmanford Algorithm generates shortest paths to all destinations. Modify the algorithm to.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Introduction to NP Instructor: Neelima Gupta 1.
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Construction of Optimal Data Aggregation Trees for Wireless Sensor Networks Deying Li, Jiannong Cao, Ming Liu, and Yuan Zheng Computer Communications and.
Instructor Neelima Gupta Table of Contents Introduction to Approximation Algorithms Factor 2 approximation algorithm for TSP Factor.
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
1 1 Slide © 2005 Thomson/South-Western Chapter 9 Network Models n Shortest-Route Problem n Minimal Spanning Tree Problem n Maximal Flow Problem.
Operations Research II Course,, September Part 2: Network Flow Operations Research II Dr. Aref Rashad.
Approximation Algorithms
Mathematical Foundations of AI
Optimization problems such as
Minimum Spanning Tree Chapter 13.6.
Efficient algorithms for Steiner Tree Problem
Lecture 23 CSE 331 Oct 26, 2016.
Connected Components Minimum Spanning Tree
Minimum Spanning Trees
Lecture 24 CSE 331 Oct 25, 2013.
Lecture 19-Problem Solving 4 Incremental Method
CS 583 Analysis of Algorithms
Lecture 23 CSE 331 Oct 24, 2011.
Minimum Spanning Trees
Presentation transcript:

1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree

2 Motivation Effective implementation of Multicast at the Internet Understanding cost of performing multicast at the network Finding optimal multicast tree (Steiner tree) is NP-hard computational problem We will see the heuristics for finding a multicast tree that at most 2 times worse than the optimal Steiner tree

3 Motivation (cont.) Routing by Shortest Path Tree gives a cost of 5C comparing to C+ε. Finding optimal tree is a hard problem: Should we select i1 or i2 (or neither)? S C C C C C i1i2 C+ε 1 C+ε

4 Definitions The Steiner tree problem: Let G(V,E) be a weighted graph, D  V is the destination group, and s  V\D is the source node. R is a multicast tree if it consists of s and all vertexes of D. A Steiner Tree: a tree with minimal sum of edge weights among all possible R trees. Namely, P* is a Steiner tree if: C(P*) = min R {C(R)} Finding a Steiner Tree in a general graph is an NP- hard problem

5 A 2-approx algorithm We build graph I(G), whose nodes are: {s} ∪ D This graph will be a clique: each node has edge connecting it with each other node The weight of an edge e i,j is the cost of the shortest path in the graph G between nodes i and j We find the Minimum Spanning Tree in I(G) and route according to it

6 A 2-approx algorithm (cont.) a b c S G(V,E) S c b a I(G) S c b a T

7 A 2-approx algorithm (remark) It’s possible that different paths in I(G) will contain identical parts in G(V,E) Simple circle of nodes in I(G) is also the minimum cost circle of the nodes in the same order in the graph G G(V,E) S a I(G) S b a b

8 A 2-approx algorithm – proving upper bound by 2 P 1 let be a circle that passes through nodes s->a->b->c->d->s. It uses each edge of P* twice. Therefore: C(P 1 ) = 2C(P*) P 2 let be a simple circle in I(G) that passes through all nodes in the same order as P 1 does. C(P1)≥C(P2) because weights of edges in I(G) represents shortest path weights in G S a d c b Consider the Steiner tree for a given s, D instance

9 A 2-approx algorithm – proving upper bound by 2 (cont.) Let us drop from P 2 the maximal weight edge. We got a tree, called P 3. It is clear that C(P 2 )≥C(P 3 ), since we dropped an edge. Since we dropped the edge with the maximal weight, its weight is higher than the average: C(P 2 )/(m+1), (where |D|=m). Therefore: C(P 2 ) – C(P 2 )/m+1 = m(m+1) -1 C(P 2 ) ≥ C(P 3 ) Namely: C(P 3 ) ≤ m(m+1) -1 C(P 2 ) ≤ m(m+1) -1 C(P 1 ) = 2C(P*)m(m+1) -1 In the heuristic we searched for the minimum spanning tree in I(G), we call it T. It ’ s clear that C(P 3 ) ≥ C(T), because T is minimum spanning tree in I(G) and P 3 is just a one of the trees in I(G). Therefore: C(T) ≤ 2C(P*)m/m+1

10 A 2-approx algorithm – proving upper bound by 2 (cont.) Therefore we got: C(T) ≤ C(P 3 ) ≤ m(m+1) -1 C(P 2 ) ≤ m(m+1) -1 C(P 1 ) = 2m(m+1) -1 C(P*) and: C(T)/C(P*) ≤ 2m/(m+1) < 2

11 Worst case of the heuristic Steiner tree is a star around I and connected to S, with the cost: 5+5ε. A tree selected by the heuristic is a direct connection of the nodes to S with the cost of 8. This holds the upper bound. (It can be seen that it is 2m/(m+1). If we put m=4, then we get 8/5). In the general case, the worst result that the heuristic can give is 2m/m+1 worse than the optimal S 1+ε 2 I

12 Worst case of the heuristic Steiner tree is a star around I and connected to S, with the cost: 5+5ε. A tree selected by the heuristic is a direct connection of the nodes to S with the cost of 8. This holds the upper bound. (It can be seen that it is 2m/(m+1). If we put m=4, then we get 8/5). In the general case, the worst result that the heuristic can give is 2m/m+1 worse than the optimal S 1+ε 2 I