Where have all the cars gone? A model for determining traffic flow throughout a road network

Size: px
Start display at page:

Download "Where have all the cars gone? A model for determining traffic flow throughout a road network"

Transcription

1 A model for determining traffic flow throughout a road network Harvey Mudd College Presentation Days 7 May 2008

2 Traffic monitoring Important Equations Lots of Traffic + Small Roads = Congestion Congestion = Bad! Two Big Questions: 1 Where are all the cars? 2 How do we find them?

3 Traffic monitoring Important Equations Lots of Traffic + Small Roads = Congestion Congestion = Bad! Two Big Questions: 1 Where are all the cars? 2 How do we find them?

4 Traffic monitoring Important Equations Lots of Traffic + Small Roads = Congestion Congestion = Bad! Two Big Questions: 1 Where are all the cars? 2 How do we find them?

5 Traffic monitoring Important Equations Lots of Traffic + Small Roads = Congestion Congestion = Bad! Two Big Questions: 1 Where are all the cars? 2 How do we find them?

6 Traffic monitoring Important Equations Lots of Traffic + Small Roads = Congestion Congestion = Bad! Two Big Questions: 1 Where are all the cars? 2 How do we find them?

7 Graph theoretic approaches A Model Represent a map as a digraph D = (V, E): Intersections The vertex set V Streets The set E of directed edges Traffic flow (cars/time) A network flow function f The flow satisfies all the normal constraints. Flow in = Flow out Sources and sinks balanced Assume knowledge of all turning ratios. Percentage of incoming flow that leaves along an arc

8 Graph theoretic approaches A Model Represent a map as a digraph D = (V, E): Intersections The vertex set V Streets The set E of directed edges Traffic flow (cars/time) A network flow function f The flow satisfies all the normal constraints. Flow in = Flow out Sources and sinks balanced Assume knowledge of all turning ratios. Percentage of incoming flow that leaves along an arc

9 Graph theoretic approaches A Model Represent a map as a digraph D = (V, E): Intersections The vertex set V Streets The set E of directed edges Traffic flow (cars/time) A network flow function f The flow satisfies all the normal constraints. Flow in = Flow out Sources and sinks balanced Assume knowledge of all turning ratios. Percentage of incoming flow that leaves along an arc

10 Example Map of Claremont

11 Example The corresponding graph

12 Definitions Definition The set of bound vertices, B, is the set of sources and sinks in the graph. The amount produced or absorbed at each bound vertex v is the balancing flow at v, denoted S v. Definition If M V, the neighbor set of M, denoted A(M), is the set of all vertices adjacent to some vertex in M.

13 Definitions Definition The set of bound vertices, B, is the set of sources and sinks in the graph. The amount produced or absorbed at each bound vertex v is the balancing flow at v, denoted S v. Definition If M V, the neighbor set of M, denoted A(M), is the set of all vertices adjacent to some vertex in M.

14 Definitions Definition The set of bound vertices, B, is the set of sources and sinks in the graph. The amount produced or absorbed at each bound vertex v is the balancing flow at v, denoted S v. Definition If M V, the neighbor set of M, denoted A(M), is the set of all vertices adjacent to some vertex in M.

15 Example a Monitored Vertex Bound Vertex Adjacent Vertex b c f d e Figure: A simple graph showing the bound vertices, a monitored vertex, and its neighbor vertices.

16 Sensor Location Problem (SLP) The Problem Given a digraph D with bound vertex set B, a flow f, and knowledge of all turning ratios, is there a set M of monitored vertices such that f can be calculated everywhere on the graph from knowledge of the flow on M? Optimization What is the smallest such set?

17 Sensor Location Problem (SLP) The Problem Given a digraph D with bound vertex set B, a flow f, and knowledge of all turning ratios, is there a set M of monitored vertices such that f can be calculated everywhere on the graph from knowledge of the flow on M? Optimization What is the smallest such set?

18 Example a Monitored Vertex Bound Vertex Adjacent Vertex S =? b b f S =? f c d S =? d 1 2 e in = 9 out = 4 S e = 5 Figure: Suppose by monitoring vertex e we observe the given flow values.

19 Example a Monitored Vertex Bound Vertex Adjacent Vertex b c f d 1 2 e in = 9 out = 4 S e = 5 Figure: Applying the turning ratios yields these edges...

20 Example a Monitored Vertex in = 11 out = 21 S = 10 b b f 5 in = 11 out = 12 S f = 1 3 c Bound Vertex Adjacent Vertex in = 12 out = 6 S d = 6 d 1 2 e in = 9 out = 4 S e = 5 Figure: And applying them once more solves the problem.

21 System of equations a : 2f ab + f ba + f ca = 0 a b f c d e

22 System of equations a : 2f ab + f ba + f ca = 0 b : f ab 3f ba + f db + f fb + S b = 0 a b f c d e

23 System of equations a : 2f ab + f ba + f ca = 0 b : f ab 3f ba + f db + f fb + S b = 0 c : f ab 2f ca + f ed = 0 d : f ba 3f db + f ed + f fb + S d = 0 e : f ca + f db 4f ed + f fb + S e = 0 f : f ba + f db + 2f ed 3f fb + S f = 0 a b f c d e

