discussed in section 4; finally, in section 5, some
conclusions are drawn.
2 DEFINITIONS AND NOTATION
The bus driver rostering problem, DRP, consists of
assigning a set of M drivers to daily crew duties that
operate the vehicles during a given planning horizon
H. In this paper, we consider a planning horizon of 7
weeks, 49 days. A crew duty is a daily working
period that respects labor law, union contracts and
internal rules of the company such as
maximum/minimum spread (time elapsed between
the beginning and end of a crew duty), maximum
working time without a break, break duration.
The sequence of crew duties and days off, one
per day, assigned to a particular driver during the
planning horizon is called a line of work. The set of
lines of work, covering all crew duties, assigned to
the drivers of the company is the roster. A roster
must satisfy a set of constraints related with labor
union contracts as well as internal rules of the
company. These constraints concern the minimum
number of days off per week, specific days off per
week, minimum number of Sundays off in the
planning horizon, minimum number of consecutive
days off, maximum number of consecutive
workdays and minimum number of rest hours
between consecutive crew duties.
Different policies may be followed in a
company, or in different companies, to build the
roster. Some groups of drivers are scheduled in a
cyclic basis so that all drivers in a group are
assigned to the same type of work and rest periods.
In order to be able to perform all crew duties within
cyclic rostering, drivers in the same group usually
share the same characteristics, namely seniority,
same bus and route knowledge. In this paper we deal
with a group of drivers whose contracts allow more
flexibility on the rosters. These drivers work
according to a pre-defined days off pattern where
they get the same type of rest periods but not
necessarily the same type of crew duties.
Each days off pattern is a priori defined and
includes one, or more than one, days off schedules.
Each days off schedule is a template for a line of
work that fixes the days off and the working days to
be filled with crew duties. Each days off schedule
satisfies, a priori, a subset of the above mentioned
constraints: the minimum number of days off per
week is 1; the minimum number of Sundays off in
the planning horizon is 2; the minimum number of
consecutive days off is 2; the maximum number of
consecutive workdays is 6. The remaining
constraints will be explicitly considered in the
mathematical model presented in the next section.
The 0-1 matrix in Table 1 gives an example of a
days off pattern where each day off is denoted by 0
and each workday by 1. This pattern covers a
planning horizon of 7 weeks and includes 7 days off
schedules. Schematically, each days off schedule
starts in row 1 of any column, a Monday, and
consists of 7 consecutive columns being the last day
(Sunday) of column i followed by the first day
(Monday) of column i+1. Note that, column 1
follows column 7. For example, a driver assigned to
the days off schedule that starts with column 6
works and rests according to columns 6, 7, 1, 2, 3, 4
and 5 during weeks 1, 2, 3, 4, 5, 6 and 7,
respectively.
Table 1: Example of days off pattern.
1 2 3 4 5 6 7
Mon 0 1 1 1 1 1 0
Tue 0 0 1 1 1 1 1
Wed 1 0 0 1 1 1 1
Thu 1 1 0 0 1 1 1
Fri 1 1 1 0 0 1 1
Sat 1 1 1 1 0 0 1
Sun 1 1 1 1 0 0 1
The days off pattern described in Table 1 is
followed by a group of drivers from a public transit
company in the city of Lisbon. According to it, all
drivers have 4 consecutive rest periods of 2 days off
and 2 consecutive rest periods of 3 days off which
include Saturday and Sunday. Moreover, during the
planning horizon all drivers rest two Mondays, two
Tuesdays,.., and two Sundays. Consequently, all
drivers share the same type of rest periods and days
off, and a roster built with these schedules has a
cyclic nature in what concerns the days off.
In the next sections we present a methodology to
solve the rostering bus driver problem with pre-
defined days off pattern. As an additional tool, the
underlying computational framework may be used to
compare rosters built under different days off
patterns regarding the rostering problem objectives:
minimizing the number of drivers assigned to work
and evenly distribute the workload among the
drivers during the planning horizon.
3 MATHEMATICAL MODEL
Each daily crew duty has to be assigned to a driver
that works according to one of the schedules
included in the days off pattern in use. Let S be the
ICORES 2012 - 1st International Conference on Operations Research and Enterprise Systems
416