Maintenance Routing Gábor Maróti CWI, Amsterdam and NS Reizigers, Utrecht Models for Maintenance Routing 2nd AMORE Seminar, Partas, 30.

Slides:



Advertisements
Similar presentations
Airline Schedule Optimization (Fleet Assignment I)
Advertisements

Outline LP formulation of minimal cost flow problem
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
1 Lecture 2 Shortest-Path Problems Assignment Problems Transportation Problems.
Introduction to Algorithms
Crew Scheduling Housos Efthymios, Professor Computer Systems Laboratory (CSL) Electrical & Computer Engineering University of Patras.
Solving the dispatching problem by MILP MIMIC (Mixed Integer Maurizio Igor Carlo) Carlo Mannino SINTEF ICT (Oslo), University of Rome Maurizio Boccia University.
Rake Linking for Suburban Train Services. Rake-Linker The Rake-Linker assigns physical trains (rakes) to services that have been proposed in a timetable.
Tirgul 12 Algorithm for Single-Source-Shortest-Paths (s-s-s-p) Problem Application of s-s-s-p for Solving a System of Difference Constraints.
Erasmus Center for Optimization in Public Transport 1 Shunting passenger train units: Practical planning aspects Ramon Lentink, Pieter-Jan Fioole, Dennis.
1 Optimization Spring 2007 (Third Quarter). 2 Some practical remarks Homepage: Exam: Written, 3 hours. There.
Network Design Adam Meyerson Carnegie-Mellon University.
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
Chapter 7 Network Flow Models.
1 A Second Stage Network Recourse Problem in Stochastic Airline Crew Scheduling Joyce W. Yen University of Michigan John R. Birge Northwestern University.
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
Lecture 3. Notations and examples D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
1 IOE/MFG 543 Chapter 7: Job shops Sections 7.1 and 7.2 (skip section 7.3)
Erasmus Center for Optimization in Public Transport Bus Scheduling & Delays Dennis Huisman Joint work with: Richard Freling and.
1 Ford-Fulkerson method Ford-Fulkerson(G) f = 0 while( 9 simple path p from s to t in G f ) f := f + f p output f Runs in time O(|f max | |E|) where f.
1 The Min Cost Flow Problem. 2 The Min Cost Flow problem We want to talk about multi-source, multi-sink flows than just “flows from s to t”. We want to.
Yashar Ganjali High Performance Networking Group Stanford University September 17, 2003 Minimum-delay Routing.
Airline Schedule Optimization (Fleet Assignment II) Saba Neyshabouri.
Train Scheduling in a Main Station Area © ETH Zürich | M. Fuchsberger Martin Fuchsberger Master thesis, Final Presentation Zurich, March 15.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
Package Transportation Scheduling Albert Lee Robert Z. Lee.
1 Using Composite Variable Modeling to Solve Integrated Freight Transportation Planning Problems Sarah Root University of Michigan IOE November 6, 2006.
Network Optimization Models
Slide 1 CSPs: Arc Consistency & Domain Splitting Jim Little UBC CS 322 – Search 7 October 1, 2014 Textbook §
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
1 Chapter-4: Network Flow Modeling & Optimization Deep Medhi and Karthik Ramasamy August © D. Medhi & K. Ramasamy, 2007.
MIT ICAT ICATMIT M I T I n t e r n a t i o n a l C e n t e r f o r A i r T r a n s p o r t a t i o n Virtual Hubs: A Case Study Michelle Karow
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
Q/.r NSRZKLA4-P1 Capacity planning for railway systems Leo Kroon Jan 17, 2002.
The minimum cost flow problem. Simplifying assumptions Network is connected (as an undirected graph). – We can consider each connected component separately.
Route Planning Texas Transfer Corp (TTC) Case 1. Linear programming Example: Woodcarving, Inc. Manufactures two types of wooden toys  Soldiers sell for.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
DISTRIBUTION AND NETWORK MODELS (1/2)
Master Method (4. 3) Recurrent formula T(n) = a  T(n/b) + f(n) 1) if for some  > 0 then 2) if then 3) if for some  > 0 and a  f(n/b)  c  f(n) for.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 7: February 3, 2002 Retiming.
An Integrated Approach to Load Matching, Routing, and Equipment Balancing Problem Sarah Root June 8, 2005 Joint work with advisor Amy M. Cohn.
V. Cacchiani, ATMOS 2007, Seville1 Solving a Real-World Train Unit Assignment Problem V. Cacchiani, A. Caprara, P. Toth University of Bologna (Italy) European.
1 Inventory Control with Time-Varying Demand. 2  Week 1Introduction to Production Planning and Inventory Control  Week 2Inventory Control – Deterministic.
Lagrangean Relaxation
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or.
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
The minimum cost flow problem. Solving the minimum cost flow problem.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
St. Edward’s University
Computer Science cpsc322, Lecture 13
The minimum cost flow problem
1.206J/16.77J/ESD.215J Airline Schedule Planning
Computer Science cpsc322, Lecture 13
Instructor: Shengyu Zhang
Integer Programming (정수계획법)
1.206J/16.77J/ESD.215J Airline Schedule Planning
Introduction Basic formulations Applications
3.4 Push-Relabel(Preflow-Push) Maximum Flow Alg.
Course Contents: T1 Greedy Algorithm Divide & Conquer
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Chapter 6 Network Flow Models.
Chapter 1. Formulations.
Vehicle routing in Python
Presentation transcript:

