[1][1][1][1] Lecture 2-3: Coping with NP-Hardness of Optimization Problems in Practice May 26 + June 1, 2008 896960 Introduction to Algorithmic Wireless.

Slides:



Advertisements
Similar presentations
Instructor Neelima Gupta Table of Contents Approximation Algorithms.
Advertisements

Design and Analysis of Algorithms Approximation algorithms for NP-complete problems Haidong Xue Summer 2012, at GSU.
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 ( )
Wavelength Assignment in Optical Network Design Team 6: Lisa Zhang (Mentor) Brendan Farrell, Yi Huang, Mark Iwen, Ting Wang, Jintong Zheng Progress Report.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Combinatorial Algorithms
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Chapter 3 The Greedy Method 3.
Minimum Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Great Theoretical Ideas in Computer Science.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
1 Spanning Trees Lecture 20 CS2110 – Spring
Approximation Algorithms: Combinatorial Approaches Lecture 13: March 2.
[1][1][1][1] Lecture 4: Frequency reuse, channel assignment, and more June 15, Introduction to Algorithmic Wireless Communications David Amzallag.
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 Internet Networking Spring 2006 Tutorial 6 Network Cost of Minimum Spanning Tree.
Approximation Algorithms Lecture for CS 302. What is a NP problem? Given an instance of the problem, V, and a ‘certificate’, C, we can verify V is in.
Chapter 9: Greedy Algorithms The Design and Analysis of Algorithms.
The Theory of NP-Completeness
[1][1][1][1] Lecture 5-7: Cell Planning of Cellular Networks June 22 + July 6, Introduction to Algorithmic Wireless Communications David Amzallag.
1 Internet Networking Spring 2004 Tutorial 6 Network Cost of Minimum Spanning Tree.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
1 Combinatorial Dominance Analysis Keywords: Combinatorial Optimization (CO) Approximation Algorithms (AA) Approximation Ratio (a.r) Combinatorial Dominance.
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.
CSE 550 Computer Network Design Dr. Mohammed H. Sqalli COE, KFUPM Spring 2007 (Term 062)
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Approximation Algorithms Ola Svensson. Course Information Goal: – Learn the techniques used by studying famous applications Graduate Course FDD
1 Algorithms for Bandwidth Efficient Multicast Routing in Multi-channel Multi-radio Wireless Mesh Networks Hoang Lan Nguyen and Uyen Trang Nguyen Presenter:
Programming & Data Structures
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Network Aware Resource Allocation in Distributed Clouds.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Advanced Algorithm Design and Analysis (Lecture 13) SW5 fall 2004 Simonas Šaltenis E1-215b
June 21, 2007 Minimum Interference Channel Assignment in Multi-Radio Wireless Mesh Networks Anand Prabhu Subramanian, Himanshu Gupta.
COSC 2007 Data Structures II Chapter 14 Graphs III.
De-Nian Young Ming-Syan Chen IEEE Transactions on Mobile Computing Slide content thanks in part to Yu-Hsun Chen, University of Taiwan.
Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan.
Approximation Algorithms
Prims’ spanning tree algorithm Given: connected graph (V, E) (sets of vertices and edges) V1= {an arbitrary node of V}; E1= {}; //inv: (V1, E1) is a tree,
CSE332: Data Abstractions Lecture 24.5: Interlude on Intractability Dan Grossman Spring 2012.
Lecture 19 Greedy Algorithms Minimum Spanning Tree Problem.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
SPANNING TREES Lecture 20 CS2110 – Fall Spanning Trees  Definitions  Minimum spanning trees  3 greedy algorithms (incl. Kruskal’s & Prim’s)
SPANNING TREES Lecture 21 CS2110 – Fall Nate Foster is out of town. NO 3-4pm office hours today!
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
1 Algorithmic aspects of radio access network design in 4G cellular networks David Amzallag Computer Science Department, Technion Joint work with Seffi.
Approximation Algorithms by bounding the OPT Instructor Neelima Gupta
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
1 Minimum Spanning Tree: Solving TSP for Metric Graphs using MST Heuristic Soheil Shafiee Shabnam Aboughadareh.
Approximation algorithms
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
Greedy Technique.
Optimization problems such as
School of Computing Clemson University Fall, 2012
A Distributed Algorithm for Minimum-Weight Spanning Trees
Great Theoretical Ideas in Computer Science
Computability and Complexity
Minimum Spanning Trees
Introduction Wireless Ad-Hoc Network
Minimum Spanning Trees
Minimum Spanning Trees
Approximation Algorithms
Minimum Spanning Trees
Presentation transcript:

[1][1][1][1] Lecture 2-3: Coping with NP-Hardness of Optimization Problems in Practice May 26 + June 1, Introduction to Algorithmic Wireless Communications David Amzallag