24 System of equations a : 2f ab + f ba + f ca = 0 b : f ab 3f ba + f db + f fb + S b = 0 c : f ab 2f ca + f ed = 0 d : f ba 3f db + f ed + f fb + S d = 0 e : f ca + f db 4f ed + f fb + S e = 0 f : f ba + f db + 2f ed 3f fb + S f = 0 a b f c d e

25 System of equations a : 2f ab + f ba + f ca = 0 b : f ab 3f ba + f db + f fb + S b = 0 c : f ab 2f ca + f ed = 0 d : f ba 3f db + f ed + f fb + S d = 0 f : f ba + f db + 2f ed 3f fb + S f = 0 a b f c d e

26 System of equations a : 2f ab + f ba + 3 = 0 b : f ab 3f ba S b = 0 c : f ab = 0 d : f ba S d = 0 f : f ba S f = 0 a b c f d 1 2 e

27 System of equations a : 2f ab + f ba = 3 b : f ab 3f ba + S b = 6 c : f ab = 5 d : f ba + S d = 1 f : f ba + S f = 8 a b c f d 1 2 e

28 Question When can we calculate the flow in general? When is this system of equations linearly independent?

29 Question When can we calculate the flow in general? When is this system of equations linearly independent?

30 Answer: Sometimes! Monitored Vertex Bound Vertex c Adjacent Vertex a e b d Figure: In this graph we can t calculate the flow...

31 Answer: Sometimes! Monitored Vertex Bound Vertex c Adjacent Vertex c f a e b a e b d d Figure: But in this graph, we can!

32 Failed attempts Attempt #1: A theorem was presented in [Bianco et al.(2001)] that presented a necessary and sufficient condition for calculating the flow. Attempt #2: I formulated a conjecture that modified this theorem to give a new necessary and sufficient condition for flow calculability.

33 Failed attempts Attempt #1: A theorem was presented in [Bianco et al.(2001)] that presented a necessary and sufficient condition for calculating the flow. It was wrong. Attempt #2: I formulated a conjecture that modified this theorem to give a new necessary and sufficient condition for flow calculability.

34 Failed attempts Attempt #1: A theorem was presented in [Bianco et al.(2001)] that presented a necessary and sufficient condition for calculating the flow. It was wrong. Attempt #2: I formulated a conjecture that modified this theorem to give a new necessary and sufficient condition for flow calculability.

35 Failed attempts Attempt #1: A theorem was presented in [Bianco et al.(2001)] that presented a necessary and sufficient condition for calculating the flow. It was wrong. Attempt #2: I formulated a conjecture that modified this theorem to give a new necessary and sufficient condition for flow calculability. It was wrong, too.

36 Failed attempts Attempt #1: A theorem was presented in [Bianco et al.(2001)] that presented a necessary and sufficient condition for calculating the flow. It was wrong. Attempt #2: I formulated a conjecture that modified this theorem to give a new necessary and sufficient condition for flow calculability. It was wrong, too. Well, mostly.

37 A necessary condition Theorem If there are fewer than B M vertex-disjoint paths between A(M) and B M, the flow on the graph cannot be uniquely determined by monitoring M.

38 A necessary condition Theorem If there are fewer than B M vertex-disjoint paths between A(M) and B M, the flow on the graph cannot be uniquely determined by monitoring M.

39 A necessary condition Theorem If there are fewer than B M vertex-disjoint paths between A(M) and B M, the flow on the graph cannot be uniquely determined by monitoring M.

40 A necessary condition Theorem If there are fewer than B M vertex-disjoint paths between A(M) and B M, the flow on the graph cannot be uniquely determined by monitoring M.

41 A necessary condition Theorem If there are fewer than B M vertex-disjoint paths between A(M) and B M, the flow on the graph cannot be uniquely determined by monitoring M.

42 Example Monitored Vertex Bound Vertex e Adjacent Vertex B path f b c d a Figure: B M = 2, but there is only one vertex-disjoint path from B M to A(M). Thus, we cannot calculate the flow on this graph by monitoring vertex a.

43 Example Monitored Vertex Bound Vertex Adjacent Vertex B path c a e b d Figure: In this graph, there are 2 vertex-disjoint paths from B M to A(M), but we still are unable to calculate the flow by only monitoring vertex e.

44 A necessary condition (cont.) Proof (Sketch). Menger s theorem implies #{vertex-disjoint paths} = minimum vertex cut Convert the system of equations into a matrix equation Examine a particular submatrix, and calculate the rank Apply a book-keeping argument to deduce the size of the minimum cut

45 A necessary condition (cont.) Proof (Sketch). Menger s theorem implies #{vertex-disjoint paths} = minimum vertex cut Convert the system of equations into a matrix equation Examine a particular submatrix, and calculate the rank Apply a book-keeping argument to deduce the size of the minimum cut

46 A necessary condition (cont.) Proof (Sketch). Menger s theorem implies #{vertex-disjoint paths} = minimum vertex cut Convert the system of equations into a matrix equation Examine a particular submatrix, and calculate the rank Apply a book-keeping argument to deduce the size of the minimum cut

