Bicriterial Delay Management

Similar documents
Delay management with capacity considerations.

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.

K-center Hardness and Max-Coverage (Greedy)

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles

NP-Completeness. NP-Completeness 1

Abstract. 1 Introduction

Exact Algorithms for Dominating Induced Matching Based on Graph Partition

More on NP and Reductions

Single machine scheduling with forbidden start times

Multicommodity Flows and Column Generation

Selected partial inverse combinatorial optimization problems with forbidden elements. Elisabeth Gassner

CSE 421 Introduction to Algorithms Final Exam Winter 2005

Algorithms for a Special Class of State-Dependent Shortest Path Problems with an Application to the Train Routing Problem

On solving multi-type railway line planning problems

Timetabling and Robustness Computing Good and Delay-Resistant Timetables

P vs. NP. Data Structures and Algorithms CSE AU 1

Complexity analysis of job-shop scheduling with deteriorating jobs

Chapter 3: Discrete Optimization Integer Programming

CS 241 Analysis of Algorithms

P, NP, NP-Complete. Ruth Anderson

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016)

Improved Railway Timetable Robustness for Reduced Traffic Delays a MILP approach

An Improved Algorithm for Parameterized Edge Dominating Set Problem

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

CSE101: Design and Analysis of Algorithms. Ragesh Jaiswal, CSE, UCSD

Vehicle Routing and Scheduling. Martin Savelsbergh The Logistics Institute Georgia Institute of Technology

Lecture 1 : Probabilistic Method

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

Theory of Computation Chapter 1: Introduction

P versus NP. Math 40210, Spring September 16, Math (Spring 2012) P versus NP September 16, / 9

Tree Decomposition of Graphs

In complexity theory, algorithms and problems are classified by the growth order of computation time as a function of instance size.

The Clique Problem with Multiple-Choice Constraints under a Cycle-Free Dependency Graph

Computer Science 385 Analysis of Algorithms Siena College Spring Topic Notes: Limitations of Algorithms

Optimal Fractal Coding is NP-Hard 1

Integer Linear Programming

Solving Railway Track Allocation Problems

The Generalized Regenerator Location Problem

Delay-Robust Event-Scheduling In Memoriam of A. Caprara

Math Models of OR: Branch-and-Bound

COMP Analysis of Algorithms & Data Structures

Introduction to Complexity Theory

A Polynomial-Time Algorithm to Find Shortest Paths with Recourse

8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM

Chapter 3: Discrete Optimization Integer Programming

Connectedness of Efficient Solutions in Multiple. Objective Combinatorial Optimization

Travelling Salesman Problem

- Well-characterized problems, min-max relations, approximate certificates. - LP problems in the standard form, primal and dual linear programs

On the Railway Line Planning Models Considering the Various Halting Patterns

On max-algebraic models for transportation networks

Computational complexity theory

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

A note on stability in three-phase-lag heat conduction

1.1 P, NP, and NP-complete

Chapter 34: NP-Completeness

Session-Based Queueing Systems

Diskrete Mathematik und Optimierung

Algorithms and Theory of Computation. Lecture 22: NP-Completeness (2)

An optical solution for the set splitting problem

Representations of All Solutions of Boolean Programming Problems

2 Dynamic Programming

Lecture 4: NP and computational intractability

Show that the following problems are NP-complete

The prediction of passenger flow under transport disturbance using accumulated passenger data

On the Approximate Linear Programming Approach for Network Revenue Management Problems

Dynamic Call Center Routing Policies Using Call Waiting and Agent Idle Times Online Supplement

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness

BRANCH-AND-BOUND ALGORITHMS FOR STOCHASTIC RESOURCE-CONSTRAINED PROJECT SCHEDULING

Automata Theory CS Complexity Theory I: Polynomial Time

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

Computers and Intractability

Chapter 11. Approximation Algorithms. Slides by Kevin Wayne Pearson-Addison Wesley. All rights reserved.

Data Structures and Algorithms

On Dominator Colorings in Graphs

A control strategy to prevent propagating delays in high-frequency railway systems