[2][2][2][2] Coping with NP-hardness of optimization problems – Heuristics – DSATUR for graph coloring (Brélaz, 1979) – Lin-Kernighan for TSP (1973) NP – Common solutions for NP-hard problems in practice – Somewhat efficient exponential algorithms – 3-Coloring in time (Eppstein, 2001) – Easy special cases (coloring planar graphs, hexagonal graphs) – Approximation algorithms

[3][3][3][3] What is an approximation algorithm? – The performance guarantee of an approximation algorithm for a minimization (maximization) problem is  if the algorithm is guaranteed to deliver a solution whose value is at most (at least)  times the optimal value – An  -approximation algorithm is a polynomial time algorithm with a performance guarantee of  NP – Isn't computing the cost of the optimal solution NP-hard?

[4][4][4][4] The art of lower bounding the optimum – For minimization problems we know that a  -approximation algorithm A has cost where is the cost of the optimal solution can be difficult – Relating directly to can be difficult – Instead we can relate the two in two steps: where is a lower bound on the optimal solution and then

[5][5][5][5] What's Radio Access Network? User Equipment RAN (e.g., UTRAN) Core Network External Networks

[6][6][6][6] B A Radio Network Controllers (RNCs) Base Stations Mobile Stations Star Topology Access Network Tree Topology Access Network

[7][7][7][7] The routing cost of a tree expected traffic loadrouting cost Given a spanning tree T of a set of base stations, each with its expected traffic load, rooted at RNC r, the routing cost,, between the RNC r and a base station i is the weighted sum of the costs along the (unique) path between then in T. routing cost of a tree The routing cost of a tree T is defined as Routing cost of = 10 Routing cost of 1+2 = Root — Routing cost of the whole tree is 46 — The cost of a minimum spanning tree is 24 Illustrated with These two objectives can be far from each other by a factor of O(n)! Vendors are usually planning RANs using MST-based techniques… Max (“Where the Wild Things Are”, Maurice Sendak)

[8][8][8][8] The bounded-degree minimum routing cost spanning tree problem – A set of base stations, and a set of RNCs symmetric connection cost – A symmetric connection cost is defined for all – Another given cost is of connecting base station to RNC. – Degree-constraints for every – The BDRT problem – The BDRT problem is to find a minimum routing cost spanning tree on rooted at a given root that meets for every

[9][9][9][9] An observation – A typical solution to BDRT is a forest of multiple trees, each is rooted at a RNC node – This problem is reducible to the problem with a single tree

[10] Some hardness results NP – BDRT is NP-hard (easy to verify) – What about approximation algorithms? Not a good idea! NP-hard to approximatePNP – BDRT is NP-hard to approximate, unless P=NP – A practical avenue metric – A practical avenue: metric BDRT with for every

[11] Shortest-path trees shortest-path tree – A shortest-path tree rooted at vertex r is a spanning tree such that for any vertex v, the (shortest) distance between r and v is the same as in the graph – Shortest-path trees are fundamental structures in the study of graph algorithms (e.g., Dijkstra), and of the most useful `algorithmic’ tool in telecommunications (e.g., routing) not – Notice that the total cost of a shortest-path tree is not unique

[12] SPT of cost 9 SPT of cost 8 MST of cost 7 Observation Observation. When the metric case is considered SPT is unique. Lower bound for the optimum Lower bound for the optimum. The total cost of the SPT (with the same root).

[13] An approximation algorithm 1.Construct a shortest-path tree, with root r, on the input complete (metric) graph; renumber the vertices so that is the i th closest vertex to the root. 2.Set as the root of the tree T. 3.While T is not a spanning tree do Pick the vertices of least indices and assign them, from the left most son to the rightmost, as the children of vertex where for and otherwise. Set

[14] Before analyzing: bounding the contribution of a vertex

[15] Analysis – In general, if is the last non-leaf vertex, then – Since the cost of the SPT of G (with as its root), as computed by the algorithm, is a lower bound of the optimal solution, – In addition, remember that T has leaves and hence, – So,

[16] Heuristics greedy – Family of greedy algorithms: best Start at the root vertex r, pick the best vertices as its children, from the left most child to the rightmost one, and then move to the next level in the constructed tree. For every vertex v ( ), the algorithm pick the best unpicked vertices and assign them as its children, until spanning all the vertices of G.

[17] – Picks the vertices v in an increasing order of their ratio where is the cost of the shortest-path connecting v to r in the constructed tree T. – Unexpected warning – Unexpected warning: Algorithm may produce solutions that are far from the optimum by on our instances. Picks the vertices v in an increasing order of their ratio