Covering Trains by Stations or The power of Data Reduction Karsten Weihe, ALEX98, 1998 Presented by Yantao Song.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Vertex Cover Dominating Set These slides are based on the Lecture Notes by David Mount for the course CMSC 451 at the University of Maryland. The Copyright.
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
CSC401 – Analysis of Algorithms Lecture Notes 14 Graph Biconnectivity
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
TECH Computer Science Graphs and Graph Traversals  // From Tree to Graph  // Many programs can be cast as problems on graph Definitions and Representations.
Chapter 9 Connectivity 连通度. 9.1 Connectivity Consider the following graphs:  G 1 : Deleting any edge makes it disconnected.  G 2 : Cannot be disconnected.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
Tirgul 8 Graph algorithms: Strongly connected components.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Data Transmission and Base Station Placement for Optimizing Network Lifetime. E. Arkin, V. Polishchuk, A. Efrat, S. Ramasubramanian,V. PolishchukA. EfratS.
Optimal Sleep-Wakeup Algorithms for Barriers of Wireless Sensors S. Kumar, T. Lai, M. Posner and P. Sinha, BROADNETS ’ 2007.
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints Maximal Matching: A maximal matching in a graph is a matching.
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
A Solution for the Bandwidth Optimization Problem with 2 Stations Rahul Bijlani, Louis Deaett and Maksim Orlovich.
Odds and Ends HP ≤ p HC (again) –Turing reductions Strong NP-completeness versus Weak NP-completeness Vertex Cover to Hamiltonian Cycle.
The Maximum Independent Set Problem Sarah Bleiler DIMACS REU 2005 Advisor: Dr. Vadim Lozin, RUTCOR.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Introduction to Graph Theory
GRAPH Learning Outcomes Students should be able to:
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each decision is locally optimal. These.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Efficient Gathering of Correlated Data in Sensor Networks
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Sets.
CSE 421 Algorithms Richard Anderson Lecture 24 Network Flow Applications.
UNC Chapel Hill Lin/Foskey/Manocha Minimum Spanning Trees Problem: Connect a set of nodes by a network of minimal total length Some applications: –Communication.
© 2015 JW Ryder CSCI 203 Data Structures1. © 2015 JW Ryder CSCI 203 Data Structures2.
Approximation Algorithms
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Zhuo Peng, Chaokun Wang, Lu Han, Jingchao Hao and Yiyuan Ba Proceedings of the Third International Conference on Emerging Databases, Incheon, Korea (August.
CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Sets.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Chapter 13 Backtracking Introduction The 3-coloring problem
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Iterative Improvement for Domain-Specific Problems Lecturer: Jing Liu Homepage:
Discrete Optimization Lecture 3 – Part 1 M. Pawan Kumar Slides available online
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
COMPLEXITY. Satisfiability(SAT) problem Conjunctive normal form(CNF): Let S be a Boolean expression in CNF. That is, S is the product(and) of several.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
The Theory of NP-Completeness
Minimum Spanning Trees
The Taxi Scheduling Problem
Computability and Complexity
Autumn 2016 Lecture 11 Minimum Spanning Trees (Part II)
ICS 353: Design and Analysis of Algorithms
Parameterised Complexity
Minimum Spanning Trees
Autumn 2015 Lecture 11 Minimum Spanning Trees (Part II)
CS 583 Analysis of Algorithms
Algorithms for Budget-Constrained Survivable Topology Design
Graphs G = (V, E) V are the vertices; E are the edges.
The Theory of NP-Completeness
Winter 2019 Lecture 11 Minimum Spanning Trees (Part II)
Biconnectivity SEA PVD ORD FCO SNA MIA 5/23/ :21 PM
Minimum Spanning Trees
Autumn 2019 Lecture 11 Minimum Spanning Trees (Part II)
Presentation transcript:

Covering Trains by Stations or The power of Data Reduction Karsten Weihe, ALEX98, 1998 Presented by Yantao Song

Overview Problem description Data Reduction Computational study and experiment results

Problem Given a set of trains, select a set of stations such that every train meets at least one of these stations and the number of selected trains is minimum.

Formal Problem Description Given an undirected graph G=(V, E), paths p 1, p 2 …… p n in G, and a partition V=V 1 ∪ V 2 ∪ … ∪ V m of V into m disjoint vertex classes. A PCV (path-cover by vertices) is a subset such that every path p i meets at least one vertex in V ‘. The problem is to find a PCV V ’ of minimum size |V ’ |. More specifically, among all PCVs of minimum size, V ’ should maximize the vector ( | V ’ ∩ V 1 |, | V ’ ∩ V 2 |, …, | V ’ ∩ V m |) lexicographically. This problem is NP-Hard.

Path p l is an ordered sequence (v 1 l, …, v nl l ) of vertices such that {v i l, v i+1 l } ∈ E for i = 1, …, n l – 1. Vertices and edges may occur more than once in the same path. If an edge occurs more than once, it may occur several times with the same direction, or opposite direction. It ’ s possible that two paths are exactly equal, or exact reverse of another path. Without losing generality, we can assume that every edge belongs to some paths.

Paper ’ s background The data in this paper comes from the central German train railroad company. Paths are the trains in the time schedules. V is the union of all stations met by at least one of the trains. We have one edge {v,w} ∈ E iff v, w are directly connected vertices by at least one train path. Purpose: find a minimum number of stations. It may be desirable to prefer some stations over other stations. So we have to “ maximize the vector ( | V ’ ∩ V 1 |, | V ’ ∩ V 2 |, …, | V ’ ∩ V m |) lexicographically ” as described above.

Data Reduction For a vertex v ∈ V, P(v) denotes the set of all paths p i meeting v. For a path p i, V(p i ) denotes the ordinary set of vertices met by p i, which is unordered and don ’ t allow repetitions of vertices.

Vertex ’ s dominance and equivalence Dominance: Let i, j ∈ {1,…,m}, v ∈ V i w ∈ V j, if i =j and P(w) P(v), then we say that v dominate w. Equivalence: if P(v)=P(w) and i=j, v and w is equivalent.

Path ’ s dominance and equivalence Dominance: Let i, j ∈ {1,…,k}, p i p j, if V(p i ) V(p j ), then we say that p i dominate p j. Equivalence: if V(p i ) = V(p j ), p i, p j is equivalent.

Procedure of reducing vertex Remove v from V, and all edges incident to v from E. If u, w ∈ V are incident to v, there is a path p i which contains u-v-w or w-v-u as a subpath, then an edge {u, w} should be added into E. All occurrences of v in paths are removed.

Procedures of reducing a path Remove p i from path set. Every edge e ∈ E which doesn’t belong to any path afterward is removed. Every vertex v ∈ V whose P(v) is empty afterwards is removed.

If the vertex/path is dominated by or equivalent to some other vertices/paths. Then it ’ s feasible to be reduced. At the early stage of reduction, use non-exhaustive vertex reduction; at the end of reduction, use exhaustive reduction. After reducing, we can get an irreducible core. An optimal solution to an irreducible core is also an optimal solution to the original instance. Then we use the brute-force approach to solve the problem.

Computational Study Experiments based on real world data of Europe train network.

Train classes Class 0: high-speed trains; Class 1: other international or long- distance trains; Class 2: regional trains; Class 3: local trains; Class 4: other trains;

Before Reduction

After reduction

For some instances which consist of trivial connected components, even we can get solution for problem only by data reduction. For the other cases, the number of non- trivial connected components and size of these components are essential to complexity of the problem.

Conclusion and Discussion In this case, the size of problem can be reduced to 10% of original size.The reduction algorithm is very efficient for this case. This is an extreme case, can ’ t be extended to all cases with so high efficiency. But it give us an case that even the problem is NP-Hard, but we still can solve it in affordable time for some real world cases.