Maintenance Routing Gábor Maróti CWI, Amsterdam and NS Reizigers, Utrecht Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Maintenance Routing Gábor Maróti Leo Kroon Astrid Roelofs CWI, Amsterdam NS Reizigers, Utrecht Erasmus University, Rotterdam NS Reizigers, Utrecht Free University, Amsterdam NS Reizigers, Utrecht Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Maintenance Routing  Problem formulation  successive shortest paths  Computational results Models for Maintenance Routing 2nd AMORE Seminar, Partas,  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Problem formulation Train units After reaching a kilometer limit, they have to be checked. In practice: the most urgent units go for maintenance. The operational plan must be changed. Bottleneck: shunting Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Problem formulation Models for Maintenance Routing 2nd AMORE Seminar, Partas, (Very) naive idea: solve the shunting problem at each station Natural decomposition: solve the problem separately for the rolling stock types (and try to estimate the shunting difficulty) Solution: new rolling stock schedule in the planning horizon

Problem formulation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Input:  duties: sequences of tasks on each day  list of urgent units  deadlines  the actual operational plan Output:  new operational plan, such that  the urgent units can reach the maintenance station  “the cost is minimal”

Problem formulation Models for Maintenance Routing 2nd AMORE Seminar, Partas, The planning horizon is short (e.g. 3 days).  delays  shortage of crew  shortage of rolling stock   necessary changes in the plan  cancelled trains

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

What do they now do? Models for Maintenance Routing 2nd AMORE Seminar, Partas, Assign a most urgent unit to a first available maintenance job If no solution, change a bit the deadlines (  1 day). 2. Try to route it there 3. Call the local sunting crew: “Is the route feasible?” 4. Iterate this process

What do they now do? Models for Maintenance Routing 2nd AMORE Seminar, Partas, Deadlines for urgent units Days Nights

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Night change

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Night change

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Daily change

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Daily change: maybe possible

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Daily change: maybe possible

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Daily change

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Daily change (and a night change)

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Empty train movement

Models for Maintenance Routing 2nd AMORE Seminar, Partas, What do they now do? Urgent unit Assigned maintenance job Empty train movement (taking care of the balance)

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Nodes: arrival and departure events Arcs: operational plan + extra possibilities

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, “Grey box”: permitted or forbidden arcs A perfect matching is required Night arcs:

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Night arcs: Assumption: a small number of changes can be carried out

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Day arcs: Simple daily change possibility

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Day arcs: If we allow only one change for each train unit   it is enough to insert all these arcs

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Day arcs: In case we allow also more complex changes   the graph becomes more complicated.

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Day arcs: However, we did not implement multiple changes because they did not give any extra possibility (in the test data)

A graph representation Models for Maintenance Routing 2nd AMORE Seminar, Partas, Empty train arcs: extra arcs between the boxes: all or some of them (a small number is enough)

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Models Models for Maintenance Routing 2nd AMORE Seminar, Partas, Solution: a new operational plan, i.e.  perfect matching on the Night Arcs  perfect matching on the Day Arcs such that each urgent unit gets to the maintenance facility.

Models Models for Maintenance Routing 2nd AMORE Seminar, Partas, Quality of a solution: the extra shunting cost Linear cost function: cost on the arcs c (a) = 0 if a is in the original plan c (a)  0 otherwise Minimize the total sum of arc costs. Idea: “the closer to the original plan the better”

