Top Banner
1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in Grid Scheduling Workshop, Oct 21-22, 03
22

1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

Mar 28, 2015

Download

Documents

Connor Richards
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

1

Experience from designing transport scheduling algorithms

Raymond Kwan

School of Computing, University of LeedsR.S.Kwan @ leeds.ac.uk

Open Issues in Grid Scheduling Workshop, Oct 21-22, 03

Page 2: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

2

o Public transport scheduling

Outline

o Optimisation issues

o Discussion

Page 3: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

3

Vehicle & Driver Operations

Transport Operator

The Public

Routes

Timetables

Fares

Planning & Scheduling

Depot Operations & management

Payroll

Public transport service

Page 4: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

4

Planning and scheduling

o Minimise operating costs

o Operator: one optimisation problem, all decisions are variables

o Solution designer:

Sequential tasks

Some decisions are fixed by earlier tasks

Some decisions are left open for later tasks

Page 5: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

5

Planning and scheduling tasks

Service and Timetable Planning

Vehicle Scheduling

Crew Scheduling

Crew Rostering

Page 6: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

6

Research & Development at Leeds

o Span over 40 years (22 years myself)

o Algorithmic approaches- hueristics- integer linear programming- rule-based/knowledge-based- evolutionary algorithms- tabu search- constraint – based methods- ant colony

o Numerous users in the UK bus and train industries

Page 7: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

7

Track Operator

UK Train Timetables

Train Operating Companies

Strategic Rail Authority

Office of the Rail Regulator

Health and Safety Executive

Parties involved in UK train timetabling

Page 8: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

8

o Three key types of decision variable

Departure times

Scheduled runtimes

Resource options at a station

Train timetables generation

Page 9: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

9

Hard Constraints

o Headway: time gap between trains on the same track

o Junction Margins: time gap between trains at a track crossing point

o No train collision!

- On a track

- At a platform

Page 10: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

10

Soft constraints

o (TOCs) Commercial Objectives

Preferred departure/arrival times

Clockface times

Passenger connections

Even service

Efficient train units schedule

Page 11: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

11

Bus Vehicle Scheduling

o Selection and sequencing of trips to be covered by each bus

o Each link may incur idling or deadrun time

o Minimise fleet size, idling time, deadrun time

o Other objectives: e.g. preferred block size, route mixing

Page 12: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

12

Bus Vehicle Scheduling - FIFO, FILO

Departures

Arrivals

FIFO for regular steady service

FILO for end of peak

Page 13: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

13

Driver Scheduling - Vehicle work to be covered

Vehicle 38S

13041110093507420600

HHSG

( Relief opportunity )

Location

Time

Piece of work

Page 14: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

14

2-spell driver shift example

Vehicle 1

Vehicle 2

Vehicle 3

sign on at depot

sign off at depotmeal break

Page 15: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

15

Vehicle 1

Vehicle 2

Vehicle 3

More example potential shifts

Page 16: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

16

o Jobs to be scheduled have precise starting and ending clock times

o Scheduling involves trying to get subsets of jobs to fit within their timings to be collectively served by a resource (vehicle or driver)

o Not the type of problem where jobs are queued to be served by a designated resource

Some characteristics of vehicle and driver scheduling

Page 17: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

17

Driver Rostering

o To compile work packages for driverse.g. A one-week rota

Sun REST

Sat REST

Fri S141350 - 1815

Thu S071201 - 1846

Wed S460512 - 1357

Tue S460512 - 1357

Mon S460512 - 1357

o Rules on weekly rotas

o Drivers may take the rotas in rotation

o Optimise fairness across the packages subject to rules and standby requirements

Page 18: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

18

Multi-objectives – what is optimality?

o Operators do not always try equally hard to achieve optimal operational efficiency

Union rules

Service reliability

Problem at hand is not on the “critical path”

Page 19: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

19

o Automatic global optimisation is obviously impractical

o Combining two successive tasks for optimisation are sometimes desirable, e.g.

Hong Kong: fixed size fleet, fixed peak time requirements, schedule buses & maximise off-peak service

Sao Paolo: driver and vehicle tied schedules

First (UK bus): “ferry bus” problems

Global optimisation?

Page 20: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

20

o Sometimes superior results could be simply obtained where powerful optimisation algorithms fail

A more favourable scheduling condition could be achieved from the preceding scheduling task

E.g. driver forced to take a break after a short work spell – swap in the vehicle schedule to lengthen the work spell

Better optimisation through intelligent integration of the scheduling tasks

o Needs good vision from the human scheduler – rule-based expert system to integrate the scheduling tasks?

Page 21: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

21

o Different types of service may pose different levels of difficulty for scheduling (different algorithmic approaches?)

Urban commuting: high frequency, many stops

Sub-urban and rural: lower frequency, fewer stops

Inter-city and provincial: long distance, few stops

Some problems have to consider route and vehicle type compatibility

Scheduling for different service types

Page 22: 1 Experience from designing transport scheduling algorithms Raymond Kwan School of Computing, University of Leeds R.S.Kwan @ leeds.ac.uk Open Issues in.

22

Discussion