Combined Bus and Driver Scheduling



Σχετικά έγγραφα
Πρόβλημα 1: Αναζήτηση Ελάχιστης/Μέγιστης Τιμής

ΑΙΚΑΤΕΡΙΝΗ-ΠΑΝΑΓΙΩΤΑ ΣΤΟΥΚΑ ΝΙΚΟΛΑΟΣ ΛΑΜΠΡΟΥ. μπλ 2014

Section 8.3 Trigonometric Equations

Numerical Analysis FMN011

Multicut and Integer Multicomodity Flow in Trees (chap. 18) Αγγελής Γιώργος

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 24/3/2007

ES440/ES911: CFD. Chapter 5. Solution of Linear Equation Systems

EE512: Error Control Coding

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

ΚΥΠΡΙΑΚΟΣ ΣΥΝΔΕΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY 21 ος ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ Δεύτερος Γύρος - 30 Μαρτίου 2011

Mock Exam 7. 1 Hong Kong Educational Publishing Company. Section A 1. Reference: HKDSE Math M Q2 (a) (1 + kx) n 1M + 1A = (1) =

ΤΕΧΝΟΛΟΓΙΚΟ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΣΧΟΛΗ ΜΗΧΑΝΙΚΗΣ ΚΑΙ ΤΕΧΝΟΛΟΓΙΑΣ. Πτυχιακή εργασία

Matrices and Determinants

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

Approximation of distance between locations on earth given by latitude and longitude

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

SCITECH Volume 13, Issue 2 RESEARCH ORGANISATION Published online: March 29, 2018

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

Section 7.6 Double and Half Angle Formulas

1. Αφετηρία από στάση χωρίς κριτή (self start όπου πινακίδα εκκίνησης) 5 λεπτά µετά την αφετηρία σας από το TC1B KALO LIVADI OUT

10 MERCHIA. 10. Starting from standing position (where the SIGN START ) without marshal (self start) 5 minutes after TC4 KALO LIVADI OUT

I student. Μεθοδολογική προσέγγιση και απαιτήσεις για την ανάπτυξη των αλγορίθμων δρομολόγησης Χρυσοχόου Ευαγγελία Επιστημονικός Συνεργάτης ΙΜΕΤ

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

ΑΛΓΟΡΙΘΜΟΙ Άνοιξη I. ΜΗΛΗΣ

Minimum Spanning Tree: Prim's Algorithm

Γραµµικός Προγραµµατισµός (ΓΠ)

ΕΥΧΑΡΙΣΤΙΕΣ. Θεσσαλονίκη, Δεκέμβριος Κώστας Δόσιος

A Bonus-Malus System as a Markov Set-Chain. Małgorzata Niemiec Warsaw School of Economics Institute of Econometrics

Network Algorithms and Complexity Παραλληλοποίηση του αλγορίθμου του Prim. Αικατερίνη Κούκιου

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

ΠΑΡΑΔΕΙΓΜΑΤΑ ΕΠΙΧΕΙΡΗΣΙΑΚΗΣ ΕΡΕΥΝΑΣ ΜΕ ΤΗ ΧΡΗΣΗ Η/Υ (3 ο Φυλλάδιο)

Instruction Execution Times

Concrete Mathematics Exercises from 30 September 2016

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

ΔΙΠΛΩΜΑΣΙΚΗ ΕΡΓΑΙΑ. του φοιτητή του Σμήματοσ Ηλεκτρολόγων Μηχανικών και. Σεχνολογίασ Τπολογιςτών τησ Πολυτεχνικήσ χολήσ του. Πανεπιςτημίου Πατρών

Surface Mount Multilayer Chip Capacitors for Commodity Solutions

ΠΑΡΑΜΕΤΡΟΙ ΕΠΗΡΕΑΣΜΟΥ ΤΗΣ ΑΝΑΓΝΩΣΗΣ- ΑΠΟΚΩΔΙΚΟΠΟΙΗΣΗΣ ΤΗΣ BRAILLE ΑΠΟ ΑΤΟΜΑ ΜΕ ΤΥΦΛΩΣΗ

ΕΛΛΗΝΙΚΗ ΔΗΜΟΚΡΑΤΙΑ ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ. Ψηφιακή Οικονομία. Διάλεξη 8η: Producer Behavior Mαρίνα Μπιτσάκη Τμήμα Επιστήμης Υπολογιστών

Second Order RLC Filters