1 Introduction and Results

Computational complexity theory

Duality of LPs and Applications

Combinatorial optimization problems

Theory of Computation Chapter 9

4/20/11. NP-complete problems. A variety of NP-complete problems. Hamiltonian Cycle. Hamiltonian Cycle. Directed Hamiltonian Cycle

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University

Scheduling unit processing time arc shutdown jobs to maximize network flow over time: complexity results

The Mixed Chinese Postman Problem Parameterized by Pathwidth and Treedepth

The multi-objective railway timetable rescheduling problem

Class Note #20. In today s class, the following four concepts were introduced: decision

Earliest Arrival Flows in Networks with Multiple Sinks

Combinatorial Optimization

NP-problems continued

Computational Complexity

Topic Dependencies for Electronic Books

Polynomial Time Algorithms for Minimum Energy Scheduling

Limitations of Algorithm Power

The Traveling Salesman Problem: An Overview. David P. Williamson, Cornell University Ebay Research January 21, 2014

Strongly chordal and chordal bipartite graphs are sandwich monotone

A Mixed Integer Linear Program for Optimizing the Utilization of Locomotives with Maintenance Constraints

15.083J/6.859J Integer Optimization. Lecture 2: Efficient Algorithms and Computational Complexity

Morning Time: 1 hour 30 minutes

Computability and Complexity Theory: An Introduction

Transcription:

Universität Konstanz Bicriterial Delay Management Csaba Megyeri Konstanzer Schriften in Mathematik und Informatik Nr. 198, März 2004 ISSN 1430 3558 c Fachbereich Mathematik und Statistik c Fachbereich Informatik und Informationswissenschaft Universität Konstanz Fach D 188, 78457 Konstanz, Germany Email: preprints@informatik.uni konstanz.de WWW: http://www.informatik.uni konstanz.de/schriften/

Bicriterial Delay Management Csaba Megyeri University of Konstanz Department of Computer and Information Science From the passanger s point of view, one of the most important property of an attractive public railway company is punctuality. Passangers, buying a train ticket, expect that they maintain their connections and reach their destination in time as scheduled. But unexpected occurences cause disturbances even in the most carefully designed network. Boarding of passangers in peak hours may cause 5 10 Minutes delay in the timetable schedule, while bad weather conditions or technical problems may lead to 30 60 Minutes delay. In case of international trains, delays of 60 Minutes or more are not rare. As delays appear in the system, traffic controllers have to reschedule trains in order to eliminate delays and to return to the original timetable as soon as possible. For these purposes, local and global decisions has to be made. Locally, from station to station one has to decide, which trains have to wait for dalayed trains and which can depart on time. At this level, connections of trains are examined and the objective is to maintain important connections. On the other hand, a global planning is required where the network structure is analyzed. The objective at the global level is that delays should not spread out in the network. The local level decisions have to satisfy the global requirements. First the trains of our interest have to be selected that are affected by delayed trains. Such a train can wait for a delayed train to maintain the connection or depart in time to keep the timetable. In the first case the delay can spread further, while in the second case passangers miss their connection. Bicriterial Delay Management aims to find an optimal trade-off between these objectives. This work was supported by the Human Potential Programme of the European Union under contract no. HPRN-CT-1999-00104 (AMORE). 1

