Analysis of Micro-Macro Transformations of Railway Networks



Similar documents
Re-optimization of Rolling Stock Rotations

Completion Time Scheduling and the WSRPT Algorithm

How To Solve The Line Connectivity Problem In Polynomatix

The Goldberg Rao Algorithm for the Maximum Flow Problem

Routing in Line Planning for Public Transport

arxiv: v1 [math.pr] 5 Dec 2011

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Section 4.2: The Division Algorithm and Greatest Common Divisors

Chapter 13: Binary and Mixed-Integer Programming

Solving Linear Systems, Continued and The Inverse of a Matrix

2.3 Convex Constrained Optimization Problems

The Trip Scheduling Problem

Real-Time Destination-Call Elevator Group Control on Embedded Microcontrollers

Minimizing the Number of Machines in a Unit-Time Scheduling Problem

Using Generalized Forecasts for Online Currency Conversion

Fare Planning for Public Transport

MATH 289 PROBLEM SET 4: NUMBER THEORY

4.6 Linear Programming duality

x a x 2 (1 + x 2 ) n.

Duality in Linear Programming

Lecture 3: Finding integer solutions to systems of linear equations

Branch-and-Price Approach to the Vehicle Routing Problem with Time Windows

The Mean Value Theorem

npsolver A SAT Based Solver for Optimization Problems

Roots of Equations (Chapters 5 and 6)

Chapter 6 Experiment Process

Metric Spaces. Chapter Metrics

Bounded Cost Algorithms for Multivalued Consensus Using Binary Consensus Instances

Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams

An Interactive Train Scheduling Tool for Solving and Plotting Running Maps

Mathematical finance and linear programming (optimization)

A Production Planning Problem

Approximation Algorithms

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Stiffie's On Line Scheduling Algorithm

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

8 Divisibility and prime numbers

Passive Discovery Algorithms

Math 319 Problem Set #3 Solution 21 February 2002

1 if 1 x 0 1 if 0 x 1

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2015

Adaptive Online Gradient Descent

Competitive Analysis of On line Randomized Call Control in Cellular Networks

The Steepest Descent Algorithm for Unconstrained Optimization and a Bisection Line-search Method

Scheduling Real-time Tasks: Algorithms and Complexity

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Continued Fractions and the Euclidean Algorithm

Material Requirements Planning MRP

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

24. The Branch and Bound Method

GREATEST COMMON DIVISOR

Shortest Inspection-Path. Queries in Simple Polygons

Number Theory. Proof. Suppose otherwise. Then there would be a finite number n of primes, which we may

A Case Study of Joint Online Truck Scheduling and Inventory Management for Multiple Warehouses

Dynamic Programming 11.1 AN ELEMENTARY EXAMPLE

Lecture 10 Scheduling 1

7 Gaussian Elimination and LU Factorization

Fairness in Routing and Load Balancing

Some Polynomial Theorems. John Kennedy Mathematics Department Santa Monica College 1900 Pico Blvd. Santa Monica, CA

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

CONTINUED FRACTIONS AND PELL S EQUATION. Contents 1. Continued Fractions 1 2. Solution to Pell s Equation 9 References 12

MATH10040 Chapter 2: Prime and relatively prime numbers

Practice with Proofs

Brewer s Conjecture and the Feasibility of Consistent, Available, Partition-Tolerant Web Services

ALMOST COMMON PRIORS 1. INTRODUCTION

8 Primes and Modular Arithmetic

CS 103X: Discrete Structures Homework Assignment 3 Solutions

9th Max-Planck Advanced Course on the Foundations of Computer Science (ADFOCS) Primal-Dual Algorithms for Online Optimization: Lecture 1

Recovery of primal solutions from dual subgradient methods for mixed binary linear programming; a branch-and-bound approach

Integrating Benders decomposition within Constraint Programming

Applications of Fermat s Little Theorem and Congruences

A NOTE ON OFF-DIAGONAL SMALL ON-LINE RAMSEY NUMBERS FOR PATHS

Fundamentele Informatica II

TEACHING AGGREGATE PLANNING IN AN OPERATIONS MANAGEMENT COURSE

Discrete Optimization

1. Prove that the empty set is a subset of every set.

Kevin James. MTHSC 412 Section 2.4 Prime Factors and Greatest Comm

Duplicating and its Applications in Batch Scheduling

THE SCHEDULING OF MAINTENANCE SERVICE