Assalamu `alaikum wr. wb.

The Simply Typed Lambda Calculus

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

Πτυχιακή Εργασία Η ΠΟΙΟΤΗΤΑ ΖΩΗΣ ΤΩΝ ΑΣΘΕΝΩΝ ΜΕ ΣΤΗΘΑΓΧΗ

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

Math 6 SL Probability Distributions Practice Test Mark Scheme

ΣΥΝΔΥΑΣΤΙΚΗ ΒΕΛΤΙΣΤΟΠΟΙΗΣΗ

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Παράλληλος προγραμματισμός περιστροφικών αλγορίθμων εξωτερικών σημείων τύπου simplex ΠΛΟΣΚΑΣ ΝΙΚΟΛΑΟΣ

Homework 3 Solutions

GPU. CUDA GPU GeForce GTX 580 GPU 2.67GHz Intel Core 2 Duo CPU E7300 CUDA. Parallelizing the Number Partitioning Problem for GPUs

TMA4115 Matematikk 3

Χρειάζεται να φέρω μαζί μου τα πρωτότυπα έγγραφα ή τα αντίγραφα; Asking if you need to provide the original documents or copies Ποια είναι τα κριτήρια

ΠΑΝΔΠΙΣΗΜΙΟ ΜΑΚΔΓΟΝΙΑ ΠΡΟΓΡΑΜΜΑ ΜΔΣΑΠΣΤΥΙΑΚΧΝ ΠΟΤΓΧΝ ΣΜΗΜΑΣΟ ΔΦΑΡΜΟΜΔΝΗ ΠΛΗΡΟΦΟΡΙΚΗ

Αλγόριθμοι και πολυπλοκότητα NP-Completeness (2)

Matrices and vectors. Matrix and vector. a 11 a 12 a 1n a 21 a 22 a 2n A = b 1 b 2. b m. R m n, b = = ( a ij. a m1 a m2 a mn. def

Example Sheet 3 Solutions

SCOPE OF ACCREDITATION TO ISO 17025:2005

New bounds for spherical two-distance sets and equiangular lines

Βασίλειος Μαχαιράς Πολιτικός Μηχανικός Ph.D.

ΠΑΝΕΠΙΣΤΗΜΙΟ ΠΑΤΡΩΝ ΤΜΗΜΑ ΗΛΕΚΤΡΟΛΟΓΩΝ ΜΗΧΑΝΙΚΩΝ ΚΑΙ ΤΕΧΝΟΛΟΓΙΑΣ ΥΠΟΛΟΓΙΣΤΩΝ ΤΟΜΕΑΣ ΣΥΣΤΗΜΑΤΩΝ ΗΛΕΚΤΡΙΚΗΣ ΕΝΕΡΓΕΙΑΣ ΕΡΓΑΣΤΗΡΙΟ ΥΨΗΛΩΝ ΤΑΣΕΩΝ

Mean bond enthalpy Standard enthalpy of formation Bond N H N N N N H O O O

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

SÔntomec plhroforðec gia to glpsol (glpk)

Abstract Storage Devices

On the Galois Group of Linear Difference-Differential Equations

the total number of electrons passing through the lamp.

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 2008

ΗΜΥ 210 ΣΧΕΔΙΑΣΜΟΣ ΨΗΦΙΑΚΩΝ ΣΥΣΤΗΜΑΤΩΝ. Χειµερινό Εξάµηνο ΔΙΑΛΕΞΗ 3: Αλγοριθµική Ελαχιστοποίηση (Quine-McCluskey, tabular method)

CHAPTER 12: PERIMETER, AREA, CIRCUMFERENCE, AND 12.1 INTRODUCTION TO GEOMETRIC 12.2 PERIMETER: SQUARES, RECTANGLES,

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

AME SAMPLE REPORT James R. Cole, Ph.D. Neuropsychology

ΣΥΝΔΥΑΣΤΙΚΗ ΒΕΛΤΙΣΤΟΠΟΙΗΣΗ

Μάθημα Επιλογής 8 ου εξαμήνου

ΑΛΓΟΡΙΘΜΟΙ Άνοιξη I. ΜΗΛΗΣ

ΑΛΓΟΡΙΘΜΟΙ Άνοιξη I. ΜΗΛΗΣ

Επιχειρησιακή Έρευνα

Liner Shipping Hub Network Design in a Competitive Environment

Αλγόριθμοι και πολυπλοκότητα Depth-First Search

Areas and Lengths in Polar Coordinates

Εφαρμογές Επιχειρησιακής Έρευνας. Δρ. Γεώργιος Κ.Δ. Σαχαρίδης

Προσομοίωση BP με το Bizagi Modeler

HY380 Αλγόριθμοι και πολυπλοκότητα Hard Problems

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Section 9.2 Polar Equations and Graphs

Fractional Colorings and Zykov Products of graphs

Areas and Lengths in Polar Coordinates

Συστήματα Επιχειρηματικής Ευφυίας. Το πρόβλημα Nurse rostering Ενδεικτική επίλυση με αλγόριθμο Variable Neighborhood Search (VNS)

Χρήση συστημάτων πληροφορικής στην οδική υποδομή

Physical DB Design. B-Trees Index files can become quite large for large main files Indices on index files are possible.

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Προσεγγιστικοί Αλγόριθμοι βασισμένοι σε Γραμμικό Προγραμματισμό

Galatia SIL Keyboard Information

Distances in Sierpiński Triangle Graphs

[1] P Q. Fig. 3.1

ΑΛΓΟΡΙΘΜΙΚΕΣ ΜΕΘΟΔΟΙ ΒΕΛΤΙΣΤΟΠΟΙΗΣΗΣ

ΣΗΣΛΟ: Ζ ΥΡΖΖ ΒΗΟΛΟΓΗΚΧΝ ΠΡΟΗΟΝΣΧΝ ΣΟΝ ΑΓΡΟΣΟΤΡΗΜΟ

5.4 The Poisson Distribution.

Transcript:

Combined Bus and Driver Scheduling C Valouxis, E Housos Computers and Operation Research Journal Vol 29/3, pp 243-259, March 22 AMORE Patra, 2

Problem Definition () Shift: a set of routes that will be performed by a bus and its driver in one day Shifts must be legal according to a complex set of rules The solution of the problem is a set of shifts that cover all the work with the minimum cost AMORE Patra, 2 2

Problem Definition (2) Bus Type Kilometers Driver Base, current position Starting hour of work Available days before the scheduled days-off AMORE Patra, 2 3

Problem Definition (3) Trip segment Departure and Arrival time and place Required bus type (fleet requirement) Distance in km Shift Set of trip segments and rest-time assigned to a specific bus and driver AMORE Patra, 2 4

Problem Definition (4) The solution of the problem is a set of shifts that must satisfy the following All shifts should be legal All required trip segments must be covered Minimum cost Attempt to balance monthly total overtime & kilometer parameters AMORE Patra, 2 5

AMORE Patra, 2 6 Integer Program P () [] [ ] 8 5 5 2 9 8 5 2 = <= = c Busses Trip segments

Integer Program P (2) Minimize n j= c j x j Subject to = {,} i B, Β is the set of busses T is the set of trip segments n is the number of generated shifts c j is the cost of a shift j=n n j= n j= a ij x j b kj x j = x j k T AMORE Patra, 2 7

Minimum Cost Matching Problem b i c ij b j Graph G(V,E) Min i, j) Mcij i ( c ij cost of edge (i, j) E b i cost of vertex i V M is a matching V the set of vertices M { ( V V ) bi + } AMORE Patra, 2 8

A Problem Specific Heuristic (QS) Make initial shifts Minimum cost matching Apply shifts improvement 2-opt 3-opt, Set Partitioning (SPP) Shortest path AMORE Patra, 2 9

Partition of Trip Segments Into Levels Level Level 2 Level 3 Level L Trip segment AMORE Patra, 2

Initial Shifts Assign trip segments of level to buses Enlargement of shifts with trip segments of level k+ Shifts with trip segments until level k Trip segments of level k+ bi cij Bus Trip segment AMORE Patra, 2

2-opt Improvement of Shifts Combine 2 shifts and find the best combinations to apply by solving a matching problem bi bj cij b i,b j costs of shifts i, j c ij the cost of the best interconnection between shifts i, j AMORE Patra, 2 2

Level Cutting Improvement of Shifts Shifts with trip segments until level k Pieces with trips of level greater than k b i cij b j AMORE Patra, 2 3

Shifts for Uncovered Trip Segments k-shortest path Buses Level Level 2 Level 3 Level L X X Sink node X t X X X X X X AMORE Patra, 2 4

Quick Shift (QS) detailed Algorithm Partition all trip segments into levels For a number of times 2 Make initial shifts by matching the trip segments between consecutive levels Repeat Repeat 3 Shifts improvement (2-opt search, level cutting) Until no more improvements can be made 4 Shifts improvement 3-opt search (set partitioning) Until no more improvements can be made 5 Find shifts for the uncovered trip segments (k-shortest path) 6 Keep some connections between trip segments from the solution AMORE Patra, 2 5

The Column Generation Algorithm (CGQS) First Phase Generate an initial solution (QS) Second Phase Repeat 2 Solve the linear relaxation of the complete model P 3 Use QS to get an integer solution 4 Generate additional columns in order to improve the quality of the linear program Until stopping rules are satisfied AMORE Patra, 2 6

Generate Additional Columns (Shifts) Bus Sink node c-y k Legal shifts Negative reduced cost DFS, Shortest paths rc j = c j y i k S y k AMORE Patra, 2 7

Computational Results No of busses No of trip segments Total drive time (Min) Idle time QS CGQS LP Min % Min % % Min 24 57 9855 5 5 5 46 34 23 32 32 2685 3 25 2672 6 58 375 555 4 4635 3 26 45597 48 75 262 289 945 69 46 85788 58 264 294 46 66 379 53 5 37346 89 337 342 9745 223 8235 95 9 87744 AMORE Patra, 2 8

Progress of the CGQS Algorithm 5 95 9 85 8 75 2 3 4 5 AMORE Patra, 2 9

Conclusions QS is an application specific IP heuristic Good solution (in production by itself!) Extremely fast with minimal computer requirements (original design goal) CGQS a column generation approach Significantly better solution Use of the QS algorithm as the IP solver Effective generation of additional shifts AMORE Patra, 2 2

Linear Program () Primal Min cx Subject to Ax = b, x Dual Max Subject to yb ya c AMORE Patra, 2 2

Linear Program (2) Duality Theorem Complementary Slackness Theorem αν x j > ycol j (A) = c j αν x j = ycol j (A) < c j rc j =c j -ycol j (A) Simplex, Interior Point AMORE Patra, 2 22

Δυναμική Δημιουργία Μεταβλητών (Column Generation) Πρόβλημα επιλογής μεταβλητών min cx με τους περιορισμούς: Ax>=b <=x<= Πρόβλημα δημιουργίας μεταβλητών! νόμιμες μεταβλητές! μεταβλητές που βελτιώνουν την λύση του προβλήματος επιλογής Πρόβλημα ακέραιας λύσης! Εισαγωγή περιορισμών! Ευρετικοί αλγόριθμοι! Αλγόριθμοι ακέραιου προγρ/σμου AMORE Patra, 2 23

Υποσύστημα Ελέγχου Νομιμότητας Νόμιμη βάρδια, κόστος Ένα δρομολόγιο τμήμα βάρδιας λεωφορείου Δύο δρομολόγια συνεχόμενα σε βάρδια Ένα δρομολόγιο συνεχίζει μια βάρδια Επιθυμίες Ανάθεση δρομολογίου σε οδηγό Δύο δρομολόγια να είναι διαδοχικά AMORE Patra, 2 24

Τελική Επιλογή Λεωφορείων και Οδηγών Οικονομική και εφικτή λύση (ΔΛΟ ή ΔΛΟΔΔΜ) Ιστορικά στοιχεία για εξίσωση υπερωριών «εύκολων» και «δύσκολων» δρομολογίων χιλιομέτρων Πρόβλημα «ταιριάσματος» με το ελάχιστο κόστος μεταξύ λεωφορείων-οδηγών και βαρδιών AMORE Patra, 2 25

Βελτίωση Βαρδιών ανά-3 Συνδυασμός τριών βαρδιών και έλεγχος για αλλαγές Μικρό υποπρόβλημα, SPP Γραμμές λεωφορεία, δρομολόγια Στήλες νόμιμες νέες βάρδιες Επίλυση SPP (υπονοούμενη απαρίθμηση) Το συνολικό κόστος μικρότερο των αρχικών βαρδιών AMORE Patra, 2 26

Βελτίωση Bαρδιών ανά-2 (πρώτη φάση) Συνδυασμός δύο βαρδιών και έλεγχος για αλλαγές Βάρδια i 2 Βάρδια j 3 4 5 Περίπτωση (α) 2 3 4 5 () Περίπτωση (β) 2 3 4 5 (2) νόμιμες νέες βάρδιες 2 3 4 Περίπτωση (γ) 5 συνολικό κόστος μικρότερο των αρχικών (3) AMORE Patra, 2 27

Επιλογή Συνδέσεων Δρομολογίων από τη λύση Αρχική λύση καθορίζει την ποιότητα της τελικής λύσης Επιλογή συνδέσεων δρομολογίων από τις καλύτερες βάρδιες Κατά τη δημιουργία αρχικών βαρδιών αξιοποιείται πληροφορία για καλή λύση AMORE Patra, 2 28