1 Introduction Let us first define the basic notations used in this paper. Let V be a set of train vehicles. A train v V is usually given by a train line, i.e. a sequence of stations s 1, s 2,..., s nv. The train departs at s 1, has the intermediate stops s 2,..., s nv 1 and finally arrives at s nv. Every train v is associated with a timetable t(v), a sequence t d (v, s 1 ), t a (v, s 2 ), t d (v, s 2 ),..., t a (v, s nv ), where t a (v, s i ) is the arrival time of train v at station s i and t d (v, s i ) is the departure time of v at station s i. Let T be the complete timetable, that is T = {t(v) : v V }. Finally, if trains v and w have a common station s, passangers may have a connection from one train to the other, if the timetable makes it possible. Let C be the collection of all connections c of the form (v, w, s). It is an important question, what exactly we mean by connection. Theoretically, there is a connection from one train to another at a common station if the departure time of the second train is later than the arrival time of the first train incremented by the necessary changing time. However, this can lead to a large set of connections, some of which would be irrational like a connection to a train in the opposite direction or to trains several hours later. Different train lines often have common subsegments other than just a common station. In those cases, passangers may have several chances to change trains. Being delayed at the first common station, passangers would loose their connection but they could catch the train at the next station. Such operations need high level organization and passangers must be well informed about these possibilities. A difficult problem in the delay management models is to decide which connections are realized and to determine their importance. Here we suppose, that the set of connections C is predetermined and part of the input. The underlying structure can be represented by a directed graph G = (E, A), the so called Event-Activity graph. Nodes of the graph correspond to events while arcs correspond to activities. There are two types of events: the arrival and the departure of a train at some station. On the other hand, there are three types of activities: a driving arc corresponds to the activity of a train from the departure at a station to the arrival at the next station, a waiting arc corresponds to the activity of a train at a station between the arrival and departure, and a connection arc corresponds to the activity of passangers to change from one train to the other. Note that the Event- Activity graph is acyclic. Figure 1 present a part of the timetable of two trains and the corresponding Event-Activity graph. 2

ICE 676 Göttingen Hannover Hbf Hamburg Hbf 9:18 10:49 8:41 9:21 IC 2545 Minden (Westf) Hannover Hbf Wolfsburg 9:18 9:53 8:50 9:21 ICE 676 Göt 8:41 Han 9:18 Han 9:21 Ham 10:49 IC 2545 Min 8:50 Han 9:18 Han 9:21 Wol 9:53 Figure 1: Part of a timetable and the corresponding Event-Activity graph. Connections are denoted by dashed arcs. The time duration of the activities can be computed from the timetable. These activity times consist of a secure time and a slack time. The secure time duration of driving, waiting and changing activities is the amount of time needed to reach the next station, for passangers to leave and enter the train and to go from one platform to the other, respectively. The slack time is the extra time provided by the timetable, which can be saved if the train runs at a maximum secure speed or if passangers board as quickly as possible. The secure waiting time is usually 1 Minute in case of regional, regional express and interregional trains while 2 Minutes in case of InterCity, EuroCity and InterCity Express trains. The secure time of a connection is usually 3 Minutes in case of neighboring platforms and 5 8 Minutes otherwise. Slack times depend on the timetable design. Usually, slack times are minimized since the timetable must be tight because of the high traffic on the tracks. Slack time is useful in case of delays. For example, because of a connection one train may wait 5 Minutes longer than necessary, but this time can be saved if the train arrives delayed. Similarly, passangers having 20 Minutes to take another train can maintain the connection even if their train has 3

15 Minutes delay. In general, slack time of an activity can eliminate delay of the previous event. On the other hand, slack times make the timetable inefficient and extend the travel time. Hence, slack times of driving and waiting activities are minimized during the timetable design. Some connections might be more important than others, e.g. connections of InterCity Express trains, night trains, or busy lines. Importance of connections can be described by a weight function w : C R +. This fuction may be the result of decision policies or may be approximated by the expected number of passangers. Let S be a set of events in the Event-Activity graph and let d 0 : S Z + be the initial delay function. This function contains information about delays in the present situation, measured in Minutes. S is usually the set of source nodes of the Event-Activity graph, that is the earliest events of our interest. The question in delay management is, in consideration of the present delays, to generate a new feasible timetable. A timetable is feasible, if no train departs earlier than the original schedule time incremented by the initial delay (if any) and if the driving and waiting times are not shorter than the corresponding secure times. There is no similar condition on changing times. If the available time for a connection is less than the necessary secure time, then the connection is missed. The problem of Bicriterial Delay Management is, given V, T, C, w, d 0 and the secure times of activities, to find a feasible timetable such that both the weighted number of missed connections and the sum of delays of all arrival events are minimized. For example, suppose that in case of the trains in Figure 1 the slack times are 5 Minutes for driving activities, 1 Minute for waiting activities and there is no slack time for changing. Suppose that ICE 676 departs from Göttingen with 15 Minutes delay. Then both of the following timetables are feasible: ICE 676 Göttingen Hannover Hbf Hamburg Hbf 8:56 9:28 9:30 10:53 IC 2545 Minden (Westf) Hannover Hbf Wolfsburg 9:18 9:53 8:50 9:21 ICE 676 Göttingen Hannover Hbf Hamburg Hbf 9:28 10:53 8:56 9:30 IC 2545 Minden (Westf) Hannover Hbf Wolfsburg 9:18 9:58 8:50 9:31 4