47 A necessary condition (cont.) Proof (Sketch). Menger s theorem implies #{vertex-disjoint paths} = minimum vertex cut Convert the system of equations into a matrix equation Examine a particular submatrix, and calculate the rank Apply a book-keeping argument to deduce the size of the minimum cut

48 Computational complexity Even without a sufficient condition on the graph structure for determining flow, we can determine the complexity of SLP: Theorem SLP is NP-complete Proof (sketch). Apply a reduction from Dominating Set to the matrix formulation of the problem.

49 Computational complexity Even without a sufficient condition on the graph structure for determining flow, we can determine the complexity of SLP: Theorem SLP is NP-complete Proof (sketch). Apply a reduction from Dominating Set to the matrix formulation of the problem.

50 Computational complexity Even without a sufficient condition on the graph structure for determining flow, we can determine the complexity of SLP: Theorem SLP is NP-complete Proof (sketch). Apply a reduction from Dominating Set to the matrix formulation of the problem.

51 Future Work Determine a sufficient condition for flow calculability Find polynomial-time algorithms for specific classes of graphs (trees?) Develop approximation algorithms for the general case

52 Future Work Determine a sufficient condition for flow calculability Find polynomial-time algorithms for specific classes of graphs (trees?) Develop approximation algorithms for the general case

53 Future Work Determine a sufficient condition for flow calculability Find polynomial-time algorithms for specific classes of graphs (trees?) Develop approximation algorithms for the general case

54 Acknowledgements Prof. Susan Martonosi Dr. Kimberly Tucker Dr. Lucio Bianco Claire Connelly

55 References Lucio Bianco, Giuseppe Confessore, and Pierfrancesco Reverberi. A network based model for traffic sensor location with implications on O/D matrix estimates. Transportation Science, 35(1):50 60, Apr Lucio Bianco, Giuseppe Confessore, and Monica Gentili. Combinatorial aspects of the sensor location problem. Annals of Operations Research, 144(1): , Apr Giuseppe Confessore, Paolo Dell Olmo, and Monica Gentili. Experimental evaluation of approximation and heuristic algorithms for the dominating paths problem. Computers & Operations Research, 32(9): , Sept

Characteristics of Optimal Solutions to the Sensor Location Problem

Characteristics of Optimal Solutions to the Sensor Location Problem Characteristics of Optimal Solutions to the Sensor Location Problem David R. Morrison Susan Martonosi, Advisor Kimberly Tucker, Reader May, 2008 Department of Mathematics Copyright c 2008 David R. Morrison.

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

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees

Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Algorithm and Complexity of Disjointed Connected Dominating Set Problem on Trees Wei Wang joint with Zishen Yang, Xianliang Liu School of Mathematics and Statistics, Xi an Jiaotong University Dec 20, 2016

More information

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Graphs Extremely important concept in computer science Graph, : node (or vertex) set : edge set Simple graph: no self loops, no multiple

More information

Introduction to Graph Theory

Introduction to Graph Theory Introduction to Graph Theory Tandy Warnow January 20, 2017 Graphs Tandy Warnow Graphs A graph G = (V, E) is an object that contains a vertex set V and an edge set E. We also write V (G) to denote the vertex

More information

Paths, Circuits, and Connected Graphs

Paths, Circuits, and Connected Graphs Paths, Circuits, and Connected Graphs Paths and Circuits Definition: Let G = (V, E) be an undirected graph, vertices u, v V A path of length n from u to v is a sequence of edges e i = {u i 1, u i} E for

More information

On 2-Subcolourings of Chordal Graphs

On 2-Subcolourings of Chordal Graphs On 2-Subcolourings of Chordal Graphs Juraj Stacho School of Computing Science, Simon Fraser University 8888 University Drive, Burnaby, B.C., Canada V5A 1S6 jstacho@cs.sfu.ca Abstract. A 2-subcolouring

More information

The complement of PATH is in NL

The complement of PATH is in NL 340 The complement of PATH is in NL Let c be the number of nodes in graph G that are reachable from s We assume that c is provided as an input to M Given G, s, t, and c the machine M operates as follows:

More information

On the Balanced Case of the Brualdi-Shen Conjecture on 4-Cycle Decompositions of Eulerian Bipartite Tournaments

On the Balanced Case of the Brualdi-Shen Conjecture on 4-Cycle Decompositions of Eulerian Bipartite Tournaments Electronic Journal of Graph Theory and Applications 3 (2) (2015), 191 196 On the Balanced Case of the Brualdi-Shen Conjecture on 4-Cycle Decompositions of Eulerian Bipartite Tournaments Rafael Del Valle

More information

4 Integer Linear Programming (ILP)

4 Integer Linear Programming (ILP) TDA6/DIT37 DISCRETE OPTIMIZATION 17 PERIOD 3 WEEK III 4 Integer Linear Programg (ILP) 14 An integer linear program, ILP for short, has the same form as a linear program (LP). The only difference is that

More information

UML CS Algorithms Qualifying Exam Spring, 2004 ALGORITHMS QUALIFYING EXAM

