Otfried Cheong. Alon Efrat. Sariel Har-Peled. TU Eindhoven, Netherlands. University of Arizona UIUC

Size: px
Start display at page:

Download "Otfried Cheong. Alon Efrat. Sariel Har-Peled. TU Eindhoven, Netherlands. University of Arizona UIUC"

Transcription

1 On Finding a Guard that Sees Most and a Shop that Sells Most Otfried Cheong TU Eindhoven, Netherlands Alon Efrat University of Arizona Sariel Har-Peled UIUC On Finding a Guard that Sees Most and a Shop that Sells Most p.1/26

2 Problem You want to establish an art gallery: 1. Where to place it? 2. How to protect the gallery from thieves? 3. What to show in it? On Finding a Guard that Sees Most and a Shop that Sells Most p.2/26

3 Placing the Art Gallery Finding a shop that sells most. Assumption: Customer goes to closest shop. (Post office problem.) Given a city with shops, find where to place shop that controls the largest region. Assumptions: 1. City is a square. 2. Distance is Euclidean. On Finding a Guard that Sees Most and a Shop that Sells Most p.3/26

4 Finding best location On Finding a Guard that Sees Most and a Shop that Sells Most p.4/26

5 Finding best location On Finding a Guard that Sees Most and a Shop that Sells Most p.4/26

6 Previous Work [Cheong, Har-Peled, Matoušek, Linial, 02] The One-Round Voronoi Game One can always control > 1/2 + const of market, by inserting n sites. [Dehne, Klein and Seidel, 02] Find approx max area cell when sites are in convex position. On Finding a Guard that Sees Most and a Shop that Sells Most p.5/26

7 Result Input: T set of n points, δ > 0 Compute a point x app : µ(x app ) (1 δ)µ opt where µ(x) = area(v orcell T {x} (x)) and µ opt = max x µ(x). Running time: O ( n δ 4 + n log n ). On Finding a Guard that Sees Most and a Shop that Sells Most p.6/26

8 Second Problem A guard that seems most Input: A simple polygon P. Compute a point x P : µ(x) (1 δ)µ opt where µ(x) = area(v P (x)) and µ opt = max x µ(x). On Finding a Guard that Sees Most and a Shop that Sells Most p.7/26

9 Example On Finding a Guard that Sees Most and a Shop that Sells Most p.8/26

10 Example p On Finding a Guard that Sees Most and a Shop that Sells Most p.8/26

11 A Guard that Sees Most - Motivation 1. Guarding an Art Gallery Given P find min # of guards seeing all of P. 2. NP Hard 3. A continuous set cover problem. 4. Open problem: An approximation algorithm? 5. Heuristic: Pick guard that seems most, and repeat. 6. Bound uncovered area after m guards. On Finding a Guard that Sees Most and a Shop that Sells Most p.9/26

12 Result 1. P - Simple polygon (n vertices) 2. δ > 0 - approx param 3. Compute x P : µ(x) (1 δ)µ opt ( ) n 2 4. Running time: O δ 4 log3 (n/δ) 5. Constant approx is 3sum hard. On Finding a Guard that Sees Most and a Shop that Sells Most p.10/26

13 Further Motivation 1. For the guard that sees most, the function maximized is n P(x,y) f r (x,y) = R(x, y) i=1 inside region r. (a) There are O(n 3 ) regions. (b) Every region the function is different. (c) How to compute/approx max efficiently. 2. Max Voronoi cell Function max is similar. On Finding a Guard that Sees Most and a Shop that Sells Most p.11/26

14 First approach Direct sampling: R - Pick random sample inside P x P compute V P (x) Return largest visibility polygon computed. Problem: Does not work... On Finding a Guard that Sees Most and a Shop that Sells Most p.12/26

15 Second approach Range space X = (P, W) of all vis. polygons in P : W = { V P (x) x P } [Valtr,98] V C Dim(X) 23 Assuming µ(p) = 1... On Finding a Guard that Sees Most and a Shop that Sells Most p.13/26

16 Second approach - cont ε-approx theorem For any δ, a sample R of Õ(1/δ2 ) is a δ-approx: x P µ(v P(x)) R V P(x) R δ. µ opt = max x µ(v P (x)) 1/n. On Finding a Guard that Sees Most and a Shop that Sells Most p.14/26

17 Second approach - algorithm Algorithm: 1. Set δ = ε/n 2. R: compute δ-approx of P 3. Find x = arg max x P R V P (x). 4. Return V P (x) Q: How to compute x? 1. Compute W = { V P (y) y R } 2. Find most covered point in A(W). On Finding a Guard that Sees Most and a Shop that Sells Most p.15/26

18 Second approach - Alg. Pick a random sample. On Finding a Guard that Sees Most and a Shop that Sells Most p.16/26