In the first case the connection from ICE 676 to IC 2545 is missed and the sum of delays of arrival events is 14 Minutes, while in the second case both connections are maintained but the delay is 19 Minutes. 2 The general problem In this paper we usually present examples where each activity has zero slack time. This assumption may seem to be unrealistic, but this is not a strong restriction in a combinatorial sense, since the management of slack times in an optimal solution is intuitively clear: if an activity starts with a delayed event, save as much slack time as possible or necessary. The difficulty of the problem lies in the structure of the network. We expect that the Bicriterial Delay Management problem can be reduced to Bicriterial Delay Management problem with zero slack times. Notice that if there is no slack time, the secure time of an activity is an irrelevant information, since it can be calculated from the timetable. The Bicriterial Delay Management problem can be stated as a decision problem, if we introduce the real parameter M and the integer parameter N: given an instance as above, is there a feasible timetable such that both the weighted number of missed connections is at most M and the sum of delays of all arrival events is at most N? This general form of delay management is hard [3]: Theorem 1. The Bicriterial Delay Management Problem is NP-hard, even in case of integer connection weights. Proof. We reduce the Set Partition Problem [2] to the delay management problem. The question of the Set Partition Problem is, given a set A and a size s(a) Z + for each a A, whether there exists a subset A A such that a A s(a) = a A A s(a)? For each a i A let us define two simple trains v i and w i without any intermediate stops (see Figure 2). Let the initial delay of v i be s(a i ) and let there be a connection from train v i to w i with weight s(a i ). Suppose that each activity has zero slack time. Let s(a) = a A s(a) be the total size and let the parameters be M = s(a)/2 and N = 3s(A)/2. Since every slack time is zero, every train v i arrives to the station with a delay of s(a i ). Moreover, train w i either departs in time and miss the connection, or wait for v i and get s(a i ) delay. Let A be the subset corresponding to 5

v 1 w 1 v 2 w 2 v n... w n Figure 2: Event-Activity graph for a Set Partition instance. the missed connections. Then the weighted number of missed connections is a A s(a) and the sum of delays of all arrival events is s(a)+ a A A s(a). Hence, the answer to the delay management problem is yes, if both s(a) s(a) 2 a A s(a) s(a) 2 a A A holds, which is equivalent to a A s(a) = a A A s(a). Instead of a decision problem, bicriterial delay management can be stated as to find all Pareto-optimal solutions. A solution of the problem is Paretooptimal, if there is no solution that is better in both objective functions. A natural way to find Pareto-optimal solutions is to use the Critical Path Method. CPM is used for finding the minimum completion time of a project, given by an acyclic directed graph G = (V, A) and the necessary time duration l(u, v) of the activities (u, v) A. Let t(v) be the earliest possible starting time of an event v V. Then, t(v) = 0 if v is a source vertex and otherwise. t(v) = max{t(u) + l(u, v) : (u, v) A} 6