Models Models for Maintenance Routing 2nd AMORE Seminar, Partas, Example: Station Utrecht expensive cheapexpensive

Models Models for Maintenance Routing 2nd AMORE Seminar, Partas, Night arcs: cheap, not too expensive or almost impossible Day arcs: typically more expensive (more risky) Empty train arcs: very expensive  carriage kilometer  crew schedule

Models Models for Maintenance Routing 2nd AMORE Seminar, Partas, Test data: rolling stock type “Sprinter”  52 units (duties)  1 maintenance job on each workday  1 maintenance station  10 terminal stations  2 further possible (daily) shunting stations

Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Successive shortest paths Models for Maintenance Routing 2nd AMORE Seminar, Partas, Match the urgent train units to the maintenance jobs 2. For each urgent unit: determine a shortest path in the graph delete this path from the graph take the next urgent unit Algorithm

Successive shortest paths Models for Maintenance Routing 2nd AMORE Seminar, Partas, Easy, simple, very fast Takes no care of matching conditions (day, night) Ad hoc ideas are necessary

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Solution = Perfect matching in each box s.t. the deadline conditions are fullfilled Multicommodity flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Matching variables m on the Night Arcs and Day Arcs (0-1 valued). Still needed: linear inequalities expressing that 1. each urgent unit reaches the maintenance facility 2. in the time limit Models for Maintenance Routing 2nd AMORE Seminar, Partas, Multicommodity flow

A 1-flow for each urgent unit Multicommodity flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

2 Possible terminal nodes Deadline Multicommodity flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Variables:  matching variables m  flows x 1, x 2, x 3, … Constraints:  matching constraints  conservation rule for each flow  starting and terminal constraints for the flows   x i  m ( e ) Multicommodity flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Multicommodity flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, Objective function: minimize  ( c ( a ) m(a) : a  Night or Day Arcs )

If m is integral, the values x may be chosen float (read-valued). If x and m are integral on the Day Arcs, the other variables may be chosen float. Multicommodity flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Having fixed a matching m, s t set two new nodes s and t, set all arc capacities 1. Does there exist an s - t network flow of value 3? Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

 x : Arcs  [0 ; 1]  conservation rule for every nodes  s, t  the flow value is 3 (# of urgent units)  x(e)  m(e) for Night Arcs Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, Given a digraph G and a function C : Arcs  R   is a node potential (for the longest path) if C(uv)   (u)   (v) uv for every arc uv.

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, Having fixed a matchig m :  longest path = the only path    is an upper bound on the distance from the maintenance nodes (with appropriate initial values) ( C  1) Big

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, Instead of the deadlines: distances. d(u) := 2 deadline( u )  1

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, The important inequalities:  (u)  (v)  Big    m(uv)) for Day and Night Arcs  (u)  d(u) for urgent unit starting nodes LB ( v )   (v)  UB (v) for each node The bounds LB and UB from the graph structure Then Big := UB (v)  LB (u)  1

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas,  matching variables m  flow variables x  potential variables  integral may be chosen float Variables:

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, Constraints  matching variables m  flow variables x  potential variables  Variables:  matching constraints  flow constraints  potential constraints

Network flow Models for Maintenance Routing 2nd AMORE Seminar, Partas, Objective function: minimize  ( c ( a) m(a) : a  Night or Day Arcs )

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Computational results Models for Maintenance Routing 2nd AMORE Seminar, Partas,  Test data: rolling stock type “Sprinter”  days planning horizon  urgent units  IBM PC, Pentium III 900 MHz, 256 MB RAM  Software: ILOG OPL Studio 3.0, CPLEX 7.0

Computational results Models for Maintenance Routing 2nd AMORE Seminar, Partas, Only night connections (5 nights):

Computational results All possibilities: Models for Maintenance Routing 2nd AMORE Seminar, Partas,

Maintenance Routing Models for Maintenance Routing 2nd AMORE Seminar, Partas,   Problem formulation  successive shortest paths  Computational results  What do the planners now do?  A graph representation  Models multicommodity flow  network flow and node potential  Future

Future Models for Maintenance Routing 2nd AMORE Seminar, Partas, A lot cooperation with planners and shunting crew in  modelling the night shunting possibilities (costs)  determining the practical relevance of the solutions  finding the set of day connections New criteria for the rolling stock scheduling

Thank you.