International Doctoral School Algorithmic Decision Theory: MCDA and MOO

Chapter 6: Sensitivity Analysis

InvGen: An Efficient Invariant Generator

Models in Transportation. Tim Nieberg

GENERALIZED INTEGER PROGRAMMING

Multi-layer MPLS Network Design: the Impact of Statistical Multiplexing

Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach

Definition Given a graph G on n vertices, we define the following quantities:

Practical Guide to the Simplex Method of Linear Programming

Linear Programming Problems

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

THE BANACH CONTRACTION PRINCIPLE. Contents

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Transcription:

Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Germany MARCO BLANCO THOMAS SCHLECHTE Analysis of Micro-Macro Transformations of Railway Networks Zuse Institute Berlin (ZIB), Takustr. 7, D-14195 Berlin, Germany {blanco, schlechte}@zib.de ZIB-Report 13-65 (October 2013)

Herausgegeben vom Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Telefon: 030-84185-0 Telefax: 030-84185-125 e-mail: bibliothek@zib.de URL: http://www.zib.de ZIB-Report (Print) ISSN 1438-0064 ZIB-Report (Internet) ISSN 2192-7782

Analysis of Micro-Macro Transformations of Railway Networks Marco Blanco and Thomas Schlechte Abstract A common technique in the solution of large or complex optimization problems is the use of micro-macro transformations. In this paper, we carry out a theoretical analysis of such transformations for the track allocation problem in railway networks. We prove that the cumulative rounding technique of Schlechte et al. satisfies two of three natural optimality criteria and that this performance cannot be improved. We also show that under extreme circumstances, this technique can perform inconvieniently by underestimating the global optimal value. 1 Introduction It is often the case in discrete optimization problems coming from applications that the data is too complex to be tractable by an efficient algorithm. However, much of the information in this precise (also called microscopic) model is not necessary to obtain a very good feasible solution. A common technique is to derive a simplified macroscopic model by aggregating the structures of the microscopic model, find a good solution to the macroscopic model, and retranslate it to the original problem. This idea has been used in diverse settings. In [1], an algorithm for solving linear programs exactly solves a sequence of increasingly detailed LPs until the desired degree of precision is reached. In [2], an algorithm for solving a dynamic progam over a large state space is described. A sequence of coarse DPs is solved, and the complexity/level of detail increases gradually. [3] surveys aggregation and disaggregation techniques for optimization problems. This research was mostly influenced by [5], where a micro-macro transformation is used for solving the track allocation problem for railway networks (See [4, 5] for a precise definition), which is the problem considered in this paper. One of the main Zuse Institute Berlin, Takustr.7, 14195 Berlin, Germany, e-mail: blanco,schlechte@ zib.de 1

2 Marco Blanco and Thomas Schlechte difficulties in developing an efficient micro-macro algorithm for this problem is choosing a reasonable time discretization. That is, given a time unit δ in the microscopic model, we seek to find a larger unit for the macroscopic model and then determine the input times of the macroscopic model in multiples of. It is on this last step that we will focus next. Given a microscopic running time of some route on a macroscopic track, the most natural choice is to round it to a close multiple of. Rounding down can lead to infeasibilities, while rounding up all running times leads to an unnecessary increase in the optimal value. Therefore, a combination of both seems to be the best strategy. In this context, we consider the cumulative rounding method introduced by Schlechte et al. in [5]. This method consists of rounding up the running times along each route in order of traversal, until the total lost time accumulated is at least the time corresponding to the track currently considered, at which point we round down this running time and iterate. While it is possible to give upper bounds on the overestimation error of the total time needed to traverse each route, the impact of this rounding on the originating network optimization problem as a whole has not been studied. The paper is structured as follows. In Section 2 we describe the general problem, the motivation and the goals of micro-macro transformations. In Section 3 we define three optimality criteria for a rounding strategy for the track allocation problem. We prove that the cumulative rounding strategy is optimal with respect to two of these criteria and that no strategy satisfies all three of them. Finally, in Section 4 we show an instance in which cumulative rounding yields a macroscopic value that is smaller than the microscopic optimum and whose solution is impossible to translate back to the original model without losing a significant factor. This shows the difficulty of acheiving global optimality or near-optimality. 2 Our Setting We consider a general minimization 1 problem P δ based on a time discretization δ with kδ =, k Z, k > 0. The problem P results from rounding all times of P δ to multiples of with respect to alternate rounding strategies. Let us consider the trivial rounding down ( ) and up ( ). Then for the optimal values v, we have: v(p ) v(p δ ) v(p ) On the one hand the solution of P can be re-transformed, i.e., we maintain the orders of the trains and retranslate the departure and arrivals w.r.t. δ, to a feasible solution of P δ retaining the same objective value or obtaining a better one. On the other hand v(p ) only provides in general a valid lower 1 In case of the track allocation problem we want to schedule a fixed number of trains on a network within a minimum time horizon.

