1 Introduction

In organisations, the personnel cost is typically one of the largest operating costs (Ernst et al. 2004; Van den Bergh et al. 2013). An appropriate personnel planning process is therefore indispensable to manage these costs. The use of overtime is one strategy that is frequently applied in different phases of the personnel planning process to reduce the costs. In the higher-level hierarchical phases of staff budgeting and personnel scheduling, there is a clear interrelationship between the hiring strategy and the overtime strategy as the number of hired employees defines both the degree in which overtime is required and the ability to include overtime in the personnel roster (Li and Li 2000). A lower number of hired employees may lead to a higher number of overtime duties to satisfy the staffing requirements. This practice impacts the flexibility and ability to make decisions in the lower-level operational planning phase as the structure of a line-of-work becomes more rigid. In the latter phase, operational variability arises and the (deterministic) assumptions made in higher-level phases are not able to perfectly represent the operating environment. As a result, the personnel planner should cope with these schedule disruptions on a day-by-day basis by changing the timing and duration of working duties, i.e., by reassigning employees and by assigning overtime ad hoc. Van den Bergh et al. (2013) identified three different sources of variability, i.e., uncertainty of demand, uncertainty of arrival and uncertainty of capacity. Uncertainty of demand reflects the variability in the actual demand for employees while the uncertainty of arrival entails the variability in the timing of the actual demand. Unexpected absenteeism and sick leave represent the uncertainty of capacity.

Coping with uncertainty is of major importance in the personnel planning process, which is typically decomposed into the strategic staffing phase, the tactical scheduling phase and the operational allocation phase (Abernathy et al. 1973; Burke et al. 2004). These phases are usually treated separately and the decisions taken in each phase constrain the decision freedom in the subsequent phase(s).

The strategic staffing phase represents long-term decisions about the personnel mix and budget, which entail a trade-off between the number of hired employees, the level of cross-training of the employees and overtime. This trade-off has a considerable impact on the organisation’s capability to cope with the uncertainty clouding the future operating environment, i.e., the employee availability and personnel demand. This uncertainty is especially large given the long-term nature of the decisions. In this perspective, Koutsopoulos and Wilson (1987) and Tan (2003) define an optimal size of additional staff to respond to uncertainty. A large workforce size results in decreased productivity, while a small size leads to overtime at high marginal cost. According to Li and Li (2000), the personnel budget should consider the personnel mix and employee cross-training as the availability of cross-trained employees offers a certain leeway to respond to uncertainty.

In the tactical scheduling phase, the personnel planner acquires more up-to-date but yet uncertain information on the future operating environment. As such, assumptions are made about the employee availability and personnel demand. Given these assumptions and the strategic personnel budgeting decisions, a duty roster is constructed for a medium-term period. In this respect, the number and mix of employees not only determine the extent to which the demand can be covered but also the extent to which proactive scheduling strategies can be included. These strategies improve the robustness by anticipating uncertainty through the introduction of methods that enable the personnel planner to cope with uncertainty. Common strategies include the definition of resource buffers such as capacity and time buffers or the application of unit crewing.

Capacity buffers exist in terms of preferred requirements and reserve duties. Preferred requirements introduce extra requirements on top of the minimal staffing requirements (Dowsland and Thompson 2000; De Causmaecker and Vanden Berghe 2003; Topaloglu and Selim 2010). Similarly, reserve duties can be introduced by defining specific reserve duty staffing requirements and time-related constraints (Ingels and Maenhout 2015). Alternatively, capacity buffers can be created through a maximisation of resource substitution possibilities (Shebalov and Klabjan 2006; Abdelghany et al. 2008).

Time buffers increase the time between two consecutive tasks and are typically applied in project management and personnel task scheduling problems to avoid delay propagation. The size of the time buffer between tasks is a general robustness indicator (Tam et al. 2011) and the value of a time buffer depends on the expected delay of the previous task (Ehrgott and Ryan 2002). A third option combines capacity buffers with time buffers in terms of overtime. Overtime can pertain to a complete shift or an extension of a shift. The introduction of overtime shifts results in a higher capacity during those shifts and augments the total assignment time for employees. In general, it is possible to distinguish between prescheduled fixed overtime and prescheduled on-call overtime in the tactical scheduling phase (Campbell 2012). A last proactive scheduling strategy focuses on the teams assigned to a sequence of tasks. Unit crewing ensures that employee teams stay together as long as possible over a sequence of tasks (Tam et al. 2014). This way unit crewing ensures that after the conclusion of a task, the dismantlement of the assigned team is avoided. Team changes certainly contribute to delay propagation by the dependency they create for multiple tasks waiting for employees assigned to an earlier task.

The outcome of the tactical scheduling phase represents the baseline roster in the operational allocation phase. In the latter phase, the personnel planner monitors the execution of the baseline roster while accounting for the most recent information, which is subject to a small or no level of uncertainty. It may be possible that the actual employee availability and demand differ from the previously postulated assumptions. As a result of these disruptions, adjustments are required to ensure the feasibility and workability of the personnel roster. Organisations have a number of more or less expensive options at their disposal to deal reactively with disruptions, e.g., the conversion of reserve duties or days off to working duties, resource substitution and overtime. Note that the availability of less expensive options can be facilitated through the application of proactive scheduling strategies during the tactical scheduling phase.

A general recovery action in the airline industry is the conversion of reserve duties into working duties (Abdelghany et al. 2004; Thiel 2005; Abdelghany et al. 2008). The study of Ingels and Maenhout (2015) indicates that this type of conversion significantly contributes to the resolution of disruptions for shift scheduling problems. The exchange of a day off into a working duty, in contrast, is not equally efficient because of its negative impact on the personal lives of employees (Bard and Purnomo 2005; Schalk and Van Rijckevorsel 2007; Camden et al. 2011).

A low-cost solution to overcome disruptions is the substitution of resources by means of a swapping mechanism (Shebalov and Klabjan 2006; Abdelghany et al. 2008) or a reassignment. A swap is defined as a duty exchange between employees and a reassignment is a change in the shift and/or skill an employee is originally assigned to.

The assignment of unscheduled overtime also enables the personnel planner to respond to operational variability (Easton and Rossin 1997). This reactive strategy augments the work duration for employees on a single day and/or over all days. In this perspective, overtime offers some limited flexibility through a change in the shift duration by extending a shift with an overtime period (Bard and Purnomo 2005).

In this paper, we define different time-based proactive and reactive strategies, which include overtime, in order to improve the robustness of a personnel shift roster. For all strategies, we study their impact on both the absorption and adjustment capability of the personnel shift roster in the operational allocation phase. The proactive scheduling strategy consists of the possibility of assigning employees to overtime during a prior shift extension and a subsequent shift extension or to a complete shift during the construction of the deterministic baseline roster. Since these shift extensions may increase the daily working time, the employees may receive a smaller number of daily assignments. In this perspective, we investigate the trade-off between the workforce size and overtime included in the deterministic baseline personnel roster, in relation to the quality of the personnel roster that is subject to operational variability. As it is not possible to ensure a perfect absorption of the operational variability at a reasonable cost based on the proactively scheduled overtime, a reactive allocation decision model is formulated to make adaptations to the baseline personnel roster in the short-term operational allocation phase. In this reactive decision model, we include the strategy to assign employees to unscheduled overtime as an extension of the daily and total working time. However, the ability to reactively introduce unscheduled overtime strongly depends on the total overtime that has been proactively scheduled. As more overtime is scheduled before the start of the operational allocation phase, the opportunity to use overtime as a reactive allocation strategy decreases. In this context, we investigate the trade-off between scheduling overtime in the baseline personnel roster and allocating overtime in response to operational variability in the operational allocation phase.

We evaluate the trade-offs and the performance of the different strategies using a three-step methodology, which is similar to the approaches of Bard and Purnomo (2005), Abdelghany et al. (2008) and Ingels and Maenhout (2015). Based on the performance evaluation, we formulate managerial guidelines about the required workforce size and the different overtime strategies and highlight their impact on the personnel roster robustness.