Note that finding a feasible timetable is equivalent to finding a feasible delay function. A delay function d : E Z + is feasible, if it is consistent to the initial delays and the secure times of activities: d(e) d 0 (e) for every e S and d(e ) d(e) s(e, e) for every (e, e) A. A feasible delay function d(e) can be computed like the earliest starting times in project planning: the smallest possible delay of an event e is d(e) = d 0 (e), the initial delay, if e S, and d(e) = max{(d(e ) s(e, e)) + : (e, e) A} otherwise. Here, s(e, e) denotes the slack time of the activity (e, e) and x + = max(x, 0). This is the delay function if we maintain every connection, and this gives us the Pareto-optimal solution with 0 in the first objective function. Similarly, we can get all Pareto-optimal solutions: let us take a subset C of the connection activities C and use the Critical Path Method to determine the sum of delays of all arrival events if the connections of C are missed. We simply have to delete these arcs from the Event-Activity graph and evaluate the delays by the above iterative formula. Repeat this for every subset C C. These results are candidates for Pareto-optimal solution. Finally, sort the solutions lexicographically and eliminate dominated solutions. The running time of the algorithm is O((n + m)2 C ) where n and m denotes the number of vertices and arcs in the Event-Activity graph. This algorithm seems to be rather inefficient. Unfortunately, in general this cannot be improved: the following lemma shows that the number of Pareto-optimal solutions can be exponentially large. Lemma 1. The number of Pareto-optimal solutions of a delay management problem can be an exponential function of the number of connections. Proof. Consider the example of Figure 2. Let s(a i ) = 2 i, which is both the delay of train v i and the weight of the connection between v i and w i. Again, let all slack times be zero. Now, if we miss a set of connections I, then the weighted number of missed connections is i I 2i and the sum of delays of all arrival events is 2 n+1 1 + i/ I 2i. Note that these solutions are pairwise incomparable and hence all of the 2 C solutions are Pareto-optimal. Instead of the sum of arrival delays another objective function can be the sum of both arrival and departure delays, that is the total delay in the network. If there can be positive slack times, this problem is not equivalent 7

to the original one, the set of Pareto-optimal solutions can be different. On the other hand, if driving activities have no slack time, then these problems are equivalent: in this case the delay of an arriving train is the same as the delay of the departure from the previous station. Since driving edges form a matching in the Event-Activity graph, this means that the total delay is the double of the sum of arrival delays and hence, these objective functions differ in a scalar factor only. 3 The unweighted problem We have seen that the general delay management problem is NP-hard, and the set of Pareto-optimal solutions can be large. Now let us consider the unweighted case of delay management, where connections are treated equally. This is the natural model for delay management if we have no information about the passangers behavior or trains are equally important, for example, if V consists of ICE trains only. Now, given V, T, C, d 0 and the secure time of activities, the problem is to find a feasible timetable such that both the number of missed connections and the sum of delays of all arrival events are minimized. In this case, neither the NP-hardness proof nor the example of Lemma 1 work. Is the problem still NP-hard? What is the maximum number of Pareto-optimal solutions? These are still open questions. In the weighted case, even a simple structure, a set of independent connections was too difficult to solve. In case of uniform weights, the difficulty of the problem comes from the structure of the Event-Activity graph. Now, earlier connections are more important than later ones: by missing an earlier other than a later connection, the delay cannot spread over but the number of missing connections remains the same. For example, consider three trains, v 1, v 2 and v 3. Let there be a connection from v 1 to v 2 and from v 2 to v 3. If the weights of both connections are the same, the case of maintaining the first connection but missing the second is dominated by missing the first and then maintaining the second one. This example suggests that in the unweighted case the set of Pareto-optimal solutions can be smaller. We expect that for a large set of instances the number of Pareto-optimal solutions is a polynomial function of the number of connection activities. This would give a polynomial-time algorithm using the Critical Path Method. For an event e let R e be the set of events that can be reached from 8