19 Second approach - Alg. Compute the visibility polygon of each random sample. On Finding a Guard that Sees Most and a Shop that Sells Most p.16/26

20 Second approach - Alg. x 1. Compute the arrangement of the visibility polygons. 2. Find the point x with largest # of vis. polygons covering it. On Finding a Guard that Sees Most and a Shop that Sells Most p.16/26

21 Second approach - Alg. V P (x) x Compute visibility polygons V P (x), and return it. On Finding a Guard that Sees Most and a Shop that Sells Most p.16/26

22 Second approach - Result Lemma: ( ) n 5 Running time O δ 4 log3 (n/δ) Return x P, s.t. µ(x) (1 δ)µ opt. Similar to [Natafos and Tsoukalas, 94] Algorithm is slow... On Finding a Guard that Sees Most and a Shop that Sells Most p.17/26

23 Third approach Estimating area directly Lemma: x P, δ > 0 µ(x) = area(v P (x)) ν S: uniform sample from P : S estimates the area V P (x) correctly...with high probability ε-approx sample size: Õ 1 δ 2 ν 2 ( 1 S = Õ δ 2 ν ) On Finding a Guard that Sees Most and a Shop that Sells Most p.18/26

24 Third approach Estimating area directly Lemma: x P, δ > 0 µ(x) = area(v P (x)) ν S: uniform sample from P : S = Õ ( 1 δ 2 ν ) S estimates the area V P (x) correctly...with high probability ε-approx sample size: Õ 1 δ 2 ν 2 On Finding a Guard that Sees Most and a Shop that Sells Most p.18/26

25 Third approach - cont Estimate area visible from a single point Problem: Estimate area for all points of P. Idea: Prove that there is a small witness set. Same sample works for all points of P On Finding a Guard that Sees Most and a Shop that Sells Most p.19/26

26 Third approach - cont Algorithm: 1. R: A random sample of P 2. ν = 1/n 3. R = Õ( 1/(νδ 2 ) ) = Õ( n/δ 2) 4. Find x = arg max x P R V P (x). 5. Return V P (x) Running time: Õ( n 3 /δ 4). On Finding a Guard that Sees Most and a Shop that Sells Most p.20/26

27 Third approach - analysis Why the alg. slow? A: Lower bound ν on µ opt too small. Idea: Exponential search on ν On Finding a Guard that Sees Most and a Shop that Sells Most p.21/26

28 Fourth approach ν i = 1/2 i At ith iter: 1. Check if µ opt ν i. (using prev. algorithm) 2. If so, got approx 3. Otherwise, µ opt ν i On Finding a Guard that Sees Most and a Shop that Sells Most p.22/26

29 Fourth approach - cont At ith iter: 1. Sample R of size Õ(1/ν i) points. 2. Compute Visibility arrangement of R 3. Find most covered point in AP(R) Expected depth of AP(R) is ν i 1 Õ(1/ν i) = Õ(1). AP(R) is shallow, Complexity of AP(R) is Õ( R 2 ). On Finding a Guard that Sees Most and a Shop that Sells Most p.23/26

30 Fourth approach - cont Running time dominated by last iteration. Overall running time Õ( n 2 /δ 4) On Finding a Guard that Sees Most and a Shop that Sells Most p.24/26

31 Conclusions Presented fast algorithms for approx. nasty area related functions. Basic idea: indirect sampling. Technique seems to be generic. Open problems: Approximating the minimum # of guards. On Finding a Guard that Sees Most and a Shop that Sells Most p.25/26

32 The end... On Finding a Guard that Sees Most and a Shop that Sells Most p.26/26

On finding a guard that sees most and a shop that sells most 1

On finding a guard that sees most and a shop that sells most 1 Randomness and Computation Joint Workshop New Horizons in Computing and Statistical Mechanical Approach to Probabilistic Information Processing (18-21 July, 2005, Sendai, Japan) Lecture Note in Tutorial

More information

On Finding a Guard that Sees Most and a Shop that Sells Most 1

On Finding a Guard that Sees Most and a Shop that Sells Most 1 On Finding a Guard that Sees Most and a Shop that Sells Most 1 Otfried Cheong 2 Alon Efrat 3 Sariel Har-Peled 4 October 13, 2004 Abstract We present a near-quadratic time algorithm that computes a point

More information

Bicriteria approach to the optimal location of surveillance cameras *

Bicriteria approach to the optimal location of surveillance cameras * Bicriteria approach to the optimal location of surveillance cameras * Aleksandra Groß and Horst W. Hamacher TU Kaiserslautern, Fachbereich Mathematik, Paul-Ehrlich-Straße 14, 67663 Kaiserslautern Emails:

More information

k-center Problems Joey Durham Graphs, Combinatorics and Convex Optimization Reading Group Summer 2008