The remainder of this paper is organised as follows. In Sect. 2, we describe the context of the problem under study. In Sect. 3, we discuss the research methodology by formulating the different optimisation and simulation models and by defining the time-based proactive and reactive strategies. In Sect. 4, we define the test design and discuss the computational experiments and results. Conclusions are given in Sect. 5.

2 Problem description

In this paper, we focus on different time-based strategies to include overtime in the personnel shift roster and investigate their impact on the personnel roster robustness. A personnel roster is robust if it is both stable and flexible when disruptions occur (Ionescu and Kliewer 2011). Roster stability describes the degree to which personnel rosters can absorb disruptions. Roster flexibility refers to the capability of a roster to react efficiently to disruptions. Both these aspects of robustness are embedded in the way the personnel budget and a personnel roster are constructed. Roster flexibility is further supported by the way a personnel planner can respond to imbalances in supply and demand. In order to improve the roster robustness, specific proactive scheduling and reactive allocation strategies may need to be adopted. A general overview of the problem context is provided in figure 1 which is explained below.

Fig. 1
figure 1

Problem description

Fig. 2
figure 2

Illustration of the daily working time extensions

The baseline personnel roster

For the problem under study, we first determine the personnel budget and a baseline personnel shift roster simultaneously. The integration of the strategic staffing phase and the tactical scheduling phase allows the realisation of a trade-off between the hiring budget and the overtime budget. The baseline roster assigns the personnel members on each day to a working shift or to a day off. The standard shift duties have a fixed start time and a fixed duration and they are defined based upon non-overlapping demand periods of four hours. As such, each day is comprised of six demand periods in total. In Fig. 1, we define three standard shift duties with a fixed duration of eight hours that cover two consecutive demand periods, i.e., shift 1 (start time: 12 p.m.), shift 2 (start time: 8 a.m.) and shift 3 (start time: 4 p.m.). In order to investigate the impact of time-based strategies on the robustness of a personnel shift roster, we distinguish different types of overtime that extend the working time per employee as follows

  • Daily working time extension: The extension of a standard shift duty increases the daily working time, which is defined as overtime. This type of overtime is the result of a prior shift extension or a subsequent shift extension. A prior shift extension and a subsequent shift extension, respectively, include the demand period immediately before and after the demand periods corresponding to a standard shift duty assigned to an employee. Figure 2 displays the resulting duty types for a particular day d. Each of the standard shift duties can be extended with a prior shift extension and a subsequent shift extension. These prior and subsequent shift extensions of a standard shift comprehend an overlap with the corresponding previous and next standard shift duties. The prior shift extension of shift 1 and the subsequent shift extension of shift 3 overlap with day \(d-1\) and day \(d+1\), respectively.

  • Total working time extension: The assignment of a worker to a standard shift duty may extend the total working time on top of the maximum number of regular working hours a worker may be allocated to. This type of overtime extends the total working time of a single employee. Note that a daily working time extension may also comprehend an extension of the total working time.

The baseline personnel roster is constructed based on a set of inputs and parameters concerning the personnel budget policy, the performance measures and the constraints (cf. Fig. 1), i.e.,

  • The personnel budget policy is characterised by the employee hiring policy and the overtime policy. These policies determine the characteristics of the personnel mix hired, the budget for overtime hours versus the number of regular hours and the amount of scheduled overtime hours to compose the baseline personnel roster. Hence, these inputs determine the balance between the workforce size employed and the number of overtime hours included in the baseline personnel roster.

  • The objective function of this integrated staffing and scheduling problem involves the minimisation of different personnel costs, i.e., a wage cost for regular and overtime duties and an understaffing cost.

  • In order to construct the personnel roster, staffing requirements and time-related constraints are imposed. The staffing requirements stipulate the number of required workers per demand period. On top of these regular staffing requirements, extra staffing requirements may be imposed that indicate the number of workers that need to be assigned to a prior shift extension or a subsequent shift extension. As such, these extra staffing requirements enable the inclusion of a capacity buffer to proactively anticipate operational variability.

The output of this integrated staffing and scheduling problem is a baseline personnel roster that stipulates the set of employees hired with a number of scheduled regular and overtime duties. The total scheduled overtime determines the overtime budget that has already been consumed and that is no longer available in the operational allocation phase.

Reactive balancing of personnel demand and supply

The baseline personnel roster is then input to the operational allocation phase (cf. Fig. 1). In this phase, we reconsider the baseline roster on a day-by-day basis. Each day, the organisation obtains more accurate information about the employee availability and the staffing requirements per demand period. This information may differ from the assumptions and predictions made in the staffing and scheduling phase. Adjustments may be necessary in the operational allocation phase to restore the workability and/or the feasibility of the baseline roster. In order to enable a good balance between the demand and supply of employees during each demand period, we can apply different reactive allocation strategies, i.e.,

  • The reassignment of the regular and overtime working duties scheduled in the baseline personnel shift roster is the common reactive allocation strategy that is applied for schedule recovery. Adjustments to the baseline roster are allowed as long as all time-related constraints remain satisfied.

  • The conversion of a day off to a working duty that is required to cover the demand for staff.

  • The allocation of unscheduled overtime is a time-based reactive allocation strategy, which improves the reactive flexibility through assigning overtime duties.

  • The cancellation of regular or overtime duties that are superfluous on top of the actual demand for staff.

3 Methodology

The objective in this paper is to determine the impact of time-based proactive and reactive strategies on the robustness of personnel shift rosters. For this purpose, we use a methodology that consists of three steps:

  • In the first step, a baseline personnel roster and the staffing budget are determined by integrating the strategic staffing phase and the tactical scheduling phase. In this step, different proactive time-based strategies are introduced in the baseline personnel roster to hedge against operational variability (Sect. 3.1).

  • In the second step, we start from the baseline personnel shift roster and imitate the operational allocation phase (Sect. 3.2), which includes a day-by-day simulation of the operational variability and an adjustment decision model to balance the supply and demand for staff (cf. Fig. 1). The adjustment component includes the application of reactive allocation strategies to complement the proactive scheduling strategies. This step is executed multiple times to obtain an accurate idea of the impact of the applied time-based proactive and reactive strategies.

  • In the third step, we evaluate the robustness of the baseline personnel shift roster by assessing its planned and actual performance (Sect. 3.3).

This methodology of validating robustness through an imitation of the operational phase is similar to the approach of Bard and Purnomo (2005), Abdelghany et al. (2008) and Ingels and Maenhout (2015) and is discussed in detail in the following sections.

Note that we repeat this methodology for multiple baseline personnel shift rosters, which differ based on the applied proactive and reactive strategies. As such, we can determine the baseline personnel shift roster and the corresponding proactive and reactive strategies that provide the highest level of robustness.

3.1 The integrated strategic staffing and tactical scheduling phase

We study a personnel shift scheduling problem, which entails the assignment of employees to working shifts over a planning period of multiple days subject to general personnel information, objectives and constraints (Burke et al. 2004; Van den Bergh et al. 2013). In contrast to Ingels and Maenhout (2015), we integrate the strategic staffing decision in the tactical scheduling phase in order to simultaneously determine the personnel budget and a baseline personnel roster (Maenhout and Vanhoucke 2013). The overall problem under investigation can be categorised as AS1|RV|S||LXRG according to the classification of De Causmaecker and Vanden Berghe (2011). Given the high level of uncertainty, we assume that this problem is stochastic in terms of the personnel demand and employee availability.

In the integrated staffing and scheduling step, the workforce size and the allowance of overtime are interrelated by the stipulated time-based robustness strategy. In principle, the number of hired employees is a proactive scheduling strategy since a buffer against uncertainty is created (Koutsopoulos and Wilson 1987). However, since personnel costs significantly contribute to the total operating costs of an organisation (Ernst et al. 2004; Van den Bergh et al. 2013), organisations may opt to limit the workforce size in favour of overtime (Lobo et al. 2013). Hence, there is a trade-off between the workforce size and the budget for overtime expenses in the integrated strategic staffing and tactical scheduling phase. In this perspective, the number of overtime hours employees can work has a significant impact on the number of employees that need to be hired and the applicability of time-based robustness strategies. A lower number of allowed overtime hours may increase the required workforce size to cover the staffing requirements and vice versa.

