Beruflich Dokumente
Kultur Dokumente
Abstra t.
1 Introdu
tion
The demand for railway transportation in Europe has been in
reasing rapidly
during the past few years, partly in
uen
ed by the ongoing eorts of European governments to persuade people to use publi
transportation. Be
ause of the resulting in
rease in railway tra
, the pro
ess of
onstru
ting
railway timetables is be
oming more and more
omplex. At the same time,
the introdu
tion of
ompetition on the European railroads has pushed the
management of railway
ompanies to
onsider various methods for improving their business planning pro
esses, one important planning pro
ess being
the
onstru
tion of timetables. Therefore railway
ompanies are interested
in methods for generating several timetables, preferably of high quality, in a
reasonable amount of time, so as to be able to evaluate several alternatives
for their future timetables.
These developments have led to an in
reasing interest in the problem
of
onstru
ting
y
li
railway timetables, as operated in several European
ountries. In su
h a
y
li
timetable, train
onne
tions are operated on a
regular basis, e.g., a train for a
ertain destination will leave every hour at 5
minutes past the hour. Re
ently, several authors have published work on this
problem, with a rst su
essful attempt by S
hrijver and Steenbeek (1994),
who studied the problem of
onstru
ting a feasible timetable, and more re
ent
publi
ations by Na
htigall (1999), Goverde (1999), and Lindner (2000) on the
optimization of
y
li
railway timetables. These authors all use models that
are based on the Periodi
Event S
heduling Problem (PESP) introdu
ed by
Serani and Ukovi
h (1989).
This paper proposes some new obje
tive fun
tions that
an be used within
the above des
ribed models. These obje
tive fun
tions aim at minimizing the
passengers' travel time,
onstru
ting a robust timetable, and minimizing the
number of train
ompositions to operate a timetable. Also, any
ombination
of these obje
tives is possible, with a possible weight fa
tor.
A
y
li
railway timetabling problem
an be represented by a so-
alled
onstraint graph. At the
ore of the mixed integer linear program des
ribing
the
y
li
railway timetabling problem lies a basis of the
y
le spa
e of this
onstraint graph. In this paper, we also show the
onsiderable impa
t that
the
hoi
e for a
ertain type of
y
le basis has on the
omputation times.
1.1
Pra ti al ba kground
During the past de
ade, the Netherlands' largest passenger railway operator
NS Travelers and the Dut
h railway
apa
ity manager Railned have been
putting a lot of eort into the development of the automati
timetabling
system DONS (short for Designer Of Network S
hedules). One of the intelligent modules of DONS,
alled CADANS, was developed by S
hrijver
and Steenbeek (1994) to assist timetable planners in generating a tentative
timetable based on
onstraints dedu
ed from the rough layout of the railway
network, the train line system, safety regulations, and quality requirements.
The timetable
onstru
ted by CADANS is
y
li
with a
y
le length of one
hour.
The DONS system has been in use at NS Travelers and Railned for some
years now, and CADANS generally performs well, both from a mathemati
al
point of view and in the view of the planners that use it on a daily basis. However, the operational use has also indi
ated some problems. Firstly,
CADANS is an algorithm based on
onstraint satisfa
tion, that sear
hes
for some timetable that satises all requirements. After nding a feasible
timetable, provided that one exists, the algorithm terminates without giving information on the quality of the returned timetable, or on what other
timetables may exist that also satisfy the requirements. Although it is possible to lo
ally optimize the obtained timetable, su
h a lo
al optimization
ignores many other, possibly better, timetables. Se
ondly, when no feasible
timetable exists, a minimal set of mutually
on
i
ting
onstraints is returned,
but pra
ti
al experien
es have shown that this information does not
ompletely answer the planners' requirements. In this
ase, one would ideally like
to re
eive information on how the spe
ied requirements should be adjusted.
A solution to these two problems is oered by using an optimization approa
h, rather then just sear
hing for a feasible timetable. Su
h an optimization approa
h enables one (i ) to sear
h for a timetable that is optimal with
respe
t to the dened obje
tive fun
tion, and (ii ) to gain insight into the
ne
essary
hanges to an infeasible instan
e, by allowing a penalized violation
of the
onstraints or some subset of them.
1.2
The remainder of the paper is outlined as follows. The next se
tion gives
an overview of the literature on related railway timetabling problems. Se
tion 3 presents the optimization extension to the existing railway timetabling
model, resulting in a mixed integer program. In Se
tion 4 we propose some
prepro
essing pro
edures to redu
e the size of instan
es, and thus the number
of integer variables. The presented methods were tested on several variants of
the Dut
h inter
ity train network, the results of whi
h are dis
ussed in Se
tion 5. The nal se
tion
ontains the
on
lusions and some ideas for further
resear
h.
2 Literature Review
Several resear
hers have studied problems in the eld of railway timetabling
or railway s
heduling. Here, we only give an overview of the literature that
is related to our resear
h: network based
y
li
railway timetabling for the
types of railway networks that one nds in several European
ountries, i.e.
generally one tra
k for ea
h dire
tion of tra
, and high frequen
y tra
that is inter-related by many
onne
tions.
The model that lies at the basis of the
y
li
railway timetabling model
was developed by Serani and Ukovi
h (1989). Their paper des
ribes the Periodi
Event S
heduling Problem (PESP), that
onsiders the s
heduling of a
set of periodi
ally re
urring events under periodi
time window restri
tions
on pairs of these events. An obje
tive fun
tion was not taken into a
ount;
their main interest was in nding feasible periodi
s
hedules. They proved
that the general PESP is NP-
omplete, and proposed a Bran
h&Bound pro
edure for nding feasible solutions. They also presented some appli
ations
in job shop s
heduling, transportation s
heduling and tra
light s
heduling.
Hassin (1996) des
ribes an optimization model for the Network Syn
hronization Problem (NSP), a mathemati
al model that provides an optimization
formulation for PESP, but does not take into a
ount
onstraints as hard
rules. Instead, forbidden time window values are highly penalized.
S
hrijver and Steenbeek (1994) solve a PESP formulation for the Dut
h
railway timetabling problem with a
onstraint propagation algorithm. The
basis of this algorithm is enumeration: whenever an arrival or departure time
has been xed, the
onsequen
es for all other times are propagated. Moreover, some
lever bran
hing and ba
ktra
king tri
ks were invented to speed
up the solution pro
ess. Hurkens (1996) uses the same formulation to test a
polyhedral solution method. He
on
ludes that the method works, but
omputation times in
rease rapidly with the instan
e sizes. Odijk (1996, 1997)
uses a
utting plane algorithm to generate timetables. The obje
tive of his
resear
h is to qui
kly generate a family of timetables, in order to evaluate
possible infrastru
ture lay-outs around and within stations. His results are
promising, but only for rather small problems, i.e. a station and a small network immediately surrounding it. Na
htigall (1999) studied optimization for
y
li
railway timetabling, using as obje
tive minimal waiting times, minimal
travel times, and a multi-
riteria optimization. He developed two
lasses of
fa
et dening inequalities for the problem, and uses these in a
utting plane
method, whi
h is able to solve medium sized real life problems. We refer to
Na
htigall (1999) for a more detailed overview of
y
li
railway timetabling
problems. The
onstru
tion of minimum
ost timetables was studied by Lindner (2000). His model
ombines the assignment of train types and train units
to train lines with the timetabling problem.
Assumptions
Sin
e the 1930's, a
y
li
timetable for passenger trains has been in use in
the Netherlands. This means that trains leave (almost) every hour of the
day at the same time from a
ertain station for a
ertain dire
tion (with
a possible deviation of a few minutes). Be
ause of the
y
li
hara
ter of
the passenger servi
e timetable, one usually also reserves
y
li
time paths
for
argo trains; these are assigned to spe
i
trains at some later point in
time. In order to
onstru
t a
y
li
timetable, one only needs to
onstru
t a
y
li
timetable for one hour,
alled an hourly pattern. This hourly pattern
forms the basis for the a
tual timetable, where adjustments are made for
rush hours, weekends, holidays, spe
ial trains, et
. For
onstru
ting su
h an
hourly pattern, we assume the following information to be given:
Infrastru ture:
3.2
N
A (N N )
vi 2 f0; : : :; T
pij 2 Z
T
[lij ; uij
All
onstraints that were mentioned in the previous se
tion, safety
onstraints, marketing
onstraints, and trip time
onstraints,
an be represented
by
onstraints on pairs of events. Su
h a
onstraint on the event-pair (i; j ) 2 A
is written in the following way:
vj vi 2 [lij ; uij T :
(1)
This
onstraint states that event j should take pla
e between lij and uij
minutes after event i takes pla
e. The notation [:T means that the
onstraint
is
y
li
with
y
le time T , i.e. ea
h
onstraint should be taken modulo T .
We assume that 0 uij lij < T , sin
e else the
onstraint would have no
meaning in a
y
li
setting with
y
le time T . Multiple
onstraints may exist
for the event pair (i; j ), these will be ignored to keep the notation simple. A
representative set of example
onstraints for the CRTP
an be found in the
appendix.
We model the
y
li
nature of the
onstraints by the integer de
ision
variable pij . The p-variables will be used to subtra
t, when ne
essary, an
integer multiple of the
y
le time T from the time window [lij ; uij . The
feasible region for the railway timetabling problem
an be des
ribed as
8
>
<
Theorem 1.
If the integer variables pij are xed, we are left with an integer program with time window
onstraints on the v -variables only. The
onstraint
matrix for this integer program is the node-ar
in
iden
e matrix for the
onstraint graph G. This means that all verti
es of the polyhedron V are integral,
and we
an drop the requirement that v should be integer.
Proof
Serani and Ukovi
h (1989), Odijk (1997) and Na
htigall (1999) showed
that the Periodi
Event S
heduling Problem (PESP), whi
h
onsiders the
problem of nding a feasible solution to V , is NP-
omplete.
[lij , uij]T
Fig. 1.
3.3
i; j
A Cy le Based Formulation
The previous se
tion introdu
ed
y
li
onstraints involving an integer variable to mathemati
ally model the CRTP. These
onstraints prove to be very
powerful for
learly expressing timetable requirements by relations between
pairs of event times. For solving the problem, we shall however use a dierent
model. Instead of studying the feasible region (2), we shall use a formulation
based on
y
les in the
onstraint graph G, as proposed by Na
htigall (1999)
and S
hrijver (1999).
The variables vi ,
orresponding to the nodes in the graph G, are also
known as potentials, see e.g. Ro
kafellar (1984). Correspondingly, an ar
variable xij = vj vi is a so-
alled tension. It is well-known that a ve
tor x is a
feasible tension if and only if the oriented sum of tensions xij along any
y
le
in the
onstraint graph G equals zero. It is however su
ient to
onsider a
basis C of the
y
le spa
e. For a
y
le
, let
ij
be 1 for forward ar
s, {1 for
ba
kward ar
s, and 0 for ar
s that are not in the
y
le. Then x is a feasible
tension if and only if
X
2A
(i;j )
ij xij = 0
8 2 C :
X = >x 2 R m
>
>
:
P
(i;j ) A
ij
ij
m
8
2 C
2
ij xij = 0
l x + Tpij uij 8(i; j ) 2 A
p2Z
9
>
>
>
=
>
>
>
;
(3)
Note the strong relation between potentials vi and tensions xij . Given potentials vi , tensions are straightforwardly
al
ulated. Conversely, given tensions
xij , a mat
hing set of potentials
an be
onstru
ted by xing one of them,
say v0 = 0,
al
ulating all other potentials by the formula vj = vi + xij , and
afterwards taking all potentials modulo T .
Sin
e we are
onsidering a
y
li
problem with
y
le time T , there is no
dieren
e between studying values x or values x + Tp. Therefore the above
set
an be formulated as
8
>
>
>
<
X = > x 2 Rm
>
>
:
P
(i;j ) A
ij
ij
m
P
2
ij xij = T i;j 2A
ij pij 8
2 C
l x uij
8(i; j ) 2 A
p2Z
(
9
>
>
>
=
>
>
>
;
(4)
The rst
ondition in this expression states that the oriented sum of tensions
along ea
h
y
le should equal a multiple of the
y
le time T . This
an also
be expressed using a new integer variable q
for ea
h
2 C , giving
8
>
>
>
<
X = >x 2 R m
>
>
:
P
(i;j ) A ij
ij
ij
m
n+1
2
xij = Tq
8
2 C
l x uij
8(i; j ) 2 A
q2Z
9
>
>
>
=
(5)
>
>
>
;
lij
= 1
(i;j ):
ij
uij Tq
X
=1
(i;j ):
ij
l
u
=
=
6
6
6
6
6
6
4
uij
= 1
(i;j ):
ij
13
X
=1
(i;j ):
ij
lij
(6)
lij :
=1
(i;j ):
ij
uij
X
= 1
(i;j ):
ij
uij A77
X
= 1
(i;j ):
ij
lij
17
7
7
A5
(7a)
(7b)
Putting all the above together, the feasible region of the CRTP is des
ribed
by
8
9
P
x = Tq
>
>
>
>
8
2
C
ij
>
>
(i;j )2A ij
>
>
>
>
<
X = >x 2
>
>
>
>
>
:
Rm
8(i; j ) 2 A
8
2 C
>
>
=
>
>
>
>
>
>
;
(8)
The model based on the feasible region X turns out to solve mu
h faster
than the model based on V . The remainder of the paper fo
uses on the
model des
ribed by (8). For experien
es with the original model, we refer to
an earlier paper (Peeters, 1999).
3.4
10
fij
uij
lij
I
Fig. 2.
T
dij
uij
lij
dij
II
2Ao
(i;j )
fij (xij ):
2Ct
q :
Note that more
ompli
ated
ir
ulation stru
tures
an be dealt with similarly,
e.g.
ir
ulation stru
tures in whi
h a train exe
utes several other trips before
returning to the origin station of its initial outward trip.
Fig. 3.
11
The following mixed integer non-linear program then denes the CRTP:
Minimize
subje
t to
2Ao
(i;j )
(i;j )
fij (xij ) +
ij xij = Tq
l
q
u
lij xij uij
x 2 Rm ; q 2 Zm
2Ct
q
8
2 C
8
2 C
8(i; j ) 2 A
(9)
n+1
Here, and are weights for the two obje
tives. Of
ourse, one
an also
asso
iate weights with
ertain train
y
les, or in
orporate weights in the
fun
tions fij . Note that in this formulation, the set of train
y
les Ct must
be part of the
y
le basis C . One
an also
onstru
t a
y
le basis that does
not
ontain the train
y
les expli
itly, and write the q -variables for the train
y
les as linear
ombinations of q -variables for
y
les in the
y
le basis.
The mixed integer non-linear program (9)
an be transformed
to a mixed integer linear program by repla
ing all quadrati
fun
tions ij ( ij )
0 that are exa
t for integer values of ij . The
by linear approximations ij
resulting mixed integer linear program will have exa
tly the same optimal
solution and solution value as (9).
Theorem 2.
f x
x
Proof
3.5
We
an use Theorem 2 to linearize quadrati
obje
tive fun
tions fij , and
thereby formulate the CRTP as a pure mixed integer program. Consider
12
the quadrati
fun
tion in Figure 2.II. For all integer values xij 2 [lij ; uij ,
the quadrati
fun
tion fij (xij ) = x2ij passes through the following points
(xij ; fij (xij ))
(lij + ; 2 )
= 0; : : :; uij lij :
The line through the
onse
utive points
(lij + ; 2 ) and (lij + + 1; ( + 1)2 )
is des ribed by
y = a()xij + b()
with
8
<
a()
b()
= 0; : : :; uij lij
= 0; : : :; uij lij
1:
= 2 + 1;
( + 1) (2 + 1)lij :
We will linearize the quadrati
fun
tion fij by introdu
ing an auxiliary variable fij0 . These variables are bounded from below as follows
fij0 a()xij + b()
2 ij ;
(10)
with ij = [0; : : :; uij lij 1. For the quadrati
fun
tion in Figure 2.I both
:
subje t to
2Ao
(i;j )
(i;j )
fij0 +
2Ct
ij xij = Tq
l
q
u
lij xij uij
fij0 a()xij + b()
x 2 Rm ; q 2 Zm n
q
8
2 C
8
2 C
8(i; j ) 2 A
8(i; j ) 2 Ao ; 2 ij
(11)
+1
Note that, in order to apply Theorem 2, the quadrati
fun
tions fij must
be approximated su
h that the approximation is exa
t for every integer value
in the time window [lij ; uij . For wide time windows, this will result in many
linear inequalities that bound the variables fij0 from below. This in turn may
lead to very large linear programming relaxations in a Bran
h&Bound pro
edure. A
ompromise might then be to approximate the quadrati
fun
tions
su
h that the approximation is exa
t only for = 0; : : :; max , and to approximate to remainder of fij by the last linear inequality
fij0 (2
max
+ 1)xij
max
(max + 1)
(2max + 1)lij :
13
W (C ) =
2C
( u
l + 1) :
(12)
The width of a
y
le basis is an indi
ation of the size of the solution spa
e of
the CRTP, sin
e it
ounts the possible values of the ve
tor q . It is therefore
lear that a good
y
le basis would be one with small W (C ). However,
onstru
ting a
y
le basis that minimizes W (C ) is hard be
ause of the rounding
in
al
ulating u
and l
. We use a heuristi
proposed by Na
htigall (1999) to
onstru
t a
y
le basis with small width. First,
ompute a spanning tree that
is minimal with respe
t to the quantities wij = uij lij + 1, the width of the
time windows. Then, iteratively add a non-tree ar
, whi
h generates a
y
le.
Ea
h of the wide non-tree ar
s will therefore only appear in one
y
le. Moreover, the part of a
y
le that is
ontained in the tree will have a relatively
small width. Therefore, the total width of the
y
le basis will hopefully be
small. A similar pro
edure was used by Serani and Ukovi
h (1989) for their
algorithm to solve PESPs.
If we want to in
lude rolling sto
k
ir
ulation
y
les into the obje
tive
fun
tion (see Se
tion 3.4), we pro
eed as follows in
onstru
ting a so-
alled
ir
ulation
y
le basis. For all ar
s
orresponding to trip time
onstraints,
dwell time
onstraints, and turn-around
onstraints, we set wij = 0. For
all other ar
s, wij = uij lij + 1 as before, and we iteratively add a nontree ar
as before. This way, all rolling sto
k
ir
ulation
y
les have width
zero, and will therefore be in
luded in the
y
le basis. After all
ir
ulation
y
les have been added to the
y
le basis, the pro
edure
omplements the
y
le basis with small width
y
les as in the previous pro
edure. Clearly, the
ir
ulation
y
le basis may be mu
h wider than the
y
le basis
onstru
ted
by the heuristi
, espe
ially for trains that stop frequently, resulting in many
dwell time
onstraints, and wide turn-around windows.
4 Prepro
essing
The instan
es that we use are obtained from the de
ision support system
DONS. The size of instan
es
an be redu
ed drasti
ally by applying prepro
essing. By deleting ar
s from G, we may also delete some
y
les, thereby
redu
ing the number of integer variables, whi
h
an
onsiderably improve
the solution pro
ess.
The DONS instan
es typi
ally
ontain
many parallel
onstraints, e.g. safety
onstraints for trains that belong to
the same train series, and that are therefore already separated by their
frequen
y
onstraints.
14
vj vi 2 [lij ; uij T ;
vk vj 2 [ljk ; ujk T :
Here, node j is assumed to have degree two, so that the ar
s (i; j ) and
(j; k )
an be merged. This
ontra
ted ar
then represents the
onstraint
vj vi 2 [20; 40 ;
vk vj 2 [20; 40 ;
60
60
vk vi 2 [40; 80
60
The two disjun
t windows may be modeled by two new parallel ar
s, but
we may then just as well not
ontra
t the two original ar
s.
Removing subsequent safety
onstraints. Consider the situation of two
trains, 1 and 2, running from station A to station B, and using the same
tra
k. Let the trip times along tra
k AB be r1 and r2 for train 1 and 2
respe
tively, and denote the departure times from station A by v1 and v2 .
The arrival times at station B will then be (v1 + r1 ) and (v2 + r2 ). Upon
leaving and entering a station, there should be a buer time between the
two trains (see also example 5 in Appendix A). Pra
ti
ally, this buer
time is often the same for both entering and leaving a station. Supposing
the identi
al buer times equal h, we get the following two
onstraints
v v 2 [h; T hT
(v + r ) (v + r ) 2 [h; T hT
2
whi h an be rewritten as
v
v
2
2
v 2 [h; T hT
v 2 [h; T hT + (r
1
r)
2
15
v 2 [h; T hT \ [h + (r
r ); T h + (r
2
r )T :
Consider the
ase where several trains, not ne
essarily belonging to the same series,
use a
ertain segment of railway tra
k. Suppose that these trains do not
stop at ea
h station they pass. This means that we
an
ontra
t their trip
times over the segment, under the
ondition that the safety
onstraints
are also adjusted. Su
h a situation is illustrated in Figure 4, where the
r1 2
r2 3
r1 2+r2 3
3
2
6
s2 5
s1 4
s3 6
1 3
32
6
s3 6
s1 4'
s1 4''
6
r4 5
Fig. 4.
56
r5 6
4 6
r4 5+r5 6
nodes (1,2,3)
orrespond to one train, and the nodes (4,5,6) to the other.
The windows for all safety
onstraints are assumed to be [h; T h, and
are denoted by s14 ; s25 ; s36 . The
ontra
tion of the equality
onstraints,
respe
ting all safety buers,
an be done by moving the safety
onstraint
between the heads of two ar
s to the tails of the ar
s. For the trip ar
s (1,2)
and (4,5) this means that s14 should be interse
ted with s25 + r12 r45 ,
giving
s014 = s14 \ (s25 + r12 r45 ):
Note that this
an also be seen as strengthening the window s14 by
onsidering the path 1-2-5-4. Repeating this pro
edure gives
s00
14
45
r ):
56
Espe
ially for large subgraphs of this stru
ture, involving several trains
and segments, the shrinking pro
edure
onsiderably redu
es the number
of ar
s and, more importantly, the number of
y
les in the
onstraint
graph.
5 Computational Results
The model was tested on the Dut
h inter
ity network for 1997/1998, as obtained from NS Travelers. We will rst des
ribe the instan
e in more detail,
then dis
uss the used obje
tive fun
tions, and
on
lude with an overview of
the
omputational results.
16
5.1
The IC97 instan
e
ontains all the inter
ity trains in the Netherlands in the
hourly pattern for the 1997/1998 timetable. The instan
e
onsists of 50 stations and 25 train lines. The
y
le time is one hour, i.e. T = 60. Although all
trains have frequen
y one, many routes are visited by multiple train lines, and
frequen
y
onstraints between these dierent lines are dened so as to have
a half hour servi
e on the majority of the routes. Conne
tions are dened
su
h that it is possible to travel with a good
onne
tion between any two
inter
ity stations. The instan
e also
ontains many
onne
ting and dis
onne
ting events between train lines, to model the situation where two trains
are
onne
ted to travel a
ommon part of their trips as one train. The initial
onstraint graph, as obtained from the DONS system,
onsists of 1475
nodes and 3394 ar
s. After applying the prepro
essing pro
edures of Se
tion
4, the size of the
onstraint graph is redu
ed to 217 nodes and 586 ar
s.
Consequently, a
y
le basis for the
onstraint graph will
ontain 370
y
les.
init
1
2
3
4
Table 1.
17
for the asso
iated a
tivity. For all these variants the frequen
y
onstraints
are perfe
t; their time windows
onsist of the singleton 30. We will also study
variants, indi
ated by the letter F, for whi
h the frequen
y time window is
relaxed to [25; 3560. For all variants, the headway time equals three minutes.
5.2
The following obje
tive fun
tions were
onsidered in our
omputational experiments:
L
Q
Ri
T
TL
TQ
For the obje
tive fun
tions L, Q, and R, the weight parameters are = 1; =
0. For L and Q, the set Ao
onsists of all
onne
tion and dwell time
onstraints, that are penalized linearly and quadrati
ally, respe
tively. These
obje
tive fun
tions aim at minimizing the travel time of passengers, sin
e
ea
h minute above the absolute lower bound of a
onne
tion or dwell time
window is time that a trains spends waiting at a station, and therefore adds
to the total travel time of the passengers in it. For R, the set Ao
onsists of
the safety
onstraints, and the deviation from the middle of the safety time
windows is penalized quadrati
ally. The idea here is to push trains apart as
mu
h as possible, so that it be
omes less likely that they
on
i
t with ea
h
other in
ase of delays. These
onstraints typi
ally have very wide time windows, e.g. for the IC97 instan
e [3; 5760 . We will therefore
onsider three
variants, that dier in max , the number of inequalities that are used to approximate the quadrati
obje
tive fun
tion. For the obje
tive fun
tion T the
weight parameters are set to = 0; = 1, and a rolling sto
k
ir
ulation
y
le basis is used. Finally, for TL and TQ, the weight parameters are set to
= 0; = 10; 000.
5.3
Computational Results
We used the mixed integer programming solver of CPLEX 6.6 (ILOG CPLEX
website, 2000) to solve problem (11). The tables below
ontain the
omputation times in se
onds (time), the number of Bran
h&Bound nodes (nodes),
the number of iterations required to solve the linear programming relaxations
18
(iterations), and the optimal obje
tive value (zopt ) for ea
h of the variants. All
omputations were done on a Pentium III 667 MHz with 128 Mb of memory.
Ea
h line in the tables represents a
ombination of an obje
tive fun
tion
and a variant of the instan
e. For example, L1 means obje
tive fun
tion
L for variant 1, Q33 means obje
tive Q with max = 3 for variant 3, and
CL4 obje
tive CL for variant 4. Whenever an F appears, the frequen
y time
windows have been set to [25; 3560 instead of the default [3060 .
Table 2
ompares linear and quadrati
obje
tive fun
tions. It is
lear
that linear obje
tive fun
tions result in faster
omputation times, due to
the smaller size of the linear programming relaxations. However, a
loser
inspe
tion of the optimal solutions shows that quadrati
obje
tive fun
tions
yield solutions in whi
h the deviations from the lower bound of the
onne
tion
and dwell time windows are smaller. A ni
e
ompromise is to approximate
the quadrati
fun
tion only partially exa
tly, as is shown by
omparing Q3,
Q33 , and Q37 . Computation times de
rease, while the approximation error is
small. Finally, it
an be
on
luded that the
omputation times are a
eptable
for pra
ti
al use.
Table 2.
time.
19
quadrati
fun
tions fij to low values of max is essential for
omputation times
to stay within reasonable limits. For R18 , i.e. max = 8, the IC97 instan
e
ould not be solved within four hours. However, from a pra
ti
al point of view
this restri
ted approximation is no problem. Indeed, with a headway time of
three minutes, approximating exa
tly up to max = 3 results in a timetable
for whi
h the approximation is exa
t up to twi
e the minimal required safety
buer time, whi
h is more than adequate for pra
ti
al purposes.
Table 3.
Table 4 shows the results for minimizing the number of trains needed
to operate a timetable, possibly in
ombination with minimizing passengers'
travel time. In all solutions, 65 trains are needed to operate the timetable.
Note that the a
tual number of trains needed is larger, sin
e we did not
in
lude international trains and some other spe
ial
ases into the obje
tive
fun
tion. The
omputation times are again very a
eptable, although a lot
of extra time is needed for TL1 and TQ1 in
omparison to L1 and Q1. This is
be
ause the
y
le bases are mu
h wider when we are minimizing the number
of trains, sin
e they must
ontain the quite wide
ir
ulation
y
les. Also,
omputation times in
rease when relaxing the turn-around time windows
from variant 1 to variant 4, but this also results in a de
rease in the total
passenger travel time.
Table 4.
20
Table 5.
The infeasibility of the initial variant init is found within a fra
tion of a
se
ond in CPLEX's presolve phase, regardless of the used obje
tive fun
tion.
The tables show that the penalized relaxation of the
onstraints oers a quite
adequate tool for
reating a timetable that minimally violates the initial
onstraints. With respe
t to the aspe
t of
omputing an optimal timetable,
it is interesting to remark that for most variants of the IC97 instan
e, up
to four or ve integer feasible solutions are found during the Bran
h&Bound
pro
ess, where the value of the rst found integer solution
an be about 3
to 4 times worse than the optimal integer solution. Clearly, a lot might be
missed when one just sear
hes for a feasible solution.
21
model provides an easy and ee
tive
on
ept for dealing with infeasible instan
es. An important fa
tor to make the method work well is the appli
ation
of the prepro
essing pro
edures des
ribed in Se
tion 4. Without these pro
edures,
omputation times
an easily in
rease to up to several hours.
Obviously, the IC97 instan
e and its variants presented here do not give a
full view of the performan
e of the model on general CRTP's. A rst dire
tion
for further resear
h is therefore to test the model on other, more
ompli
ated
instan
es. A se
ond dire
tion of resear
h is to derive more general
ases for
whi
h shrinking of the
onstraint graph is possible. One idea is to also
ontra
t dwell time
onstraints, viewing the result as a train with a variable,
instead of a xed, trip time. Under
ertain
onditions, whi
h are des
ribed
in Kroon and Peeters (1999), safety
onstraints involving only the departure
and arrival surrounding su
h a variable trip time are ne
essary and su
ient
to meet all safety restri
tions along the route. Other dire
tions of resear
h
in
lude the investigation of methods to
onstru
t a good, maybe even optimal
y
le basis, and the in
orporation of the
lasses of valid inequalities by
Na
htigall (1999) into the model. Finally, it is not our intention to start from
s
rat
h in
onstru
ting a timetable, without using the very well performing
CADANS algorithm. We therefore want to investigate how to use the knowledge presented in this paper to improve the pra
ti
al use of CADANS and
DONS.
A
knowledgements
The authors would like to thank both referees for their useful
omments. This
resear
h is sponsored by Railned and NS Travelers as a part of the DONS
resear
h and development proje
t.
Bibliography
R.M.P. Goverde. Improving pun
tuality and transfer reliability by railway
timetable optimization. In P.H.L. Bovy, editor, Pro
eedings TRAIL 5th
Annual Congress, volume 2, Delft, The Netherlands, 1999.
R. Hassin. A
ow algorithm for network syn
hronization.
sear
h, 44(4):570{579, 1996.
Operations Re-
C. Hurkens. Een polyhedrale aanpak van treinrooster problemen (A polyhedral approa
h to railway timetabling problems). Unpublished. In Dut
h,
1996.
ILOG CPLEX website. http://www.ilog.
om/produ
ts/
plex/, 2000.
L.G. Kroon and L.W.P. Peeters. A variable running time model for
y
li
railway timetabling. Erasm management report series 28-1999, Erasm,
Rotterdam, The Netherlands, 1999.
T. Lindner. Train S
hedule Optimization in Publi
Rail Transport. PhD
thesis, Te
hni
al University Brauns
hweig, Brauns
hweig, Germany, 2000.
K. Na
htigall. Periodi
Network Optimization and Fixed Interval Timetables.
PhD thesis, Deuts
hes Zentrum fur Luft- und Raumfahrt, Brauns
hweig,
Germany, 1999.
M.A. Odijk. A
onstraint generation algorithm for the
onstru
tion of periodi
railway timetables. Transportation Resear
h, 30(6):455{464, 1996.
M.A. Odijk. Railway Timetable Generation. PhD thesis, Delft University of
Te
hnology, Delft, The Netherlands, 1997.
L.W.P. Peeters. An optimization appro
h to railway timetabling. In P.H.L.
Bovy, editor, Pro
eedings TRAIL 5th Annual Congress, volume 1, Delft,
The Netherlands, 1999.
R.T. Ro
kafellar. Network Flows
& Sons, New York, 1984.
John Wiley
23
A Example Constraints
This appendix presents some representative examples of pra
ti
al railway
timetable
onstraints. To improve the
larity of these examples, we will use
the variable d for departure times and a for arrival times. The examples below
are illustrated in Figure 5.
Rotterdam
Utrecht
train A
[30]T
[3,57]T
[1,3]T
[2,5]T
train D
Amsterdam
train C
[28,32]T
train B
Fig. 5.
Inter
ity train A runs from Rotterdam to Utre
ht, whi
h takes 30 minutes.
We have
aA;Utre
ht dA;Rotterdam = [30T :
Example 2. Dwell time
onstraint.
Suppose that upon arrival in Utre
ht, train A has to stop between 1 and 3
minutes for the boarding and alighting of passengers. This gives
Next, suppose that train B leaves from Utre
ht for Amsterdam, and that
some passengers of train A want to transfer to train B in Utre
ht. Train
B should leave between 2 and 5 minutes after train A arrives, so that the
passengers have enough time to transfer. We then have
Now let train B belong to some train series with frequen
y 2 (twi
e per hour),
and suppose we want to have a
exibility of (plus or minus) 2 minutes in this
frequen
y. Let train C be the other train in this series. Sin
e twi
e per hour
means that a train should leave every 30 minutes, and taking into a
ount
the 2 minutes
exibility, we obtain
24
3T =