k-center Problems Joey Durham Graphs, Combinatorics and Convex Optimization Reading Group Summer 2008 k-center Problems Joey Durham Graphs, Combinatorics and Convex Optimization Reading Group Summer 2008 Outline General problem definition Several specific examples k-center, k-means, k-mediod Approximation

More information

Lecture 2 The k-means clustering problem

Lecture 2 The k-means clustering problem CSE 29: Unsupervised learning Spring 2008 Lecture 2 The -means clustering problem 2. The -means cost function Last time we saw the -center problem, in which the input is a set S of data points and the

More information

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch]

NP Completeness. Andreas Klappenecker [partially based on slides by Jennifer Welch] NP Completeness Andreas Klappenecker [partially based on slides by Jennifer Welch] Dealing with NP-Complete Problems Dealing with NP-Completeness Suppose the problem you need to solve is NP-complete. What

More information

Efficiently Approximating the Minimum-Volume Bounding Box of a Point Set in Three Dimensions

Efficiently Approximating the Minimum-Volume Bounding Box of a Point Set in Three Dimensions Efficiently Approximating the Minimum-Volume Bounding Box of a Point Set in Three Dimensions Author: Gill Barequet and Sariel Har-Peled Presenter: An Nguyen The Problem Input: a set S of points in R 3,

More information

Decomposing Coverings and the Planar Sensor Cover Problem

Decomposing Coverings and the Planar Sensor Cover Problem Intro. previous work. Restricted Strip Cover Decomposing Multiple Coverings Decomposing Coverings and the Planar Sensor Cover Problem Matt Gibson Kasturi Varadarajan presented by Niv Gafni 2012-12-12 Intro.

More information

How Do Computers Solve Geometric Problems? Sorelle Friedler, University of Maryland - College Park

How Do Computers Solve Geometric Problems? Sorelle Friedler, University of Maryland - College Park How Do Computers Solve Geometric Problems? Sorelle Friedler, University of Maryland - College Park http://www.cs.umd.edu/~sorelle Outline Introduction Algorithms Computational Geometry Art Museum Problem

More information

Combinatorial Geometry & Approximation Algorithms

Combinatorial Geometry & Approximation Algorithms Combinatorial Geometry & Approximation Algorithms Timothy Chan U. of Waterloo PROLOGUE Analysis of Approx Factor in Analysis of Runtime in Computational Geometry Combinatorial Geometry Problem 1: Geometric

More information

CSE 417 Branch & Bound (pt 4) Branch & Bound

CSE 417 Branch & Bound (pt 4) Branch & Bound CSE 417 Branch & Bound (pt 4) Branch & Bound Reminders > HW8 due today > HW9 will be posted tomorrow start early program will be slow, so debugging will be slow... Review of previous lectures > Complexity

More information

The Square Root Phenomenon in Planar Graphs

The Square Root Phenomenon in Planar Graphs 1 The Square Root Phenomenon in Planar Graphs Survey and New Results Dániel Marx Institute for Computer Science and Control, Hungarian Academy of Sciences (MTA SZTAKI) Budapest, Hungary Satisfiability

More information

Theorem 2.9: nearest addition algorithm

Theorem 2.9: nearest addition algorithm There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used

More information

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R

More information

COMP Analysis of Algorithms & Data Structures

COMP Analysis of Algorithms & Data Structures COMP 3170 - Analysis of Algorithms & Data Structures Shahin Kamali Approximation Algorithms CLRS 35.1-35.5 University of Manitoba COMP 3170 - Analysis of Algorithms & Data Structures 1 / 30 Approaching

More information

Parallel graph decompositions using random shifts

Parallel graph decompositions using random shifts Parallel graph decompositions using random shifts Gary L. Miller, Richard Peng, Shen Chen Xu Presenter: Jessica Shi 6.886 Algorithm Engineering Spring 2019, MIT Introduction Introduction Jessica Shi Parallel

More information

Introduction to Approximation Algorithms

Introduction to Approximation Algorithms Introduction to Approximation Algorithms Subir Kumar Ghosh School of Technology & Computer Science Tata Institute of Fundamental Research Mumbai 400005, India ghosh@tifr.res.in Overview 1. Background 2.

More information

Approximation Algorithms for Two Optimal Location Problems in Sensor Networks

Approximation Algorithms for Two Optimal Location Problems in Sensor Networks Approximation Algorithms for Two Optimal Location Problems in Sensor Networks Alon Efrat Department of Computer Science University of Arizona Tucson, Arizona 85721 Email: alon@cs.arizona.edu Sariel Har-Peled

More information

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Mathematical and Algorithmic Foundations Linear Programming and Matchings Adavnced Algorithms Lectures Mathematical and Algorithmic Foundations Linear Programming and Matchings Paul G. Spirakis Department of Computer Science University of Patras and Liverpool Paul G. Spirakis

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS 11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005