Analysis of Micro-Macro Transformations of Railway Networks 3 bound. Thus, we can guarantee some solution quality provided by the lower bound v(p ). 3 Optimality Criteria While the ultimate objective in the track allocation problem is to find a microscopic solution of optimal or near-optimal value, it is in general not clear how to obtain a feasible microscopic solution from a macroscopic solution such that the objective value does not increase. For that reason, we will try to judge the quality of a transformation by comparing the values of the obtained macroscopic and microscopic solutions. There are several (often conflicting) possibilities of defining an optimal rounding algorithm, and it is not obvious which of them should be considered. Here we consider three very natural optimality criteria: 1. Global optimality: The total time is not underestimated and the corresponding (overestimating) error is minimal. 2. Route-wise optimality: The total time on each individual route is not underestimated and the corresponding (overestimating) error is minimal. 3. Local optimality: The overestimating error on any subroute (j m, j m+1,..., j m+n ) of a route r is less than. The no-underestimating condition guarantees that we can obtain feasible solutions. The first two conditions are self-explaining and the third condition guarantees that the approximation is good on a local level, i.e., on intervals. In this section we prove that the cumulative rounding technique satisfies the last two properties. Theorem 1. For the track allocation problem, a rounding strategy is routewise optimal if and only if on every route j it rounds up the traversal times t j D r j corresponding to exactly tracks. Proof. In the same setting as above, let r be a route. For every track j in the route, let t r j be the time (in units of δ) needed to traverse j, and let t r j tr j (mod ). If for this track we decide to round up, the (overestimating) error will be t r j, while if we round down, the (underestimating) error is t r j. Let J be the set of tracks in route r, let U J (the set of tracks for which we round up) and D = J\U (the tracks for which we round down). Now, the total overestimating error is ɛ r = ( t r j) j U j D t r j = U j J t r j. Since t j J r j is independent of the choice of U and D, the total error depends only on the cardinality of U. By the non-overestimating property, we are

4 Marco Blanco and Thomas Schlechte looking for a set U of minimal cardinality such that ɛ r is nonnegative and t j D r j minimal. Clearly, this is achieved by choosing U with U =. Corollary 1. The cumulative rounding strategy is route-wise optimal and locally optimal. Proof. The authors of [5] have proven that on each route, the total error caused by cumulative rounding is in the interval [0, ). By the proof of the previous theorem, this is a minimizer and thus the strategy is route-wise optimal. To prove local optimality, let us consider a subroute r 1 = (j m,..., j m+n ). We can picture this subroute as the difference between subroutes r 2 = (j 1, j 2,..., j m+n ) and r 3 = (j 1, j 2,..., j m 1 ). As before, let us denote by ɛ r the overestimating error of a subroute r. By the result in [5] we just mentioned above, we have 0 < ɛ r1 < and 0 < ɛ r2 <. Suppose ɛ r3 >. Then, we clearly have ɛ r2 = ɛ r1 + ɛ r3 >, which is a contradiction. Theorem 2. There exists no rounding strategy that satisfies all three described optimality criteria. Proof. Let us consider the following network, with = kδ for some k 3: 2 δ A + δ + δ B C 2 2 δ 2 D Fig. 1: The numbers above and below the arcs represent, respectively, the microscopic and macroscopic times for the corresponding tracks, assuming all trains have uniform speed. On this network, let us consider trains 1 and 2 traveling from A to D, and train 3 traveling from D to A. We are interested in minimizing the time until the last train arrives at its destination. We assume that for every track, the headway time corresponding to two trains in the same direction is. Similarly, the headway time corresponding to two trains in opposite directions along track j is t j +. Suppose trains can not stop at intermediate stations and there are no restrictions on the departure or arrival times. A feasible and in fact optimal solution is to let trains 1, 2 and 3 leave their initial stations at times 0, and δ, respectively. As trains 1 and 2 go from B to C in one direction, train 3 goes from C to B in the opposite direction without violating the headway constraints. The time until the last train (train 2) arrives is 5+ δ. Suppose we have a route-wise and locally optimal strategy. Let us consider r 1, the route corresponding to train 1. By route-wise optimality, we know