UML CS Algorithms Qualifying Exam Spring, 2004 ALGORITHMS QUALIFYING EXAM NAME: This exam is open: - books - notes and closed: - neighbors - calculators ALGORITHMS QUALIFYING EXAM The upper bound on exam time is 3 hours. Please put all your work on the exam paper. (Partial credit

More information

Network flows and Menger s theorem

Network flows and Menger s theorem Network flows and Menger s theorem Recall... Theorem (max flow, min cut strong duality). Let G be a network. The maximum value of a flow equals the minimum capacity of a cut. We prove this strong duality

More information

Assignment 1 Introduction to Graph Theory CO342

Assignment 1 Introduction to Graph Theory CO342 Assignment 1 Introduction to Graph Theory CO342 This assignment will be marked out of a total of thirty points, and is due on Thursday 18th May at 10am in class. Throughout the assignment, the graphs are

More information

Minimum Cost Edge Disjoint Paths

Minimum Cost Edge Disjoint Paths Minimum Cost Edge Disjoint Paths Theodor Mader 15.4.2008 1 Introduction Finding paths in networks and graphs constitutes an area of theoretical computer science which has been highly researched during

More information

Lecture 3: Graphs and flows

Lecture 3: Graphs and flows Chapter 3 Lecture 3: Graphs and flows Graphs: a useful combinatorial structure. Definitions: graph, directed and undirected graph, edge as ordered pair, path, cycle, connected graph, strongly connected

More information

Lecture 10 October 7, 2014

Lecture 10 October 7, 2014 6.890: Algorithmic Lower Bounds: Fun With Hardness Proofs Fall 2014 Lecture 10 October 7, 2014 Prof. Erik Demaine Scribes: Fermi Ma, Asa Oines, Mikhail Rudoy, Erik Waingarten Overview This lecture begins

More information

11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions

11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions Introduction Chapter 9 Graph Algorithms graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 2 Definitions an undirected graph G = (V, E) is

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 3 Definitions an undirected graph G = (V, E)

More information

Vertex Cover Approximations

Vertex Cover Approximations CS124 Lecture 20 Heuristics can be useful in practice, but sometimes we would like to have guarantees. Approximation algorithms give guarantees. It is worth keeping in mind that sometimes approximation

More information

Approximability Results for the p-center Problem

Approximability Results for the p-center Problem Approximability Results for the p-center Problem Stefan Buettcher Course Project Algorithm Design and Analysis Prof. Timothy Chan University of Waterloo, Spring 2004 The p-center

More information

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748

COT 6936: Topics in Algorithms! Giri Narasimhan. ECS 254A / EC 2443; Phone: x3748 COT 6936: Topics in Algorithms! Giri Narasimhan ECS 254A / EC 2443; Phone: x3748 giri@cs.fiu.edu http://www.cs.fiu.edu/~giri/teach/cot6936_s12.html https://moodle.cis.fiu.edu/v2.1/course/view.php?id=174

More information

The Full Survey on The Euclidean Steiner Tree Problem

The Full Survey on The Euclidean Steiner Tree Problem The Full Survey on The Euclidean Steiner Tree Problem Shikun Liu Abstract The Steiner Tree Problem is a famous and long-studied problem in combinatorial optimization. However, the best heuristics algorithm

More information

Graph Algorithms Matching

Graph Algorithms Matching Chapter 5 Graph Algorithms Matching Algorithm Theory WS 2012/13 Fabian Kuhn Circulation: Demands and Lower Bounds Given: Directed network, with Edge capacities 0and lower bounds l for Node demands for

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

SOLVING LARGE CARPOOLING PROBLEMS USING GRAPH THEORETIC TOOLS

SOLVING LARGE CARPOOLING PROBLEMS USING GRAPH THEORETIC TOOLS July, 2014 1 SOLVING LARGE CARPOOLING PROBLEMS USING GRAPH THEORETIC TOOLS Irith Ben-Arroyo Hartman Datasim project - (joint work with Abed Abu dbai, Elad Cohen, Daniel Keren) University of Haifa, Israel

More information

Fast algorithms for max independent set

Fast algorithms for max independent set Fast algorithms for max independent set N. Bourgeois 1 B. Escoffier 1 V. Th. Paschos 1 J.M.M. van Rooij 2 1 LAMSADE, CNRS and Université Paris-Dauphine, France {bourgeois,escoffier,paschos}@lamsade.dauphine.fr

More information

Structured System Theory

Structured System Theory Appendix C Structured System Theory Linear systems are often studied from an algebraic perspective, based on the rank of certain matrices. While such tests are easy to derive from the mathematical model,

More information

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are

More information

Cluster Editing with Locally Bounded Modifications Revisited

Cluster Editing with Locally Bounded Modifications Revisited Cluster Editing with Locally Bounded Modifications Revisited Peter Damaschke Department of Computer Science and Engineering Chalmers University, 41296 Göteborg, Sweden ptr@chalmers.se Abstract. For Cluster

More information

Sparse Hypercube 3-Spanners

Sparse Hypercube 3-Spanners Sparse Hypercube 3-Spanners W. Duckworth and M. Zito Department of Mathematics and Statistics, University of Melbourne, Parkville, Victoria 3052, Australia Department of Computer Science, University of

More information

Directed Graph and Binary Trees

Directed Graph and Binary Trees and Dr. Nahid Sultana December 19, 2012 and Degrees Paths and Directed graphs are graphs in which the edges are one-way. This type of graphs are frequently more useful in various dynamic systems such as

More information

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1 Graph fundamentals Bipartite graph characterization Lemma. If a graph contains an odd closed walk, then it contains an odd cycle. Proof strategy: Consider a shortest closed odd walk W. If W is not a cycle,

More information

Jörgen Bang-Jensen and Gregory Gutin. Digraphs. Theory, Algorithms and Applications. Springer

Jörgen Bang-Jensen and Gregory Gutin. Digraphs. Theory, Algorithms and Applications. Springer Jörgen Bang-Jensen and Gregory Gutin Digraphs Theory, Algorithms and Applications Springer Contents 1. Basic Terminology, Notation and Results 1 1.1 Sets, Subsets, Matrices and Vectors 1 1.2 Digraphs,

More information

POLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if

POLYHEDRAL GEOMETRY. Convex functions and sets. Mathematical Programming Niels Lauritzen Recall that a subset C R n is convex if POLYHEDRAL GEOMETRY Mathematical Programming Niels Lauritzen 7.9.2007 Convex functions and sets Recall that a subset C R n is convex if {λx + (1 λ)y 0 λ 1} C for every x, y C and 0 λ 1. A function f :

More information

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.

Copyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch. Iterative Improvement Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change the current feasible

More information

The Encoding Complexity of Network Coding

The Encoding Complexity of Network Coding The Encoding Complexity of Network Coding Michael Langberg Alexander Sprintson Jehoshua Bruck California Institute of Technology Email: mikel,spalex,bruck @caltech.edu Abstract In the multicast network

More information

Topic 10 Part 2 [474 marks]

Topic 10 Part 2 [474 marks] Topic Part 2 [474 marks] The complete graph H has the following cost adjacency matrix Consider the travelling salesman problem for H a By first finding a minimum spanning tree on the subgraph of H formed

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

Lecture 3: Totally Unimodularity and Network Flows

Lecture 3: Totally Unimodularity and Network Flows Lecture 3: Totally Unimodularity and Network Flows (3 units) Outline Properties of Easy Problems Totally Unimodular Matrix Minimum Cost Network Flows Dijkstra Algorithm for Shortest Path Problem Ford-Fulkerson

More information

LECTURES 3 and 4: Flows and Matchings

LECTURES 3 and 4: Flows and Matchings LECTURES 3 and 4: Flows and Matchings 1 Max Flow MAX FLOW (SP). Instance: Directed graph N = (V,A), two nodes s,t V, and capacities on the arcs c : A R +. A flow is a set of numbers on the arcs such that

More information

Interval Graphs. Joyce C. Yang. Nicholas Pippenger, Advisor. Arthur T. Benjamin, Reader. Department of Mathematics

Interval Graphs. Joyce C. Yang. Nicholas Pippenger, Advisor. Arthur T. Benjamin, Reader. Department of Mathematics Interval Graphs Joyce C. Yang Nicholas Pippenger, Advisor Arthur T. Benjamin, Reader Department of Mathematics May, 2016 Copyright c 2016 Joyce C. Yang. The author grants Harvey Mudd College and the Claremont

More information

On Universal Cycles of Labeled Graphs

On Universal Cycles of Labeled Graphs On Universal Cycles of Labeled Graphs Greg Brockman Harvard University Cambridge, MA 02138 United States brockman@hcs.harvard.edu Bill Kay University of South Carolina Columbia, SC 29208 United States

More information

CMPSCI 311: Introduction to Algorithms Practice Final Exam

CMPSCI 311: Introduction to Algorithms Practice Final Exam CMPSCI 311: Introduction to Algorithms Practice Final Exam Name: ID: Instructions: Answer the questions directly on the exam pages. Show all your work for each question. Providing more detail including

More information

Graph Connectivity G G G

Graph Connectivity G G G Graph Connectivity 1 Introduction We have seen that trees are minimally connected graphs, i.e., deleting any edge of the tree gives us a disconnected graph. What makes trees so susceptible to edge deletions?

More information

6. Lecture notes on matroid intersection

6. Lecture notes on matroid intersection Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm

More information

Combinatorial Interpretations of Spanning Tree Identities

Combinatorial Interpretations of Spanning Tree Identities Combinatorial Interpretations of Spanning Tree Identities Arthur T. Benjamin and Carl R. Yerger November 14, 2004 Abstract We present a combinatorial proof that the wheel graph W n has L 2n 2 spanning

More information

CONNECTIVITY AND NETWORKS

CONNECTIVITY AND NETWORKS CONNECTIVITY AND NETWORKS We begin with the definition of a few symbols, two of which can cause great confusion, especially when hand-written. Consider a graph G. (G) the degree of the vertex with smallest

More information

Lecture 7. s.t. e = (u,v) E x u + x v 1 (2) v V x v 0 (3)

Lecture 7. s.t. e = (u,v) E x u + x v 1 (2) v V x v 0 (3) COMPSCI 632: Approximation Algorithms September 18, 2017 Lecturer: Debmalya Panigrahi Lecture 7 Scribe: Xiang Wang 1 Overview In this lecture, we will use Primal-Dual method to design approximation algorithms

More information

Exact Algorithms Lecture 7: FPT Hardness and the ETH

Exact Algorithms Lecture 7: FPT Hardness and the ETH Exact Algorithms Lecture 7: FPT Hardness and the ETH February 12, 2016 Lecturer: Michael Lampis 1 Reminder: FPT algorithms Definition 1. A parameterized problem is a function from (χ, k) {0, 1} N to {0,

More information

Flexible Coloring. Xiaozhou Li a, Atri Rudra b, Ram Swaminathan a. Abstract

Flexible Coloring. Xiaozhou Li a, Atri Rudra b, Ram Swaminathan a. Abstract Flexible Coloring Xiaozhou Li a, Atri Rudra b, Ram Swaminathan a a firstname.lastname@hp.com, HP Labs, 1501 Page Mill Road, Palo Alto, CA 94304 b atri@buffalo.edu, Computer Sc. & Engg. dept., SUNY Buffalo,

More information

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 9.1 Linear Programming Suppose we are trying to approximate a minimization

More information

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving

f( x ), or a solution to the equation f( x) 0. You are already familiar with ways of solving The Bisection Method and Newton s Method. If f( x ) a function, then a number r for which f( r) 0 is called a zero or a root of the function f( x ), or a solution to the equation f( x) 0. You are already

More information

CSE 417 Network Flows (pt 3) Modeling with Min Cuts

CSE 417 Network Flows (pt 3) Modeling with Min Cuts CSE 417 Network Flows (pt 3) Modeling with Min Cuts Reminders > HW6 is due on Friday start early bug fixed on line 33 of OptimalLineup.java: > change true to false Review of last two lectures > Defined

More information

Generalized Pebbling Number

Generalized Pebbling Number International Mathematical Forum, 5, 2010, no. 27, 1331-1337 Generalized Pebbling Number A. Lourdusamy Department of Mathematics St. Xavier s College (Autonomous) Palayamkottai - 627 002, India lourdugnanam@hotmail.com

More information

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Spring 2018 The Simplex Algorithm Instructor: Shaddin Dughmi Algorithms for Convex Optimization We will look at 2 algorithms in detail: Simplex and Ellipsoid.

More information

2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006

2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006 2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006 The Encoding Complexity of Network Coding Michael Langberg, Member, IEEE, Alexander Sprintson, Member, IEEE, and Jehoshua Bruck,

More information

Dual-Based Approximation Algorithms for Cut-Based Network Connectivity Problems

Dual-Based Approximation Algorithms for Cut-Based Network Connectivity Problems Dual-Based Approximation Algorithms for Cut-Based Network Connectivity Problems Benjamin Grimmer bdg79@cornell.edu arxiv:1508.05567v2 [cs.ds] 20 Jul 2017 Abstract We consider a variety of NP-Complete network

More information

Lecture 11: Maximum flow and minimum cut

Lecture 11: Maximum flow and minimum cut Optimisation Part IB - Easter 2018 Lecture 11: Maximum flow and minimum cut Lecturer: Quentin Berthet 4.4. The maximum flow problem. We consider in this lecture a particular kind of flow problem, with

More information

CS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem

CS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem CS61: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem Tim Roughgarden February 5, 016 1 The Traveling Salesman Problem (TSP) In this lecture we study a famous computational problem,

More information

Multicasting in the Hypercube, Chord and Binomial Graphs

Multicasting in the Hypercube, Chord and Binomial Graphs Multicasting in the Hypercube, Chord and Binomial Graphs Christopher C. Cipriano and Teofilo F. Gonzalez Department of Computer Science University of California, Santa Barbara, CA, 93106 E-mail: {ccc,teo}@cs.ucsb.edu

More information

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 03/02/17

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 03/02/17 CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh (rezab@stanford.edu) HW#3 Due at the beginning of class Thursday 03/02/17 1. Consider a model of a nonbipartite undirected graph in which

More information

arxiv: v1 [cs.ds] 9 Sep 2015

arxiv: v1 [cs.ds] 9 Sep 2015 Approximating the Smallest Spanning Subgraph for 2-Edge-Connectivity in Directed Graphs Loukas Georgiadis Giuseppe F. Italiano Charis Papadopoulos Nikos Parotsidis arxiv:1509.02841v1 [cs.ds] 9 Sep 2015

More information

On The Complexity of Virtual Topology Design for Multicasting in WDM Trees with Tap-and-Continue and Multicast-Capable Switches

On The Complexity of Virtual Topology Design for Multicasting in WDM Trees with Tap-and-Continue and Multicast-Capable Switches On The Complexity of Virtual Topology Design for Multicasting in WDM Trees with Tap-and-Continue and Multicast-Capable Switches E. Miller R. Libeskind-Hadas D. Barnard W. Chang K. Dresner W. M. Turner

More information

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs Frankie Smith Nebraska Wesleyan University fsmith@nebrwesleyan.edu May 11, 2015 Abstract We will look at how to represent

More information

Chapter 8. NP-complete problems

Chapter 8. NP-complete problems Chapter 8. NP-complete problems Search problems E cient algorithms We have developed algorithms for I I I I I finding shortest paths in graphs, minimum spanning trees in graphs, matchings in bipartite

More information

Lecture outline. Graph coloring Examples Applications Algorithms

Lecture outline. Graph coloring Examples Applications Algorithms Lecture outline Graph coloring Examples Applications Algorithms Graph coloring Adjacent nodes must have different colors. How many colors do we need? Graph coloring Neighbors must have different colors

More information

Complementary Graph Coloring

Complementary Graph Coloring International Journal of Computer (IJC) ISSN 2307-4523 (Print & Online) Global Society of Scientific Research and Researchers http://ijcjournal.org/ Complementary Graph Coloring Mohamed Al-Ibrahim a*,

More information

Ma/CS 6b Class 2: Matchings

Ma/CS 6b Class 2: Matchings Ma/CS 6b Class 2: Matchings By Adam Sheffer Send anonymous suggestions and complaints from here. Email: adamcandobetter@gmail.com Password: anonymous2 There aren t enough crocodiles in the presentations

More information

Dominating Sets in Triangulations on Surfaces

Dominating Sets in Triangulations on Surfaces Dominating Sets in Triangulations on Surfaces Hong Liu Department of Mathematics University of Illinois This is a joint work with Michael Pelsmajer May 14, 2011 Introduction A dominating set D V of a graph

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures Chapter 9 Graph s 2 Definitions Definitions an undirected graph is a finite set

More information

On Structural Parameterizations of the Matching Cut Problem

On Structural Parameterizations of the Matching Cut Problem On Structural Parameterizations of the Matching Cut Problem N. R. Aravind, Subrahmanyam Kalyanasundaram, and Anjeneya Swami Kare Department of Computer Science and Engineering, IIT Hyderabad, Hyderabad,

More information

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs CS 311 Discrete Math for Computer Science Dr. William C. Bulko Graphs 2014 Definitions Definition: A graph G = (V,E) consists of a nonempty set V of vertices (or nodes) and a set E of edges. Each edge

More information

Lecture Orientations, Directed Cuts and Submodular Flows

Lecture Orientations, Directed Cuts and Submodular Flows 18.997 Topics in Combinatorial Optimization April 15th, 2004 Lecture 18 Lecturer: Michel X. Goemans Scribe: Nick Harvey 18 Orientations, irected Cuts and Submodular Flows In this lecture, we will introduce

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

The Simplex Algorithm for LP, and an Open Problem

The Simplex Algorithm for LP, and an Open Problem The Simplex Algorithm for LP, and an Open Problem Linear Programming: General Formulation Inputs: real-valued m x n matrix A, and vectors c in R n and b in R m Output: n-dimensional vector x There is one

More information

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 02/26/15

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 02/26/15 CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh (rezab@stanford.edu) HW#3 Due at the beginning of class Thursday 02/26/15 1. Consider a model of a nonbipartite undirected graph in which

More information

Module 11. Directed Graphs. Contents

Module 11. Directed Graphs. Contents Module 11 Directed Graphs Contents 11.1 Basic concepts......................... 256 Underlying graph of a digraph................ 257 Out-degrees and in-degrees.................. 258 Isomorphism..........................

More information

CS 4407 Algorithms. Lecture 8: Circumventing Intractability, using Approximation and other Techniques

CS 4407 Algorithms. Lecture 8: Circumventing Intractability, using Approximation and other Techniques CS 4407 Algorithms Lecture 8: Circumventing Intractability, using Approximation and other Techniques Prof. Gregory Provan Department of Computer Science University College Cork CS 4010 1 Lecture Outline

More information

A Constant Bound for the Periods of Parallel Chip-firing Games with Many Chips

A Constant Bound for the Periods of Parallel Chip-firing Games with Many Chips A Constant Bound for the Periods of Parallel Chip-firing Games with Many Chips Paul Myer Kominers and Scott Duke Kominers Abstract. We prove that any parallel chip-firing game on a graph G with at least

More information

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University Graphs: Introduction Ali Shokoufandeh, Department of Computer Science, Drexel University Overview of this talk Introduction: Notations and Definitions Graphs and Modeling Algorithmic Graph Theory and Combinatorial

More information

Some Applications of Graph Bandwidth to Constraint Satisfaction Problems

Some Applications of Graph Bandwidth to Constraint Satisfaction Problems Some Applications of Graph Bandwidth to Constraint Satisfaction Problems Ramin Zabih Computer Science Department Stanford University Stanford, California 94305 Abstract Bandwidth is a fundamental concept

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures 3 Definitions an undirected graph G = (V, E) is a

More information

A Constructive Proof of Ky Fan's Generalization of Tucker's Lemma

A Constructive Proof of Ky Fan's Generalization of Tucker's Lemma Claremont Colleges Scholarship @ Claremont All HMC Faculty Publications and Research HMC Faculty Scholarship 8-1-2005 A Constructive Proof of Ky Fan's Generalization of Tucker's Lemma Timothy Prescott

More information

Strongly connected: A directed graph is strongly connected if every pair of vertices are reachable from each other.

Strongly connected: A directed graph is strongly connected if every pair of vertices are reachable from each other. Directed Graph In a directed graph, each edge (u, v) has a direction u v. Thus (u, v) (v, u). Directed graph is useful to model many practical problems (such as one-way road in traffic network, and asymmetric

More information

Binary Relations McGraw-Hill Education

Binary Relations McGraw-Hill Education Binary Relations A binary relation R from a set A to a set B is a subset of A X B Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B. We can also represent

More information

Ma/CS 6a Class 27: Shortest Paths

Ma/CS 6a Class 27: Shortest Paths // Ma/CS a Class 7: Shortest Paths By Adam Sheffer Naïve Path Planning Problem. We are given a map with cities and noncrossing roads between pairs of cities. Describe an algorithm for finding a path between

More information

arxiv: v1 [cs.dm] 21 Dec 2015

arxiv: v1 [cs.dm] 21 Dec 2015 The Maximum Cardinality Cut Problem is Polynomial in Proper Interval Graphs Arman Boyacı 1, Tinaz Ekim 1, and Mordechai Shalom 1 Department of Industrial Engineering, Boğaziçi University, Istanbul, Turkey

More information

Module 10. Network Simplex Method:

Module 10. Network Simplex Method: Module 10 1 Network Simplex Method: In this lecture we shall study a specialized simplex method specifically designed to solve network structured linear programming problems. This specialized algorithm

More information

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions.

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions. CS 787: Advanced Algorithms NP-Hardness Instructor: Dieter van Melkebeek We review the concept of polynomial-time reductions, define various classes of problems including NP-complete, and show that 3-SAT

More information

INTRODUCTION TO THE HOMOLOGY GROUPS OF COMPLEXES

INTRODUCTION TO THE HOMOLOGY GROUPS OF COMPLEXES INTRODUCTION TO THE HOMOLOGY GROUPS OF COMPLEXES RACHEL CARANDANG Abstract. This paper provides an overview of the homology groups of a 2- dimensional complex. It then demonstrates a proof of the Invariance

More information

The NP-Completeness of Some Edge-Partition Problems

The NP-Completeness of Some Edge-Partition Problems The NP-Completeness of Some Edge-Partition Problems Ian Holyer y SIAM J. COMPUT, Vol. 10, No. 4, November 1981 (pp. 713-717) c1981 Society for Industrial and Applied Mathematics 0097-5397/81/1004-0006

More information

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition.

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition. 18.433 Combinatorial Optimization Matching Algorithms September 9,14,16 Lecturer: Santosh Vempala Given a graph G = (V, E), a matching M is a set of edges with the property that no two of the edges have

More information

Line Planning and Steiner Path Connectivity

Line Planning and Steiner Path Connectivity Line Planning and Steiner Path Connectivity Ralf Borndörfer 2015 Workshop on Combinatorial Optimization with Applications in Transportation and Logistics Beijing, 28.07.2015 Line Planning and Steiner Path

More information

by conservation of flow, hence the cancelation. Similarly, we have

by conservation of flow, hence the cancelation. Similarly, we have Chapter 13: Network Flows and Applications Network: directed graph with source S and target T. Non-negative edge weights represent capacities. Assume no edges into S or out of T. (If necessary, we can

More information

Classification of All Crescent Configurations on Four and Five Points

Classification of All Crescent Configurations on Four and Five Points Classification of All Crescent Configurations on Four and Five Points Rebecca F. Durst, Max Hlavacek, Chi Huynh SMALL 2016 rfd1@williams.edu, mhlavacek@hmc.edu, nhuynh30@gatech.edu Young Mathematicians

More information

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36

CS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 36 CS 473: Algorithms Ruta Mehta University of Illinois, Urbana-Champaign Spring 2018 Ruta (UIUC) CS473 1 Spring 2018 1 / 36 CS 473: Algorithms, Spring 2018 LP Duality Lecture 20 April 3, 2018 Some of the

More information

Notes on Minimum Cuts and Modular Functions

Notes on Minimum Cuts and Modular Functions Notes on Minimum Cuts and Modular Functions 1 Introduction The following are my notes on Cunningham s paper [1]. Given a submodular function f and a set S, submodular minimisation is the problem of finding

More information

Discrete Optimization

Discrete Optimization Minisymposium 1 Discrete Optimization Leiter des Symposiums: Prof. Dr. Jens Vygen Prof. Dr. Robert Weismantel Forschungsinstitut für Fakultät für Mathematik / IMO Diskrete Mathematik Universität Bonn Otto-von-Guericke-Universität

More information

Stanford University CS359G: Graph Partitioning and Expanders Handout 1 Luca Trevisan January 4, 2011

Stanford University CS359G: Graph Partitioning and Expanders Handout 1 Luca Trevisan January 4, 2011 Stanford University CS359G: Graph Partitioning and Expanders Handout 1 Luca Trevisan January 4, 2011 Lecture 1 In which we describe what this course is about. 1 Overview This class is about the following

More information

Module 6 NP-Complete Problems and Heuristics

Module 6 NP-Complete Problems and Heuristics Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu P, NP-Problems Class

More information