More information

Lecture 3: Art Gallery Problems and Polygon Triangulation

Lecture 3: Art Gallery Problems and Polygon Triangulation EECS 396/496: Computational Geometry Fall 2017 Lecture 3: Art Gallery Problems and Polygon Triangulation Lecturer: Huck Bennett In this lecture, we study the problem of guarding an art gallery (specified

More information

Graph Theory and Optimization Approximation Algorithms

Graph Theory and Optimization Approximation Algorithms Graph Theory and Optimization Approximation Algorithms Nicolas Nisse Université Côte d Azur, Inria, CNRS, I3S, France October 2018 Thank you to F. Giroire for some of the slides N. Nisse Graph Theory and

More information

Discrete geometry. Lecture 2. Alexander & Michael Bronstein tosca.cs.technion.ac.il/book

Discrete geometry. Lecture 2. Alexander & Michael Bronstein tosca.cs.technion.ac.il/book Discrete geometry Lecture 2 Alexander & Michael Bronstein tosca.cs.technion.ac.il/book Numerical geometry of non-rigid shapes Stanford University, Winter 2009 The world is continuous, but the mind is discrete

More information

Approximately Uniform Random Sampling in Sensor Networks

Approximately Uniform Random Sampling in Sensor Networks Approximately Uniform Random Sampling in Sensor Networks Boulat A. Bash, John W. Byers and Jeffrey Considine Motivation Data aggregation Approximations to COUNT, SUM, AVG, MEDIAN Existing work does not

More information

11.1 Facility Location

11.1 Facility Location CS787: Advanced Algorithms Scribe: Amanda Burton, Leah Kluegel Lecturer: Shuchi Chawla Topic: Facility Location ctd., Linear Programming Date: October 8, 2007 Today we conclude the discussion of local

More information

Farthest-polygon Voronoi diagrams

Farthest-polygon Voronoi diagrams Farthest-polygon Voronoi diagrams Otfried Cheong, Hazel Everett, Marc Glisse, Joachim Gudmundsson, Samuel Hornus, Sylvain Lazard, Mira Lee and Hyeon-Suk Na ESA October 2007 KAIST, INRIA, NICTA, Soongsil

More information

Polygon decomposition. Motivation: Art gallery problem

Polygon decomposition. Motivation: Art gallery problem CG Lecture 3 Polygon decomposition 1. Polygon triangulation Triangulation theory Monotone polygon triangulation 2. Polygon decomposition into monotone pieces 3. Trapezoidal decomposition 4. Convex decomposition

More information

Linear time 8/3-approx. of r-star guards in simple orthogonal art galleries

Linear time 8/3-approx. of r-star guards in simple orthogonal art galleries Linear time 8/3-approx. of r-star guards in simple orthogonal art galleries Ervin Győri & Tamás Róbert Mezei 1 ICGT 2018, July 9, Lyon 1 Alfréd Rényi Institute of Mathematics, Hungarian Academy of Sciences

More information

CSE 417 Network Flows (pt 4) Min Cost Flows

CSE 417 Network Flows (pt 4) Min Cost Flows CSE 417 Network Flows (pt 4) Min Cost Flows Reminders > HW6 is due Monday Review of last three lectures > Defined the maximum flow problem find the feasible flow of maximum value flow is feasible if it

More information

Figure 1: Two polygonal loops

Figure 1: Two polygonal loops Math 1410: The Polygonal Jordan Curve Theorem: The purpose of these notes is to prove the polygonal Jordan Curve Theorem, which says that the complement of an embedded polygonal loop in the plane has exactly

More information

The Art Gallery Problem

The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. Computational Geometry [csci 3250] The Art Gallery Problem Laura Toma Bowdoin

More information

Computational Geometry [csci 3250]

Computational Geometry [csci 3250] Computational Geometry [csci 3250] Laura Toma Bowdoin College The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the

More information

Nash equilibria in Voronoi Games on Graphs

Nash equilibria in Voronoi Games on Graphs Nash equilibria in Voronoi Games on Graphs Christoph Dürr, Nguyễn Kim Thắng (Ecole Polytechnique) ESA, Eilat October 07 Plan Motivation : Study the interaction between selfish agents on Internet k players,

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS Coping with NP-completeness 11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: weighted vertex cover LP rounding: weighted vertex cover generalized load balancing knapsack problem

More information

Area, Lattice Points, and Exponential Sums

Area, Lattice Points, and Exponential Sums Area, Lattice Points, and Exponential Sums M. N. Huxley College of Cardiff University of Wales CLARENDON PRESS OXFORD 1996 Notation Introduction Part I Elementary methods 1. The rational line 1.1 Height

More information

1. Lecture notes on bipartite matching

1. Lecture notes on bipartite matching Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans February 5, 2017 1. Lecture notes on bipartite matching Matching problems are among the fundamental problems in

More information

A linear time approximation scheme for computing geometric maximum k-star

A linear time approximation scheme for computing geometric maximum k-star DOI 10.1007/s10898-012-9867-6 A linear time approximation scheme for computing geometric maximum k-star Jia Wang Shiyan Hu Received: 11 April 2011 / Accepted: 1 February 2012 Springer Science+Business

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS 11. APPROXIMATION ALGORITHMS load balancing center selection pricing method: vertex cover LP rounding: vertex cover generalized load balancing knapsack problem Lecture slides by Kevin Wayne Copyright 2005

More information

Topology Control in 3-Dimensional Networks & Algorithms for Multi-Channel Aggregated Co

Topology Control in 3-Dimensional Networks & Algorithms for Multi-Channel Aggregated Co Topology Control in 3-Dimensional Networks & Algorithms for Multi-Channel Aggregated Convergecast Amitabha Ghosh Yi Wang Ozlem D. Incel V.S. Anil Kumar Bhaskar Krishnamachari Dept. of Electrical Engineering,

More information

Approximation Basics

Approximation Basics Milestones, Concepts, and Examples Xiaofeng Gao Department of Computer Science and Engineering Shanghai Jiao Tong University, P.R.China Spring 2015 Spring, 2015 Xiaofeng Gao 1/53 Outline History NP Optimization

More information

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that

be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that ( Shelling (Bruggesser-Mani 1971) and Ranking Let be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that. a ranking of vertices

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design and Analysis LECTURE 29 Approximation Algorithms Load Balancing Weighted Vertex Cover Reminder: Fill out SRTEs online Don t forget to click submit Sofya Raskhodnikova 12/7/2016 Approximation

More information

KD-Tree Algorithm for Propensity Score Matching PhD Qualifying Exam Defense

KD-Tree Algorithm for Propensity Score Matching PhD Qualifying Exam Defense KD-Tree Algorithm for Propensity Score Matching PhD Qualifying Exam Defense John R Hott University of Virginia May 11, 2012 1 / 62 Motivation Epidemiology: Clinical Trials Phase II and III pre-market trials

More information

3 No-Wait Job Shops with Variable Processing Times

3 No-Wait Job Shops with Variable Processing Times 3 No-Wait Job Shops with Variable Processing Times In this chapter we assume that, on top of the classical no-wait job shop setting, we are given a set of processing times for each operation. We may select

More information

Fly Cheaply: On the Minimum Fuel Consumption Problem

Fly Cheaply: On the Minimum Fuel Consumption Problem Fly Cheaply: On the Minimum Fuel Consumption Problem Timothy M. Chan Alon Efrat Sariel Har-Peled September 30, 1999 Abstract In planning a flight, stops at intermediate airports are sometimes necessary

More information

Joshua Brody and Amit Chakrabarti

Joshua Brody and Amit Chakrabarti Lower Bounds for Gap-Hamming-Distance and Consequences for Data Stream Algorithms Joshua Brody and Amit Chakrabarti Dartmouth College 24th CCC, 2009, Paris Joshua Brody 1 Counting Distinct Elements in

More information

Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes

Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes Menelaos I. Karavelas joint work with Eleni Tzanaki University of Crete & FO.R.T.H. OrbiCG/ Workshop on Computational

More information

6 Randomized rounding of semidefinite programs

6 Randomized rounding of semidefinite programs 6 Randomized rounding of semidefinite programs We now turn to a new tool which gives substantially improved performance guarantees for some problems We now show how nonlinear programming relaxations can

More information

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 601.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/27/18 22.1 Introduction We spent the last two lectures proving that for certain problems, we can

More information

Dynamic Collision Detection

Dynamic Collision Detection Distance Computation Between Non-Convex Polyhedra June 17, 2002 Applications Dynamic Collision Detection Applications Dynamic Collision Detection Evaluating Safety Tolerances Applications Dynamic Collision

More information

Approximation Algorithms: The Primal-Dual Method. My T. Thai

Approximation Algorithms: The Primal-Dual Method. My T. Thai Approximation Algorithms: The Primal-Dual Method My T. Thai 1 Overview of the Primal-Dual Method Consider the following primal program, called P: min st n c j x j j=1 n a ij x j b i j=1 x j 0 Then the

More information

Approximation-stability and proxy objectives

Approximation-stability and proxy objectives Harnessing implicit assumptions in problem formulations: Approximation-stability and proxy objectives Avrim Blum Carnegie Mellon University Based on work joint with Pranjal Awasthi, Nina Balcan, Anupam

More information

Introduction to Machine Learning CMU-10701

Introduction to Machine Learning CMU-10701 Introduction to Machine Learning CMU-10701 Clustering and EM Barnabás Póczos & Aarti Singh Contents Clustering K-means Mixture of Gaussians Expectation Maximization Variational Methods 2 Clustering 3 K-

More information

CS6100: Topics in Design and Analysis of Algorithms

CS6100: Topics in Design and Analysis of Algorithms CS6100: Topics in Design and Analysis of Algorithms Guarding and Triangulating Polygons John Augustine CS6100 (Even 2012): Guarding and Triangulating Polygons The Art Gallery Problem A simple polygon is

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Given an NP-hard problem, what should be done? Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one of three desired features. Solve problem to optimality.

More information

Clustering. (Part 2)

Clustering. (Part 2) Clustering (Part 2) 1 k-means clustering 2 General Observations on k-means clustering In essence, k-means clustering aims at minimizing cluster variance. It is typically used in Euclidean spaces and works

More information

High Dimensional Indexing by Clustering

High Dimensional Indexing by Clustering Yufei Tao ITEE University of Queensland Recall that, our discussion so far has assumed that the dimensionality d is moderately high, such that it can be regarded as a constant. This means that d should

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Subhash Suri June 5, 2018 1 Figure of Merit: Performance Ratio Suppose we are working on an optimization problem in which each potential solution has a positive cost, and we want

More information

Prove, where is known to be NP-complete. The following problems are NP-Complete:

Prove, where is known to be NP-complete. The following problems are NP-Complete: CMPSCI 601: Recall From Last Time Lecture 21 To prove is NP-complete: Prove NP. Prove, where is known to be NP-complete. The following problems are NP-Complete: SAT (Cook-Levin Theorem) 3-SAT 3-COLOR CLIQUE

More information

The k-center problem Approximation Algorithms 2009 Petros Potikas

The k-center problem Approximation Algorithms 2009 Petros Potikas Approximation Algorithms 2009 Petros Potikas 1 Definition: Let G=(V,E) be a complete undirected graph with edge costs satisfying the triangle inequality and k be an integer, 0 < k V. For any S V and vertex

More information

Partha Sarathi Mandal

Partha Sarathi Mandal MA 515: Introduction to Algorithms & MA353 : Design and Analysis of Algorithms [3-0-0-6] Lecture 39 http://www.iitg.ernet.in/psm/indexing_ma353/y09/index.html Partha Sarathi Mandal psm@iitg.ernet.in Dept.

More information

15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015

15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 While we have good algorithms for many optimization problems, the previous lecture showed that many

More information

Coverage Approximation Algorithms

Coverage Approximation Algorithms DATA MINING LECTURE 12 Coverage Approximation Algorithms Example Promotion campaign on a social network We have a social network as a graph. People are more likely to buy a product if they have a friend

More information

Instance-Optimal Geometric Algorithms

Instance-Optimal Geometric Algorithms Instance-Optimal Geometric Algorithms Timothy Chan School of CS U. Waterloo joint work with Peyman Afshani (MADALGO, Aarhus U) Jérémy Barbay (U. Chile) Theme Beyond worst-case analysis Adaptive algorithms

More information

Informed search. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016

Informed search. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016 Informed search CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016 Soleymani Artificial Intelligence: A Modern Approach, Chapter 3 Outline Best-first search Greedy

More information

Linear Programming in Small Dimensions

Linear Programming in Small Dimensions Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional

More information

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018

CS 580: Algorithm Design and Analysis. Jeremiah Blocki Purdue University Spring 2018 CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 2018 Chapter 11 Approximation Algorithms Slides by Kevin Wayne. Copyright @ 2005 Pearson-Addison Wesley. All rights reserved.

More information

Lecture 3. Brute Force

Lecture 3. Brute Force Lecture 3 Brute Force 1 Lecture Contents 1. Selection Sort and Bubble Sort 2. Sequential Search and Brute-Force String Matching 3. Closest-Pair and Convex-Hull Problems by Brute Force 4. Exhaustive Search

More information

On Streaming and Communication Complexity of the Set Cover Problem

On Streaming and Communication Complexity of the Set Cover Problem On Streaming and Communication Complexity of the Set Cover Problem Erik Demaine Piotr Indyk Sepideh Mahabadi Ali Vakilian Problem Definition Set Cover Problem We are given a set of elements E and a collection

More information

Approximation Algorithms

Approximation Algorithms Chapter 8 Approximation Algorithms Algorithm Theory WS 2016/17 Fabian Kuhn Approximation Algorithms Optimization appears everywhere in computer science We have seen many examples, e.g.: scheduling jobs

More information

Chapter 16. Greedy Algorithms

Chapter 16. Greedy Algorithms Chapter 16. Greedy Algorithms Algorithms for optimization problems (minimization or maximization problems) typically go through a sequence of steps, with a set of choices at each step. A greedy algorithm

More information

Improved Results on Geometric Hitting Set Problems

Improved Results on Geometric Hitting Set Problems Improved Results on Geometric Hitting Set Problems Nabil H. Mustafa nabil@lums.edu.pk Saurabh Ray saurabh@cs.uni-sb.de Abstract We consider the problem of computing minimum geometric hitting sets in which,

More information

Ma/CS 6b Class 26: Art Galleries and Politicians

Ma/CS 6b Class 26: Art Galleries and Politicians Ma/CS 6b Class 26: Art Galleries and Politicians By Adam Sheffer The Art Gallery Problem Problem. We wish to place security cameras at a gallery, such that they cover it completely. Every camera can cover

More information

Chapter 8 DOMINATING SETS

Chapter 8 DOMINATING SETS Chapter 8 DOMINATING SETS Distributed Computing Group Mobile Computing Summer 2004 Overview Motivation Dominating Set Connected Dominating Set The Greedy Algorithm The Tree Growing Algorithm The Marking

More information

Fast Vertex Guarding for Polygons

Fast Vertex Guarding for Polygons Fast Vertex Guarding for Polygons James King Department of Physics University of Oxford Abstract. For a polygon P with n vertices, the vertex guarding problem asks for the minimum subset G of P s vertices

More information

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility Outline CS38 Introduction to Algorithms Lecture 18 May 29, 2014 coping with intractibility approximation algorithms set cover TSP center selection randomness in algorithms May 29, 2014 CS38 Lecture 18

More information

Dalimir Orfanus (IFI UiO + ABB CRC), , Cyber Physical Systems Clustering in Wireless Sensor Networks 2 nd part : Examples

Dalimir Orfanus (IFI UiO + ABB CRC), , Cyber Physical Systems Clustering in Wireless Sensor Networks 2 nd part : Examples Dalimir Orfanus (IFI UiO + ABB CRC), 27.10.2011, Cyber Physical Systems Clustering in Wireless Sensor Networks 2 nd part : Examples Clustering in Wireless Sensor Networks Agenda LEACH Energy efficient

More information

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14

Introduction to Algorithms / Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 600.363 Introduction to Algorithms / 600.463 Algorithms I Lecturer: Michael Dinitz Topic: Approximation algorithms Date: 11/18/14 23.1 Introduction We spent last week proving that for certain problems,

More information

Coresets for k-means clustering

Coresets for k-means clustering Melanie Schmidt, TU Dortmund Resource-aware Machine Learning - International Summer School 02.10.2014 Coresets and k-means Coresets and k-means 75 KB Coresets and k-means 75 KB 55 KB Coresets and k-means

More information

Faster Algorithms for the Constrained k-means Problem

Faster Algorithms for the Constrained k-means Problem Faster Algorithms for the Constrained k-means Problem CSE, IIT Delhi June 16, 2015 [Joint work with Anup Bhattacharya (IITD) and Amit Kumar (IITD)] k-means Clustering Problem Problem (k-means) Given n

More information

HETEROGENEOUS SENSORS

HETEROGENEOUS SENSORS Sensors are not necessarily all equal. We speak about a heterogeneous sensor network if: the devices are different The sensing and communicating ability of the sensors depend on their position (not smooth

More information

An Efficient Algorithm for 2D Euclidean 2-Center with Outliers

An Efficient Algorithm for 2D Euclidean 2-Center with Outliers An Efficient Algorithm for 2D Euclidean 2-Center with Outliers Pankaj K. Agarwal and Jeff M. Phillips Department of Computer Science, Duke University, Durham, NC 27708 Abstract. For a set P of n points

More information

Chapter 8 DOMINATING SETS

Chapter 8 DOMINATING SETS Distributed Computing Group Chapter 8 DOMINATING SETS Mobile Computing Summer 2004 Overview Motivation Dominating Set Connected Dominating Set The Greedy Algorithm The Tree Growing Algorithm The Marking

More information

A Constant-Factor Approximation Algorithm for Optimal Terrain Guarding

A Constant-Factor Approximation Algorithm for Optimal Terrain Guarding A Constant-Factor Approximation Algorithm for Optimal Terrain Guarding Boaz Ben-Moshe Matthew J. Katz Joseph S. B. Mitchell July 5, 2004 Abstract We present the first constant-factor approximation algorithm

More information

For a set S of line segments, a separator can be found using duality. Under duality, the segments transform to double wedges, and a separator line tra

For a set S of line segments, a separator can be found using duality. Under duality, the segments transform to double wedges, and a separator line tra Separating and Shattering Long Line Segments? Alon Efrat School of Mathematical Sciences, Tel Aviv University, Tel-Aviv 69982, Israel. Email: alone@cs.tau.ac.il Otfried Schwarzkopf Dept of Computer Science,

More information

Algorithms for Minimum Spanning Trees

Algorithms for Minimum Spanning Trees Algorithms & Models of Computation CS/ECE, Fall Algorithms for Minimum Spanning Trees Lecture Thursday, November, Part I Algorithms for Minimum Spanning Tree Sariel Har-Peled (UIUC) CS Fall / 6 Sariel

More information

CHAPTER SIX. the RRM creates small covering roadmaps for all tested environments.

CHAPTER SIX. the RRM creates small covering roadmaps for all tested environments. CHAPTER SIX CREATING SMALL ROADMAPS Many algorithms have been proposed that create a roadmap from which a path for a moving object can be extracted. These algorithms generally do not give guarantees on

More information

Clustering Data: Does Theory Help?

Clustering Data: Does Theory Help? Clustering Data: Does Theory Help? Ravi Kannan December 10, 2013 Ravi Kannan Clustering Data: Does Theory Help? December 10, 2013 1 / 27 Clustering Given n objects - divide (partition) them into k clusters.

More information

Clustering: Centroid-Based Partitioning

Clustering: Centroid-Based Partitioning Clustering: Centroid-Based Partitioning Yufei Tao Department of Computer Science and Engineering Chinese University of Hong Kong 1 / 29 Y Tao Clustering: Centroid-Based Partitioning In this lecture, we

More information

Note Set 4: Finite Mixture Models and the EM Algorithm

Note Set 4: Finite Mixture Models and the EM Algorithm Note Set 4: Finite Mixture Models and the EM Algorithm Padhraic Smyth, Department of Computer Science University of California, Irvine Finite Mixture Models A finite mixture model with K components, for

More information

Guarding Galleries and Terrains

Guarding Galleries and Terrains Guarding Galleries and Terrains Alon Efrat Sariel Har-Peled July 8, 2006 Abstract Let P be a polygon with n vertices. We say that two points of P see each other if the line segment connecting them lies

More information

{ 1} Definitions. 10. Extremal graph theory. Problem definition Paths and cycles Complete subgraphs

{ 1} Definitions. 10. Extremal graph theory. Problem definition Paths and cycles Complete subgraphs Problem definition Paths and cycles Complete subgraphs 10. Extremal graph theory 10.1. Definitions Let us examine the following forbidden subgraph problems: At most how many edges are in a graph of order

More information

Giovanni De Micheli. Integrated Systems Centre EPF Lausanne

Giovanni De Micheli. Integrated Systems Centre EPF Lausanne Two-level Logic Synthesis and Optimization Giovanni De Micheli Integrated Systems Centre EPF Lausanne This presentation can be used for non-commercial purposes as long as this note and the copyright footers

More information

6.856 Randomized Algorithms

6.856 Randomized Algorithms 6.856 Randomized Algorithms David Karger Handout #4, September 21, 2002 Homework 1 Solutions Problem 1 MR 1.8. (a) The min-cut algorithm given in class works because at each step it is very unlikely (probability

More information

Approximation Algorithms

Approximation Algorithms 18.433 Combinatorial Optimization Approximation Algorithms November 20,25 Lecturer: Santosh Vempala 1 Approximation Algorithms Any known algorithm that finds the solution to an NP-hard optimization problem

More information

arxiv:cs/ v1 [cs.cc] 28 Apr 2003

arxiv:cs/ v1 [cs.cc] 28 Apr 2003 ICM 2002 Vol. III 1 3 arxiv:cs/0304039v1 [cs.cc] 28 Apr 2003 Approximation Thresholds for Combinatorial Optimization Problems Uriel Feige Abstract An NP-hard combinatorial optimization problem Π is said

More information

CS510 \ Lecture Ariel Stolerman

CS510 \ Lecture Ariel Stolerman CS510 \ Lecture02 2012-10-03 1 Ariel Stolerman Midterm Evan will email about that after the lecture, at least 2 lectures from now. The exam will be given in a regular PDF (not an online form). We will

More information

Scenario Week 4: Art Gallery Competition

Scenario Week 4: Art Gallery Competition Scenario Week 4: Art Gallery Competition Organisers' Report scenario@cs.ucl.ac.uk 26 February 2016 The Week 94 participants 24 teams 1892 468 submissions for Part 2 One submissions for Part 1 subtle server

More information

Minimum-Link Watchman Tours

Minimum-Link Watchman Tours Minimum-Link Watchman Tours Esther M. Arkin Joseph S. B. Mitchell Christine D. Piatko Abstract We consider the problem of computing a watchman route in a polygon with holes. We show that the problem of

More information

Clustering. Unsupervised Learning

Clustering. Unsupervised Learning Clustering. Unsupervised Learning Maria-Florina Balcan 11/05/2018 Clustering, Informal Goals Goal: Automatically partition unlabeled data into groups of similar datapoints. Question: When and why would

More information