Analysis of Micro-Macro Transformations of Railway Networks 5 description discretization rounding technique optimal value original problem δ - 5 + δ approximation 12 feasible solution δ 10 + 2δ feasible solution 7 feasible solution δ 5 + δ lower bound 4 Table 1 Results for transformations of the optimization problem described in the proof of Theorem 2. We use to denote any strategy that is route-wise- and locally optimal. that exactly one traversal time is rounded down. If this time corresponds to either track AB or track CD, we know that the remaining two tracks form a subroute with an overestimating error of, which contradicts local optimality. Without loss of generality, the same reasoning applies to routes r 2 and r 3, so the resulting macroscopic network is given by the numbers below the arcs on Figure 1. Let t j denote the microscopic time for each train on track j and T j the corresponding macroscopic time. By choice of the microscopic headway times, the macroscopic headway times are still and T j +. Since now the tracks between B and C are of time, the previous solution is no longer feasible. In fact, now the optimal solution is to let trains 1 and 2 go from A to D, and let train 3 depart only after the other two have arrived at D. This gives a total time of 12, which is more than double the time needed in the microscopic instance. Applying the conservative approach (rounding up all running times), we would get a total time of 7 as optimum, which is more than the microscopic optimal value but significantly smaller than 12. Since the conservative rounding gives a smaller total time we can conclude that the considered strategy does not satisfy global optimality. While the previous proof shows that the conservative rounding strategy gives a better macroscopic total time, it is not immediately clear what the corresponding microscopic times are. If we take the solution given by cumulative rounding or a similar strategy and translate it back to the microscopic model, we obtain a total time of 10 + 2δ, which is exactly double of the optimal time. We summarize these results in Table 1. Let us also note that we can easily make the macroscopic instance infeasible while keeping the original feasible. For example, we could require for all trains to arrive at their destinations at time 6 or before. 4 A paradoxical instance In the previous section we saw some drawbacks to the cumulative rounding strategy, but we also proved that it is impossible to improve it to a glob-

6 Marco Blanco and Thomas Schlechte ally optimal strategy while keeping both of its optimality properties. In this section, we will give an instance such that the macroscopic optimal value is much better than the microscopic optimal value. This shows that even if we relax the optimality requirement in the global optimality condition, the non-underestimating condition is not necessarily satisfied. Furthermore, this hints that guaranteeing non-underestimation on a global level in general may be very hard. Consider the network with two trains in Figure 2. + δ 2 δ + δ A B C D 2 2 E F Fig. 2: The numbers above (below) and to the left (right) of the arcs represent the microscopic (macroscopic) times for the corresponding tracks. Here, train 1 has to go from A to F and train 2 from D to E. The only headway times of interest are those corresponding to track BC. They are defined as t BC +. Trivially, an optimal solution is to let train 1 depart at time 0 and let train 2 depart when train 1 is about to reach C (to be precise, at time 3 δ). In this solution, train 2 arrives to its destination at time 7 δ. As in the previous example, the macroscopic headway times of interest are now T BC +. Letting train 1 depart at time 0 and train 2 at time 2, the last train arrives at time 6. Clearly, this objective value is impossible to attain in the microscopic problem. References [1] Ambros M. Gleixner, Daniel E. Steffy, and Kati Wolter. Improving the accuracy of linear programming solvers with iterative refinement. In Proc.of ISSAC 12, pages 187 194, New York, NY, USA, 2012. ACM. [2] C. Raphael. Coarse-to-fine dynamic programming. IEEE Transactions on Pattern Analysis and Machine Intelligence, 23(12):1379 1390, 2001. [3] David F. Rogers, Robert D. Plante, Richard T. Wong, and James R. Evans. Aggregation and disaggregation techniques and methodology in optimization. Operations Research, 39(4):553 582, 1991. [4] Thomas Schlechte. Railway Track Allocation - Models and Algorithms. PhD thesis, Technische Universität Berlin, 2012. [5] Thomas Schlechte, Ralf Borndörfer, Berkan Erol, Thomas Graffagnino, and Elmar Swarat. Micro-Macro Transformation of Railway Networks. Journal of Rail Transport Planning & Management, 1(1):38 48, 2011.