The mathematical formulation of the integrated staffing and scheduling problem under study is the following:

Notation

Sets

N :

set of employees (index i)

D :

set of days (index d)

H :

set of demand periods per day (index h)

S :

set of shifts (index j)

\(S^{-}\) :

set of shifts for which the prior shift extension covers a demand period on the previous day

\(S^{+}\) :

set of shifts for which the subsequent shift extension covers a demand period on the next day

\(T^{\circ |\circ }_{dj}\) :

set of shifts that cannot be assigned the day after day d and shift j (index s)

\(T^{\circ |'}_{dj}\) :

set of prior shift extensions that cannot be assigned after day d and shift j (index s) with \(T^{\circ |\circ }_{dj} \cap T^{\circ |'}_{dj} = \varnothing \)

\(T^{\circ |''}_{dj}\) :

set of subsequent shift extensions that cannot be assigned after day d and shift j (index s) with \((T^{\circ |\circ }_{dj} \cup T^{\circ |'}_{dj}) \cap T^{\circ |''}_{dj} = \varnothing \)

\(T^{''|\circ }_{dj}\) :

set of shifts that cannot be assigned the day after a subsequent shift extension on day d and shift j (index s)

\(T^{''|'}_{dj}\) :

set of prior shift extensions that cannot be assigned the day after a subsequent shift extension on day d and shift j (index s) with \(T^{''|\circ }_{dj} \cap T^{''|'}_{dj} = \varnothing \)

\(T^{''|''}_{dj}\) :

set of subsequent shift extensions that cannot be assigned the day after a subsequent shift extension on day d and shift j (index s) with \((T^{''|\circ }_{dj} \cup T^{''|'}_{dj}) \cap T^{''|''}_{dj} = \varnothing \)

Deterministic parameters

\(l_h\) :

duration of a demand period h

\(\beta _{j}\) :

number of demand periods in shift j

\(\beta ^{'}_{j}\) :

number of demand periods in the prior shift extension of shift j

\(\beta ^{''}_{j}\) :

number of demand periods in the subsequent shift extension of shift j

\(z_{jh}\) :

1 if shift j covers demand period h, 0 otherwise

\(z^{'}_{jh}\) :

1 if the prior shift extension of shift j covers demand period h, 0 otherwise

\(z^{''}_{jh}\) :

1 if the subsequent shift extension of shift j covers demand period h, 0 otherwise

\(c^w\) :

hourly regular wage cost

\(c^{wo}\) :

hourly overtime wage cost

\(c^{wu}\) :

cost for understaffing a demand period

\(R^w_{dh}\) :

expected staffing requirement for demand period h on day d

\(R^{w,\mathrm {extra}}_{dh}\) :

extra staffing requirement for demand period h on day d

\(a_{id}\) :

expected availability of employee i on day d, 1 if the employee is available and 0 otherwise

\(l^\mathrm{{max}}_{id}\) :

maximum number of regular and overtime hours that can be assigned to employee i on day d

\(l^{w,\mathrm {max}}_{id}\) :

maximum number of regular hours that can be assigned to employee i on day d

\(l^{wo,\mathrm {max}}_{id}\) :

maximum number of overtime hours that can be assigned to employee i on day d

\(\eta ^\mathrm{{min}}_i\) :

minimum number of regular and overtime hours that have to be assigned to employee i

\(\eta ^{w,\mathrm {max}}_i\) :

maximum number of regular hours that can be assigned to employee i

\(\eta ^{wo,\mathrm {max}}_i\) :

maximum number of overtime hours that can be assigned to employee i

\(\theta ^{w,\mathrm {max}}_i\) :

maximum number of consecutive assignments for employee i

Stochastic parameters

\(\tilde{R}^w_{dh}\) :

stochastic staffing requirement for demand period h on day d

\(\tilde{a}_{id}\) :

stochastic availability of employee i on day d; 1 if the employee is available, 0 otherwise

Variables

\(\zeta _i\) :

1 if employee i is hired, 0 otherwise

\(x^w_{idj}\) :

1 if employee i is assigned to shift j on day d, 0 otherwise

\(x^{wo}_{idj}\) :

1 if employee i is assigned to overtime during a complete shift j on day d, 0 otherwise

\(x^{wo'}_{idj}\) :

1 if employee i is assigned to overtime during a prior shift extension of shift j on day d, 0 otherwise

\(x^{wo''}_{idj}\) :

1 if employee i is assigned to overtime during a subsequent shift extension of shift j on day d, 0 otherwise

\(x^v_{id}\) :

1 if employee i receives a day off on day d, 0 otherwise

\(n^{wu}_{dh}\) :

the number of employees short during demand period h on day d

figure a
figure b

We solve a deterministic version of this stochastic model formulation by assuming that the stochastic staffing requirements equal the expected staffing requirements (\(\tilde{R}^w_{dh}=R^{w}_{dh}\)) and that the employees are available on each day (\(\tilde{a}_{id}=a_{id}=1\)). We obtain a baseline personnel shift roster by solving this model with the commercial software package Gurobi (Gurobi Optimization 2015).

The general objective in model (1–10) is to minimise the employee wage costs and the cost for understaffing particular demand periods. Equation (1a) minimises the wage costs for assigning workers to regular duties and the understaffing costs. Equation (1b) minimises the cost for assigning overtime during complete shifts and during a prior shift extension or a subsequent shift extension.

In order to construct a workable personnel shift roster, a specified number of employees should be scheduled for every demand period [Eq. (2)]. The staffing requirements include the minimum staffing requirements for working duties (\(\tilde{R}^w_{dh}\)) and the staffing requirements for extra working duties (\(R^{w,\mathrm {extra}}_{dh}\)). Note that the staffing requirements \(R^{w,\mathrm {extra}}_{dh}\) are only employed for certain time-based buffer strategies (cf. Sect. 4). The staffing constraints are relaxed since understaffing is allowed.

We impose different time-related constraints on the schedule of a single employee. Equation (3) stipulates that each hired employee receives an assignment on each day. A prior and subsequent daily shift time extension of a regular duty can only be assigned to employees who work the corresponding shift duty [Eq. (4a) and (4b)]. Moreover, a minimum rest period between two consecutive duties is imposed by the constraints (5a) and (5b). Equation (5a) is the common constraint that prohibits certain duty assignments to succeed a particular working duty. This constraint does not completely ensure the satisfaction of the minimum rest period since a shift can be extended by an overtime subsequent shift extension, which is considered by Eq. (5b). Notice that the succession constraint that restricts the type of duty that follows a prior shift extension is implicitly modelled by constraint (5a). Furthermore, every employee can work a maximum number of hours per day [Eq. (6a)]. This maximum is further refined into two constraints that impose a maximum on the number of regular hours per day [Eq. (6b)] and a maximum on the number of overtime hours per day [Eq. (6c)]. We also impose constraints on the number of hours assigned over the total planning period. Every hired employee has to work a minimum number of hours [Eq. (7)]. Equation (8) imposes a maximum on the number of hours an employee can work. Constraints (8a) and (8b), respectively, impose a maximum on the number of regular hours and overtime hours for a single employee over the total planning period. Irrespective of the duration of the assignments, Eq. (9) ensures that the number of consecutive working duties is limited for every employee.

Equation (10) defines the integrality conditions for each variable.

3.2 Operational allocation phase

The operational allocation phase considers the baseline personnel roster on a day-by-day basis and comprehends a discrete-event simulation component (Sect. 3.2.1) and an adjustment component (Sect. 3.2.2). The baseline personnel shift roster is subject to operational variability, and we simulate the uncertainty of demand and capacity by making use of particular stochastic distributions (cf. Fig. 1). As a result, the supply and demand for staff may be imbalanced and schedule changes may be required to restore the workability and/or feasibility of the personnel shift roster. In order to obtain meaningful and statistically significant results, we repeat this day-by-day process of simulations and adjustments 100 times. As such, we investigate 100 different scenarios that may occur in reality for each baseline personnel shift roster.

3.2.1 Simulation of operational variability

The discrete-event simulation component simulates the uncertainty of demand (\(R^{'w}_{dh}\)) and capacity (\(a_{id}\)) for each demand period on the day under consideration. We imitate this operational variability using the GNU Scientific Library (Gough 2009) and assume that the simulated parameters \(R^{'w}_{dh}\) and \(a_{id}\) represent real-time or perfect information that is no longer subject to uncertainty.

Uncertainty of demand

The uncertainty of demand is simulated for every demand period of the day under consideration. This means that the demand for employees is independent between demand periods, which is based on the assumption of an exogenous demand characterised by independent and identically distributed inter-arrival and service times (de Bruin et al. 2010; Paul and Lin 2012). Hence, the demand can differ between demand periods within a single standard shift. In order to avoid too large differences in our simulation experiment and to control the demand variability in general, we impose a lower and upper bound on the possible values for the staffing requirements (Eqs. (11) and (12)). In these equations, the variability is expressed with a parameter (\(\sigma \)) that ranges from one (low variability) to \(+\infty \) (high variability). Given the assumption that the demand is Poisson-distributed (Yeh and Lin 2007; Ahmed and Alkhamis 2009; Ingels and Maenhout 2015), we simulate the demand uncertainty and accept the simulated staffing requirements if equation (13) is satisfied.

$$\begin{aligned} LB_h&= R^{w}_{dh} - \sigma&\forall h\in H \end{aligned}$$
(11)
$$\begin{aligned} UB_h&= R^{w}_{dh} + \sigma&\forall h\in H \end{aligned}$$
(12)
$$\begin{aligned} R^{'w}_{dh}&\in [LB_h,UB_h]&\forall h\in H \end{aligned}$$
(13)

Uncertainty of capacity

We simulate the uncertainty of capacity to imitate the employee availability. The parameter \(a_{id}\) indicates whether an employee i is available to work on day d (\(a_{id}\) = 1) or not (\(a_{id}\) = 0). Based on the probability of absenteeism (\(P_{id}(X=0)\)), we obtain the value for \(a_{id}\) by applying a Bernoulli distribution for each employee. The probability \(P_{id}(X=0)\) depends on the number of days the employee has already been unexpectedly absent before day d (Ingels and Maenhout 2015). When this number increases for an employee, the probability for absenteeism on day d decreases.

3.2.2 Balancing supply and demand

As a result of the new information obtained by the simulation of supply and demand, the personnel planner needs to evaluate whether the day roster needs to be adjusted. These adjustments are guided by the reactive allocation strategies, which include the allocation of unscheduled overtime (Bard and Purnomo 2005). Moreover, we consider cancellations and reassignments (Abdelghany et al. 2008; Bard and Purnomo 2005; Ingels and Maenhout 2015), and conversions of a day off to a working duty (Bard and Purnomo 2005). Based upon the reactive allocation strategies, we formulate a deterministic mathematical decision model for the operational allocation phase that considers a planning period of a single day. This means that only the assignments corresponding to the six demand periods that cover the day under consideration are included in the decision model (cf. Fig. 2). The assignments for the other days are considered to be fixed. The mathematical formulation of the operational allocation problem under study is given below. Note that we only define those sets, parameters and variables that are specific to the operational allocation phase to avoid duplication.

Notation

Sets

\(B_{id}\) :

set of shifts that cannot be assigned to employee i on day d (index j)

\(B^{'}_{id}\) :

set of shifts for which the prior shift extension cannot be assigned to employee i on day d (index j)

\(B^{''}_{id}\) :

set of shifts for which the subsequent shift extension cannot be assigned to employee i on day d (index j)

\(\underline{T}^{''|'}_{d+1j}\) :

set of subsequent shift extensions that cannot be assigned the day before a prior shift extension on day \(d+1\) and shift j (index s)

General parameters

d :

day under consideration in the operational planning horizon

M :

a large number

\(y^{\alpha '}_{idj}\) :

1 if employee i is allowed to receive a prior shift extension corresponding to shift \(j\in S^{-}\) on day \(d+1\), 0 otherwise

\(y^{\alpha ''}_{idj}\) :

1 if employee i is allowed to receive a subsequent shift extension corresponding to shift \(j\in S^{+}\) on day \(d-1\), 0 otherwise

\(y^{f}_{idj}\) :

1 if employee i is forced to work shift \(j\in S^{-}\) on day d, 0 otherwise

\(y^\mathrm{{min}}_{id}\) :

the total number of hours employee i is forced to work on day d

\(y^{w,\mathrm {max}}_{id}\) :

the maximum number of regular hours employee i can work on day d

\(y^{wo,\mathrm {max}}_{id}\) :

the maximum number of overtime hours employee i can work on day d

Simulation parameters

\(a_{id}\) :

1 if employee i is available on day d, 0 otherwise

\(R^{'w}_{dh}\) :

simulated staffing requirement for demand period h on day d

Roster change parameters

\(\bar{x}^{w}_{idj}\) :

1 if employee i was assigned to shift j on day d in the baseline personnel roster, 0 otherwise

\(\bar{x}^{wo}_{idj}/\bar{x}^{wo'}_{idj}/\bar{x}^{wo''}_{idj}\) :

1 if employee i was assigned to overtime during shift j/prior shift extension of shift j/subsequent shift extension of shift j on day d in the baseline personnel roster, 0 otherwise

\(\bar{x}^{v}_{id}\) :

1 if employee i received a day off on day d in the baseline personnel roster, 0 otherwise

\(c^{w\delta }_{idj}/c^{w\delta '}_{idj}/c^{w\delta ''}_{idj}\) :

roster change cost for assigning employee i to shift j/prior shift extension of shift j/subsequent shift extension of shift j on day d with \(c^{w\delta }_{idj} > 0\) if \(\bar{x}^{w}_{idj} + \bar{x}^{wo}_{idj} = 0\) and \(c^{w\delta }_{idj} = 0\) otherwise, with \(c^{w\delta '}_{idj} > 0\) if \(\bar{x}^{wo'}_{idj} = 0\) and \(c^{w\delta '}_{idj} = 0\) otherwise, with \(c^{w\delta ''}_{idj} > 0\) if \(\bar{x}^{wo''}_{idj} = 0\) and \(c^{w\delta ''}_{idj} = 0\) otherwise

\(c^v_{id}\) :

cancellation cost for employee i on day d with \(c^v_{id} > 0\) if \(\bar{x}^{v}_{id} = 0 \wedge a_{id} = 1\) and \(c^v_{id} = 0\) otherwise

figure c
figure d

We assign regular shift duties, overtime duties and days off by solving this operational allocation model [Eqs. (14–23)] with the commercial optimisation package Gurobi (Gurobi Optimization 2015). The objective function [Eq. (14)] minimises the actual total cost that arises on day d in the operational allocation phase. This cost is comprised of the wage cost for regular and overtime duties, the change and cancellation cost for duties assigned in the baseline personnel roster and the cost for understaffing particular demand periods.

The staffing requirements [Eq. (15)] postulate that a sufficient number of employees is present during each demand period, which ensures that the workers are assigned to the right demand periods to cover the demand for staff. This constraint is relaxed as understaffing is allowed, which is penalised in the objective function. Note that the staffing requirements \(R^{'w}_{dh}\) in this operational decision model are the result of the simulated operational variability and can differ from the expected demand for staff (\(R^{w}_{dh}\)) used to construct the baseline personnel roster (\(\tilde{R}^w_{dh}=R^{w}_{dh}\)).

The other constraints embody time-related rules imposed on the duty roster of a single employee. Equation (16) stipulates that each employee needs to receive either a shift assignment or a day off on day d. A standard shift duty may be extended with a prior shift extension [Eq. (17a), (17b)] or a subsequent shift extension [Eq. (17c, (17d)] only if the worker is assigned to the corresponding standard shift. Equation (17a) and (17c) regulate the daily shift extensions corresponding to standard shifts on day d. Equation (17b) and (17d), respectively, determine whether a prior shift extension corresponding to a shift on day \(d+1\) and a subsequent shift extension corresponding to a shift on day \(d-1\) can be assigned on day d. Moreover, these equations ensure that we do not violate the minimum rest period between assignments that cover demand periods on day d. However, we also need to impose the minimum rest period between assignments that cover demand periods on different days. Constraint (18) ensures that the sequence constraints imposed on the baseline personnel roster (cf. Eqs. (5a), (5b) and (9)) are satisfied given the assignments on the other days of the planning horizon by the definition of the sets \(B_{id}\), \(B^{'}_{id}\) and \(B^{''}_{id}\). Equation (19) imposes that an employee can only receive work duties when he is available. The parameter \(a_{id}\) indicates for each employee whether this employee is available to perform a working duty on day d and is the result of the simulated operational variability. Given that the prior shift extension corresponding to a standard shift on day d can cover a demand period on day \(d-1\), an employee should be assigned to that standard shift if this extension was assigned to that employee on day \(d-1\) [Eq. (20)]. Based on the assignments on the other days, each employee needs to work a minimum number of hours on day d if available [Eq. (21)] in order to respect the minimum number of working hours over the complete planning horizon. Equation (22a) limits the number of hours an employee can work on one particular day. Equation (22b), (22c) impose a restriction upon the allowed number of regular and overtime hours on day d in order to satisfy the maximum number of regular and overtime duty hours over the complete planning horizon. Constraint (23) defines the integrality conditions of the variables that correspond to demand periods that lie within the planning period.

Fig. 3
figure 3

Building blocks of the planned and actual performance

3.3 Robustness evaluation

We evaluate the personnel shift rosters based on their planned and actual performance. Figure 3 gives a brief overview of the different components of both performance measures.

The planned performance evaluates the outcome after the integrated strategic staffing and tactical scheduling phase and reflects the planned cost, the number of hired employees and the existent overstaffing of the baseline personnel roster. The planned cost comprises the understaffing cost and the total assignment cost, i.e., the wage cost and the overtime wage cost.

The actual performance assesses the outcome of the operational allocation phase and evaluates the actual cost, the overstaffing and the overtime utilisation of the eventual personnel roster. The actual cost includes the cost for understaffing, the change cost and the total assignment cost, i.e., the wage cost, the overtime wage cost and the cancellation cost. The overtime utilisation comprises the scheduled overtime utilisation and the unscheduled overtime duties. The scheduled overtime utilisation reports the percentage of scheduled overtime periods that are actually utilised in the operational allocation phase. Furthermore, we identify the number of demand periods during which unscheduled overtime is reactively allocated.

4 Computational experiments

In this section, we provide insight into our computational experiments and the robustness of the time-based proactive and reactive strategies. We describe our test design and parameter settings in Sect. 4.1 and outline the different experiments and their results in Sect. 4.2. All tests were carried out on an Intel Core processor 2.5 GHz and 4 GB RAM.

4.1 Test design

In this section, we describe the parameter settings of the test instances for our computational experiments. Note that all test instances have a planning period of 7 d.

Shift characteristics

Each day consists of six demand periods with a duration of 4 h (\(l_h\)). Hence, each day contains three non-overlapping shifts with a duration of 8 hours (\(l_h\times \beta _j\)) and three prior shift extensions (\(l_h\times \beta ^{'}_j\)) and subsequent shift extensions (\(l_h\times \beta ^{''}_j\)) with a duration of 4 hours (cf. Fig. 2).

Staffing requirements

We generate staffing requirements based on three indicators defined in literature assuming a fixed hiring level of 10 employees. Vanhoucke and Maenhout (2009) define the total coverage constrainedness (TCC), the day coverage distribution (DCD) and the shift coverage distribution (SCD) to characterise the staffing requirements. Each of these indicators has a value between zero and one.

  • The TCC-value gives an expression of how the total staffing requirements compare to the maximum staffing requirements employees can theoretically cover. As the TCC-value increases, the total staffing requirements, that need to be covered with a given number of employees, rise. In this study, we consider TCC-values of 0.30, 0.40 and 0.50.

  • The DCD-value reflects how the staffing requirements are distributed over the days in the planning period. A value of one indicates that the staffing requirements are focused on one or a few days. A value of zero means that the staffing requirements are equally distributed over all days in the planning period. We investigate DCD-values of 0.00, 0.25 and 0.50.

  • The distribution of the daily staffing requirements over the shifts is indicated by the SCD-value. A value of one results in staffing requirements that are focused during one shift, while a value of zero equally distributes the staffing requirements over all shifts. We consider SCD-values of 0.00, 0.25 and 0.50.

Since the basic assignments in the integrated strategic staffing and tactical scheduling phase (Sect. 3.1) occur on a shift level, we generate the staffing requirements per shift. Next, we transfer these requirements to the demand periods that correspond to that shift (\(R^w_{dh}\)).

Time-related constraints

We define the parameter values for the time-related constraints below, i.e.,

  • The maximum number of regular and overtime hours that can be assigned to employee i on day d (\(l^\mathrm{{max}}_{id}\)) is 12.

  • The maximum number of regular hours that can be assigned to employee i on day d (\(l^{w,\mathrm {max}}_{id}\)) is 8.

  • The maximum number of overtime hours that can be assigned to employee i on day d (\(l^{wo,\mathrm {max}}_{id}\)) is 12.

  • The minimum number of regular and overtime hours that have to be assigned to employee i (\(\eta ^\mathrm{{min}}_i\)) is 32.

  • The maximum number of regular hours that can be assigned to employee i (\(\eta ^{w,\mathrm {max}}_i\)) is 40.

  • The maximum number of overtime hours that can be assigned to employee i (\(\eta ^{wo,\mathrm {max}}_i\)) is 12.

  • The maximum number of consecutive assignments for employee i (\(\theta ^{w,\mathrm {max}}_i\)) is 5.

Objective function

The objective function coefficients used during the integrated strategic staffing and tactical scheduling phase (eqs. (1)-(10)) and the operational allocation phase (eqs. (14)-(23)) are defined as follows:

  • General objective function coefficients

    • The hourly regular wage cost (\(c^w\)) is 1.25.

    • The hourly overtime wage cost (\(c^{wo}\)) is 1.875.

    • The cost for understaffing a demand period (\(c^{wu}\)) is 10.

  • Objective function coefficients specific to the operational allocation phase

    • The roster change cost for assigning employee i to shift j on day d (\(c^{w\delta }_{idj}\)) is 5.

    • The roster change cost for assigning employee i to a prior shift extension/a subsequent shift extension of shift j on day d (\(c^{w\delta '}_{idj}\)/\(c^{w\delta ''}_{idj}\)) is 2.5.

    • The cancellation cost for employee i on day d (\(c^v_{id}\)) is 5.

4.2 Computational results

In this section, we describe the computational experiments and results. Unless otherwise stated, the computational results are averaged over all settings in the test design (Sect. 4.1). We compare the results for three types of baseline personnel rosters that differ based on the applied time-based proactive scheduling and reactive allocation strategy, i.e.,

  • The basic baseline roster does not include any (un)scheduled overtime. This means that we do not allow employees to be assigned to overtime duties in the integrated strategic staffing and tactical scheduling phase or in the operational allocation phase.

  • The minimum cost baseline roster does include scheduled and unscheduled overtime. Hence, employees can extend their daily working time and total working time by overtime duties in the integrated strategic staffing and tactical scheduling phase and in the operational allocation phase.

  • The time buffer baseline roster is very similar to the minimum cost baseline roster. The sole difference is that we introduce specific staffing requirements in the integrated strategic staffing and tactical scheduling phase on top of the minimum staffing requirements (\(R^{w}_{dh}\)). These requirements entail staffing requirements for extra working duties (\(R^{w,\mathrm {extra}}_{dh}\)). Hence, a capacity buffer is installed based upon the number of available employees and the intrinsic time buffer, which is determined by the overtime policy and the time-related restrictions imposed on the schedule of a single worker. The capacity buffer is defined based upon the research of Ingels and Maenhout (2015) that identifies a fixed ratio of the minimum staffing requirements as a good strategy to install a buffer capacity. We round the staffing requirements for the extra working duties to the nearest integer [Eq. (24)].

    $$\begin{aligned} R^{w,\mathrm {extra}}_{dh}&= \mathrm {round} [0.25 \times R^{w}_{dh}]&\forall d\in D, \forall h\in H \end{aligned}$$
    (24)

    These extra staffing requirements (\(R^{w,\mathrm {extra}}_{dh}\)) and the expected staffing requirements (\(R^{w}_{dh}\)) are available online.Footnote 1

Note that each of these rosters is obtained by solving model (1–10) with Gurobi (Gurobi Optimization 2015). Given that certain instances could not be solved within a reasonable time however, we impose an MIP-gap of 5%. This MIP-gap enables us to construct baseline personnel shift rosters, which require an average CPU time of 0.658 seconds. In order to solve the operational allocation model [Eqs. (14–(23)] with Gurobi (Gurobi Optimization 2015), we do not impose an MIP-gap because the solution times are negligible.

In the following section, we discuss the impact of overtime, as a time buffer, on the planned performance of a personnel roster. Section 4.2.1 reveals the benefits on the planned performance of introducing scheduled overtime in the baseline personnel roster. In Sect. 4.2.2, we assess the impact of overtime on the actual performance in the operational allocation phase and investigate the trade-off between the hiring policy and the overtime policy from different perspectives. In Sect. 4.2.3, we determine the extra number of employees required to improve the effectivity of the time buffer baseline roster. The impact of the variability of demand on the actual performance is studied in Sect. 4.2.4.

4.2.1 The impact of overtime on the planned performance

The total available overtime budget is calculated based on the number of hired employees(\(\sum _{i\in N} \zeta _i\)), the number of overtime hours employees are allowed to work (\(\eta ^{wo,\mathrm {max}}_i\)) and the hourly overtime wage cost (\(c^{wo}\)), i.e., the overtime budget = \(c^{wo}\) \(\times \sum _{i\in N} \zeta _i \times \eta ^{wo,\mathrm {max}}_i\). This budget can be distributed over scheduled and unscheduled overtime in the integrated strategic staffing and tactical scheduling phase and the operational allocation phase, respectively. In order to control this distribution, an additional constraint [Eq. (25)] is imposed on the integrated strategic staffing and tactical scheduling decision model [(Eqs. (1–10)]. This constraint ensures the construction of a baseline personnel roster where only a fraction f of the overtime budget may be used.

$$\begin{aligned}&\sum _{i\in N} \sum _{d\in D} \sum _{j\in S}\left( l_h \beta _j c^{wo} x^{wo}_{idj} + l_h \beta ^{'}_j c^{wo} x^{wo'}_{idj} + l_h \beta ^{''}_j c^{wo} x^{wo''}_{idj}\right) \nonumber \\&\quad \le f \times \mathrm {overtime\;budget} \end{aligned}$$
(25)
Fig. 4
figure 4

Impact of overtime on the planned cost

In Fig. 4, we show the impact on the planned cost for different values for the parameter f, i.e., 0.00, 0.20, 0.40, 0.60, 0.80 and 1.00. This parameter determines the percentage of the overtime budget that is available in the integrated strategic staffing and tactical scheduling phase for scheduled overtime. Figure 4 shows that this parameter f has no impact on the basic baseline roster as overtime is not incorporated. The planned cost for the minimum cost baseline roster and the time buffer baseline roster shows a steady decrease as the budget for scheduled overtime increases. Allotting the overtime completely in the integrated staffing and scheduling phase, i.e., (Scheduled OT)% = 100%, results in an average cost decrease of 5.2% compared to the scenario without scheduled overtime, i.e., (Scheduled OT)% = 0%. This improvement is due to the decrease in the understaffing, which compensates the rise in the wage cost for overtime, which is shown in Table 1. Note that the results in Fig. 4 and Table 1 are obtained with a fixed hiring level of 4 employees. We observe the same trend for a higher number of hired employees but as the number of hired employees increases, the impact of scheduled overtime decreases.

Table 1 Evolution of the average planned performance metrics over the minimum cost and time buffer baseline roster
Fig. 5
figure 5

Impact of overtime on the optimal hiring level in terms of planned cost

The incorporation of scheduled overtime in the minimum cost and time buffer baseline roster leads to an increased assignment flexibility, which is not existent in the basic baseline roster. This flexibility results in a planned cost that is smaller for the minimum cost baseline roster than for the basic baseline roster. The planned cost for the time buffer baseline roster is significantly higher compared to the basic and minimum cost baseline roster. This is the result from the definition of specific staffing requirements [Eq. (24)] on top of the minimum staffing requirements, which causes a higher number of regular and overtime assignments and a higher understaffing of demand periods.

The additional assignment flexibility introduced by allowing overtime also influences the optimal hiring level when the planned cost is minimised (Fig. 5). The optimal hiring level for a basic baseline roster is 7 employees, whereas the optimal hiring level for the minimum cost baseline roster is 6 employees. Moreover, the planned cost for the minimum cost baseline roster with 6 hired employees is better than the planned cost for the basic baseline roster with 7 hired employees. Hence, the flexibility offered by scheduling overtime allows the organisation to hire a lower number of employees without repercussions in terms of the planned cost. This observation is not valid for the time buffer baseline roster because of the definition of the extra staffing requirements [Eq. (24)]. For this roster type, the optimal hiring level is 8 employees.

Figure 5 indicates the minimal planned cost for each hiring level and type of baseline roster. These minima are obtained for varying percentages of the overtime budget available in the integrated strategic staffing and tactical scheduling phase. Table 2 indicates, for each hiring level, the percentage of the overtime budget that should be available in the integrated strategic staffing and tactical scheduling phase to obtain the best results that are displayed in Fig. 5. Since the basic baseline roster does not allow overtime, the optimal percentage of scheduled overtime is always 0%. For the minimum cost and time buffer baseline roster, we observe a decreasing trend. As more employees are hired, the percentage of scheduled overtime required to obtain a minimal planned cost decreases. This decrease is more pronounced for the minimum cost baseline roster than for the time buffer baseline roster. As mentioned before, this is due to the definition of the extra staffing requirements [Eq. (24)], which increases the number of required working duties.

4.2.2 The trade-off between hiring and overtime

In this section, we investigate the trade-off between the hiring budget and the overtime budget based on the performance of the baseline personnel rosters in the operational allocation phase. In order to obtain insight in this trade-off, we performed two experiments that differ in the determination of the total personnel budget.

Table 2 Optimal percentage of scheduled overtime for the different hiring levels

In the first experiment, we assess the impact of the distribution of the overtime budget between scheduled and unscheduled overtime for several fixed workforce sizes. This experiment approaches the trade-off from the perspective of a varying personnel budget, i.e., the hiring budget and the overtime budget are determined by the fixed workforce sizes. In the second experiment, we investigate the distribution of a fixed personnel budget over the hiring budget and the overtime budget.

Scheduled versus unscheduled overtime

We set the number of hired employees fixed and investigate the impact of different distributions between the allowed scheduled and unscheduled overtime. In order to fix the workforce size, we additionally impose Eq. (26) on the integrated strategic staffing and tactical scheduling decision model [Eqs. (1–10)] to construct a baseline personnel roster. The fixed workforce sizes are varied in the experiment and range between 4 and 10 workers. The minimum hiring level is determined based on the minimum value of the TCC-indicator in the test design. A minimum TCC-value of 0.30 corresponds to a total staff demand of 21 shift duties and 168 hours (= 21\(\times l_h\beta _j\)). A workforce size of 4 employees may cover a total of 160 hours (= 4\(\times \eta ^{w,max}_{i}\)) in regular time. A lower hiring level would create too much understaffing. Since we generate the staffing requirements assuming that 10 employees are available, a maximum hiring level of 10 workers is considered.

$$\begin{aligned} \sum _{i\in N} \zeta _i&= \mathrm {fixed\, workforce \, size} \end{aligned}$$
(26)
Fig. 6
figure 6

Impact of scheduled versus unscheduled overtime on the actual cost

Table 3 The evolution of actual performance metrics

In order to distribute the overtime budget into scheduled and unscheduled overtime in a controlled manner, we also add Eq. (25) to the integrated staffing and scheduling decision model [Eqs. (1–10)] to construct a baseline roster. As a result of this constraint, we may have some flexibility to allocate unscheduled overtime in the operational allocation phase. In order to ensure that we do not exceed the total overtime budget, we impose Eq. (27) on the operational allocation decision model [Eqs. (14–23)] that considers day d in the planning horizon. Note that this equation takes the unscheduled overtime that was already allotted before day d into account.

$$\begin{aligned}&\sum _{\underline{d}=1}^{d-1}\mathrm {utilised\;unscheduled\;budget}_{\underline{d}}\nonumber \\&\quad + \sum _{i\in N} \sum _{j\in S} l_h \beta _j c^{wo} x^{wo}_{idj}(1-\bar{x}^{wo}_{idj}) \nonumber \\&\quad + \sum _{i\in N} \sum _{j\in S\setminus S^{-}} l_h \beta ^{'}_j c^{wo} x^{wo'}_{idj}(1-\bar{x}^{wo'}_{idj}) \nonumber \\&\quad + \sum _{i\in N}\sum _{j\in S^{-}} l_h \beta ^{'}_j c^{wo} x^{wo'}_{id+1j}(1-\bar{x}^{wo'}_{id+1j}) \nonumber \\&\quad + \sum _{i\in N} \sum _{j\in S\setminus S^{+}} l_h \beta ^{''}_j c^{wo} x^{wo''}_{idj}(1-\bar{x}^{wo''}_{idj}) \nonumber \\&\quad + \sum _{i\in N}\sum _{j\in S^{+}} l_h \beta ^{''}_j c^{wo} x^{wo''}_{id-1j}(1-\bar{x}^{wo''}_{id-1j}) \nonumber \\&\quad \le (1 - f) \times \mathrm {overtime\;budget} \end{aligned}$$
(27)

Figure 6 displays the impact of the distribution of scheduled and unscheduled overtime ((Scheduled OT)%-(Unscheduled OT)%) on the actual cost for several workforce sizes. Since the basic baseline roster does not consider overtime, the presented results are the average actual cost over the minimum cost and time buffer baseline roster. The chart shows that for small workforce sizes the actual cost decreases as more overtime is scheduled in the baseline personnel roster. As the number of hired employees increases, the impact of including scheduled overtime reduces because the need for overtime diminishes. At some point, starting from a moderate workforce size, the actual cost is minimal if a combination of scheduled and unscheduled overtime is utilised. Thus, for a low number of employees, it is important to include as much overtime as possible in the integrated strategic staffing and tactical scheduling phase to reduce the planned understaffing. A higher number of hired employees, however, automatically results in less scheduled overtime and it is therefore beneficial to reserve a fraction of the overtime budget for allocating unscheduled overtime in the operational allocation phase.

We provide the results of the individual components of the actual performance in Table 3 averaged over all hiring levels. The table indicates the evolution of the understaffing, overstaffing, changes, cancellations and overtime for the different overtime distributions. The table reveals that the understaffing and overstaffing are minimal for a combination of both scheduled and unscheduled overtime. The number of cancellations is minimal if the complete overtime budget is reserved for the operational allocation phase. As more overtime budget is reserved for the operational allocation phase, the reactive flexibility increases, which results in a higher number of changes. Even though the scheduled overtime utilisation increases if more overtime is scheduled in the integrated strategic staffing and tactical scheduling phase, the number of overtime periods is maximal if a combination of scheduled and unscheduled overtime is utilised.

We show the impact of the workforce size on the actual cost in Fig. 7. The figure shows the average results over all possible distributions for the scheduled and unscheduled overtime. It is clear that, for each baseline roster type (basic, minimum cost and time buffer), a workforce size that is either too low or too high leads to a deterioration in the actual cost. Based on the obtained results, we can conclude that the optimal hiring level is 6 employees. Note that this level represents an average result. This optimum certainly depends on the total staffing requirements, i.e., the TCC-value. A TCC-value of 0.30, 0.40 and 0.50, respectively, leads to an optimal hiring level of 5, 6 and 8 employees.

Moreover, Fig. 7 reveals that it is most beneficial to employ the minimum cost baseline roster for a low workforce size and the time buffer baseline roster for a high workforce size. As more employees are hired, the flexibility in the personnel roster construction increases and the personnel planner is better able to satisfy the extra staffing requirements [Eq. (24)]. This reduces the planned understaffing and facilitates the performance of the baseline personnel roster in the operational allocation phase. This improved actual performance is expressed by a smaller understaffing with a lower number of changes and unscheduled overtime periods.

Fig. 7
figure 7

Impact of the workforce size on the actual cost

The hiring and overtime budget

In the second experiment, we assume a fixed number of budgeted working hours and discuss the impact of the distribution of this budget over regular and overtime hours, which correspond to the hiring and overtime budget. The fixed number of budgeted working hours is determined based upon the minimum required number of working hours and the additional workforce buffer to cope with the operational variability, i.e., \((1+\mathrm {buffer\;ratio}) \times \sum _{d\in D} \sum _{h\in H} l_h R^{w}_{dh}\). The incorporation of the buffer ratio to determine the budgeted working hours facilitates the inclusion of an implicit buffer and an explicit buffer to hedge the personnel roster against operational variability. The buffer ratio enables an implicit buffer for the basic and minimum cost baseline rosters because it allows that a higher number of working hours may be assigned than required. It creates an explicit buffer for the time buffer baseline roster because it allows this roster to better satisfy the extra staffing requirements (\(R^{w,\mathrm {extra}}_{dh}\)).

The number of required working hours may be distributed over the hiring budget, and the overtime budget and in our computational experiments we explore three different scenarios, i.e.,

  • Scenario 1: We assign the complete budget to the hiring budget, i.e., we hire a maximum number of employees that only work during regular time. Given the allowed number of working hours \(\eta ^{w,max}_i\) for a single worker, we can calculate the required number of full-time equivalents \(\zeta ^\mathrm{{max}}\) to execute all duties in regular time without overtime.

  • Scenario 2: We distribute the budget between the hiring budget and overtime budget by reducing the hiring budget determined in scenario 1 by a full-time equivalent, i.e., the hiring budget drops to \(\zeta ^\mathrm{{max}}-1\) workers, and by increasing the allowed number of overtime hours with \(\eta ^{w,\mathrm {max}}_i\) hours.

  • Scenario 3: We distribute the budget between the hiring budget and overtime budget by reducing the hiring budget determined in scenario 1 by two full-time equivalents, i.e., the hiring budget drops to \(\zeta ^\mathrm{{max}}-2\) workers, and by increasing the allowed number of overtime hours with \(2 \times \eta ^{w,\mathrm {max}}_i\) hours.

Hence, we add Eqs. (25) and (26) to the integrated strategic staffing and tactical scheduling decision model [Eqs. (1–10)] for each of these scenarios. The overtime budget is determined as the allowed number of overtime hours times the overtime cost per hour.

Table 4 Evolution of planned and actual performance metrics for the minimum cost baseline roster

Table 4 compares the average planned and actual performance for the three scenarios starting from the minimum cost roster as baseline roster. The table reveals that scenario 2 outperforms the other scenarios for both the planned and actual performance. Hence, it is useful to include a limited budget for overtime at the expense of the hiring budget. Hence, situations in which more employees are hired without overtime (scenario 1) and situations in which a low number of employees can work a high number of overtime hours (scenario 3) should be avoided and lead to inferior results.

Fig. 8
figure 8

Impact of an employee buffer for the time buffer baseline roster. (a) TCC=0.30. (b) TCC=0.40. (c) TCC=0.50

When the hiring budget is reduced in the integrated strategic staffing and tactical scheduling phase, the table reveals that the number of hired employees and the overstaffing decrease. The impact on the planned understaffing is rather ambiguous and is lowest for scenario 2. The actual performance in the operational allocation phase shows that the understaffing is again the lowest for scenario 2, whereas the number of performed changes is the highest. The number of overstaffed demand periods decreases while the overtime budget increases as less employees are hired. Remarkably, this lower number of employees does not result in a lower number of cancellations. On the contrary, the number of cancellations increases when the workforce size decreases.

4.2.3 The optimal workforce buffer for the time buffer baseline roster

In the two experiments in Sect. 4.2.2, we imposed the same personnel budget restrictions for the basic, minimum cost and time buffer baseline roster. However, the time buffer baseline roster installs a capacity buffer on top of the minimum number of staffing requirements. In order to meet the larger demand for staff, this time buffer baseline roster requires extra personnel budget, i.e., hiring budget and overtime budget. This extra budget enables the time buffer baseline roster to become an effective strategy and outperform the basic and minimum cost baseline roster in terms of actual cost. In this experiment, the objective is to determine how large the available personnel budget for the time buffer baseline roster should be relative to the personnel budget for the basic and minimum cost baseline roster. Hence, we aim to determine the optimal level of additional employees, i.e., hiring and overtime budget, needed for the time buffer baseline roster.

In order to avoid that an implicit buffer could be created for the basic and minimum cost baseline roster, the starting point in this analysis is the minimum required number of employees to cover the minimum staffing requirements (\(R^w_{dh}\)). This can be calculated based on the minimum required number of working hours and the allowed number of working hours for a single employee in regular time and in overtime, i.e., \(\lceil {\sum _{d\in D} \sum _{h\in H} l_h R^{w}_{dh}/(\eta ^{w,max}_i+\eta ^{wo,max}_i)}\rceil \). Hence, a TCC value of 0.30, 0.40 or 0.50 leads to a minimum of 4, 5 or 6 employees required, respectively. In our experiments, we vary the additional number of employees that are hired on top of this minimum number and we determine the impact of the number of additional employees on the actual cost. Note that we do not impose restrictions on the distribution of overtime over the integrated strategic staffing and tactical scheduling phase [Eq. (25)] and the operational allocation phase [Eq. (27)]. The results are displayed in Fig. 8, which shows the results for the basic baseline roster, the minimum cost baseline roster and the time buffer baseline roster with a different number of extra employees for different values of the TCC-indicator.

Figure 8 expresses the trade-off between hiring extra employees and the actual cost for the time buffer baseline roster. Figure 8a shows the evolution for a varying employee buffer size and a TCC-value of 0.30 and indicates that the best results are obtained without a buffer. The time buffer baseline roster is outperformed by the minimum cost baseline roster in this case. The optimal buffer for a TCC-value of 0.40 and 0.50 is, respectively, 1 and 2 employees and the actual cost for the time buffer baseline roster is smaller than that for the minimum cost baseline roster. Thus, it is useful to hire additional employees if the total staffing requirements are sufficiently large.

Table 5 reveals the results for the individual components of the planned and actual performance. As the number of employees increases, the understaffing of staffing requirements decreases in the integrated strategic staffing and tactical scheduling phase. Naturally, we also observe a reduction in the scheduled overtime and an augmentation in the overstaffing. This results in a reduction of the actual understaffing in the operational allocation phase. Similarly, the availability of extra employees decreases the need for unscheduled overtime and reduces the number of cancellations in the operational allocation phase. However, these advantages of additional employees are negated through an increase in the overstaffing and the number of changes.

Table 5 Evolution of planned and actual performance metrics for the time buffer baseline roster
Fig. 9
figure 9

Impact of the variability of demand

Table 6 Actual cost for different variability degrees and hiring levels

4.2.4 The impact of the variability of demand

The experiments in Sects. 4.2.2 and 4.2.3 are based on the assumption that the demand variability per demand period is not restricted and can range up to a value of \(+\infty \) [Eqs. (11– 13)]. In this section, we investigate the impact of different degrees of variability of demand by varying the value of parameter \(\sigma \) in Eqs. (11) and (12). We distinguish 6 uncertainty scenarios that differ in the degree of variability, i.e., \(\sigma \) \(\in \) \(\{1, 2, 3, 4, 5, +\infty \}\). Moreover, the demand variability is simulated according to two simulation strategies, i.e.,

  • In the first strategy, the demand variability is simulated for the defined standard shift duties, which consist of two consecutive demand periods (cf. Fig. 2). Hence, the simulated staffing requirements remain the same for both demand periods within a standard shift.

  • The second strategy simulates the staffing requirements per demand period and includes a higher intrinsic variability because the staffing requirements can differ from demand period to demand period.

Figure 9 displays the actual cost for the different uncertainty scenarios and the two simulation strategies. When the uncertainty rises, the actual cost displays a convex behaviour, i.e., the actual cost increases at a decreasing rate. The main difference between the two simulation strategies is the height of the actual cost. Since the first strategy comprises a lower overall variability, the actual cost is lower than for the second strategy.

In order to obtain further insight in the impact of the uncertainty scenarios for the two simulation strategies, we repeat the experiments of Sects. 4.2.2 and 4.2.3. In general, the findings of these experiments are confirmed for different degrees of variability. The detailed results of the actual cost for different variability degrees and hiring levels are displayed in Table 6 for both the minimum cost baseline roster and the time buffer baseline roster. The italics indicate whether the minimum cost baseline roster or the time buffer baseline roster performs better for a given combination of demand variability and workforce size. In general, the construction of a time buffer baseline roster is beneficial when the workforce size is relatively high and the demand variability increases. This is in particular the case when the demand strategy is simulated per demand period (cf. Fig. 9). When the number of employees is relatively low, the personnel planner should not introduce additional staffing requirements on top of the minimum staffing requirements as the minimum cost baseline roster performs best.

The inclusion of a small workforce buffer on top of the minimally required number of employees leads to an actual cost improvement for the time buffer baseline roster. However, the construction of a time buffer baseline roster is only beneficial when the total staffing requirements and the degree of variability are sufficiently high in comparison to the minimum cost baseline roster.

5 Conclusions

In this paper, we discuss the impact of overtime as a time buffer strategy on the robustness of a personnel roster. In the personnel planning process, a decision on the overtime budget is typically taken in the staffing phase as this decision is interconnected with the hiring policy in an organisation and overtime may reduce the required number of employees. Overtime is defined as the extension of the daily working time and/or of the total working time over the planning period. In the personnel planning process, decisions taken in the higher-level hierarchical phases impact lower-level phases. The overtime budget has undoubtedly an impact on the operational allocation phase where operational variability arises and overtime may offer some flexibility to solve schedule disruptions in a reactive way. In this perspective, we explore the trade-off between the number of hired employees and the overtime budget. Additionally, we investigate the impact of the overtime policy, which determines how overtime is used in the personnel planning process. Overtime may be introduced in the integrated staffing and scheduling phase to construct the baseline personnel roster as a proactive scheduling strategy and in the operational allocation phase as a reactive allocation strategy to balance supply and demand. The research methodology embodies a three-step methodology that consists of the construction of a baseline personnel roster, the daily simulation and adjustment decision model and an evaluation step. We assess three types of personnel rosters, which differ in the availability of overtime and the definition of specific staffing requirements for overtime duties as a capacity buffer to hedge against uncertainty.

The results of the computational experiments show that the introduction of overtime reduces both the planned and actual cost. The degree in which overtime should be included in the baseline personnel roster depends on the number of hired employees. A low number of hired employees requires that more overtime is proactively scheduled to reduce the planned understaffing while a larger number of hired employees benefits from a combination of scheduled and unscheduled overtime. The definition of additional staffing requirements as a capacity buffer is most useful when the workforce size is higher than the minimum required workforce size. We investigated the size of this workforce buffer on top of the minimum number of required employees. Moreover, the additional staffing requirements are only relevant when the demand variability is sufficiently high.

Future research should focus on the expansion and adaptation of the three-step methodology. First, the development of dedicated algorithms based on the techniques of robust optimisation should be studied in order to construct baseline personnel shift rosters under uncertainty. Second, the simulation may also consider dependencies between the demand of subsequent demand periods, i.e., an endogenous demand, by means of stochastic processes.