e on a directed path in the Event-Activity graph. Now suppose that only source events have initial delay and the corresponding subgraphs R e for every event e with initial delay are pairwise disjoint. This means that events are affected by at most one initial delay. In [3], this property was called the never meet property. If this never meet property holds, then in an optimal solution only the earliest connections can be missed, and thus the number of Pareto-optimal solutions is linear and the problem is solvable in linear time. The idea to look for Pareto-optimal solutions where only earliest connections are taken into consideration seems to be reasonable and may lead to an efficient approximation algorithm. Finally note that it is enough to deal with connected Event-Activity graphs. Indeed, let us consider an Event-Activity graph of p components with c i connections in the ith component. Suppose that we can solve the problem componentwise and let a i,j denote the minimal delay in component i by missing at most j connections (1 i p, 0 j c i ). Then the solution can be obtained by the help of dynamic programming. Let s(m, k) be the minimal delay in the first m component by missing at most k connections. Then we have s(1, k) = a 1,k s(m, k) = min m,j}. 0 j k The minimal delay by missing at most M connections in the whole graph is s(p, M). To obtain this we have to compute s(m, k) for 1 m p, 1 k M, which needs p ( M 2 ) comparison. 4 A graph model for delay management The general problem of delay management has a lot of variables and is rather difficult to handle for an integer programming aproach we refer to [3]. Here we want to eliminate some variables to get a simplified problem, which can be described by graph theory. Now let us consider the special case where trains have no intermediate stops but just a start and an end station, and both driving and changing activities have zero slack time. Then, the problem simplifies to the following graph theory problem, which we will call the Delay Planning Problem. Let G = (V, A) be an acyclic directed graph. The nodes represent trains while the directed edges represent connections. For a set of trains S V 9

1 5 2 6 3 7 4 8 9 10 11 12 13 Figure 3: An example for the Delay Planning Problem (usually the source nodes of G) we are given the initial delay function d 0 : S Z + representing delays at the current situation. The zero function corresponds to the original timetable, where trains have no delays. The aim is to find a feasible delay function d : V Z +, that is an extension of d 0 to V. If for an arc (i, j) A, d(i) > d(j) then the train j does not wait long enough for the train i and we miss the connection. The problem of Delay Planning is to find a delay function d : V R + which is an extension of d 0 such that the total delay d(v) v V and the number of missed connections {(i, j) : (i, j) A, d(i) > d(j)} is minimized. As an example, let us consider the graph of Figure 3 and suppose that the train 1, 2, 3 and 4 is delayed by 1, 3, 2 and 2 Minutes, respectively. Then we have the following Pareto optimal solutions: Number of missed Total delay Missed connections connections 0 26 1 22 (6,9) 2 19 (2,6), (3,6) 3 17 (1,5), (2,6), (3,6) 4 13 (1,7), (2,6), (3,6), (8,11) 5 11 (1,7), (2,6), (3,6), (3,8), (4,8) 6 8 (1,5), (1,7), (2,6), (3,6), (3,8), (4,8) 10

Note that this problem captures the main difficulties of the Delay Management and the analysis of this problem would be fruitful to solve the general problem. If the delay of trains are binary variables (delayed or not), then the problem simplifies to the question whether in an acyclic directed graph M arcs can be deleted such that there are at most N vertices in the remaining graph that can be reached on directed path from the source vertices. In this case even a certificate for the non-existence would be useful. 5 Conclusion This paper focuses on the Bicriterial Delay Management problem. First we introduced the general problem of delay management. We saw that the weighted form of the problem is NP-complete and we showed that the number of Pareto-optimal solutions can be exponential to the number of connections. Next we considered the unweighted case where the complexity of the problem is still undetermined. However, the intuiton that earlier connections are more important than later ones, may be used to develope an approximation algorithm. Finally, a special case of the problem was introduced which leads to a graph theory problem. The determination of the complexity of this problem may help to solve the general problem of delay management. Finally we try to summarize the interesting questions appeared here. What is the complexity of the unweighted Bicriterial Delay Management problem? What is the maximum number of Pareto-optimal solutions in the unweighted Bicriterial Delay Management problem? Is it true that the Bicriterial Delay Management problem is equivalent to the Bicriterial Delay Management problem with zero slack times? What is the complexity of the Delay Planning problem? Given an acyclic directed graph, is it possible to delete M arcs such that at most N vertices in the remaining graph can be reached from the source vertices. 11

References [1] Die Bahn. http://www.bahn.de. [2] Michael J. Garey and David S. Johnson. Computers and Intractability A Guide to the Theory of NP-completeness. W.H. Freeman and Company, New York, 1979. [3] Anita Schöbel. Customer-oriented optimization in public transportation, 2002. 12