Discrete Optimization
A hybrid heuristic ordering and variable neighbourhood search for the nurse rostering problem

https://doi.org/10.1016/j.ejor.2007.04.030Get rights and content

Abstract

This paper is concerned with the development of intelligent decision support methodologies for nurse rostering problems in large modern hospital environments. We present an approach which hybridises heuristic ordering with variable neighbourhood search. We show that the search can be extended and the solution quality can be significantly improved by the careful combination and repeated use of heuristic ordering, variable neighbourhood search and back-tracking. The amount of computational time that is allowed plays a significant role and we analyse and discuss this. The algorithms are evaluated against a commercial Genetic Algorithm on commercial data. We demonstrate that this methodology can significantly outperform the commercial algorithm. This paper is one of the few in the scientific nurse rostering literature which deal with commercial data and which compare against a commercially implemented algorithm.

Introduction

It is clear that the efficient rostering of healthcare personnel can lead to the more effective utilisation of valuable resources. Healthcare institutions around the world are becoming increasingly interested in the deployment of decision support technology to aid the personnel scheduling process. A very general form of the nurse rostering problem could be described as follows: Given a set of shifts and a set of nurses over a certain time period, assign each shift to a nurse subject to a set of constraints. The constraints are usually defined by regulations, working practices and the preferences of the nurses.

The problem of nurse rostering is relatively easily described but like most real world search problems it is far from easy to automatically generate very high quality solutions. Indeed, there have been many papers over the years from across operational research and artificial intelligence that have tackled the problem in one form or another. A wide range of approaches and techniques have been investigated and used. Ernst et al. [19], [20] identified 28 different categories of methods that have been used on personnel scheduling problems. These include constraint logic programming, constructive heuristics, expert systems, genetic algorithms, integer programming, set partitioning, simple local search and simulated annealing. A recent review of automated nurse rostering approaches found that, although there has been a lot of research in the area, surprisingly few of the methods were tested on real world data [17]. The paper went on to conclude that even fewer have actually been implemented in real hospital wards.

Of those techniques that have been applied on real-world problems metaheuristic methods seem to dominate. One approach which has been applied in multiple real world hospitals is a hybrid tabu search [15]. The tabu search is integrated with techniques which are usually observed in manual scheduling approaches. The algorithm has been incorporated into software that has been used to create nurse rosters in over 40 Belgian hospitals and copes with many shift types, work regulations and skill categories. This work was hybridised with an evolutionary approach [12] to produce a methodology which could generate higher quality solutions but at the cost of increased computational time. Variable Neighbourhood Search [21], [28] has also been applied and tested on highly constrained real world nurse rostering data [14]. The authors found that VNS could be effectively used to escape from the local optima found using single neighbourhood heuristics. They also commented “After reaching a local optimum, we recommend the exploration of wider environments”. Evaluation methods for challenging real world problems are presented and discussed in [13]. A methodology which can handle a more flexible approach to real world nurse rostering than the traditional fixed period based approach is presented in [11]. An overview of the work carried out by these authors in Belgian hospitals is presented in [16].

Another investigation on real data explored a genetic algorithm approach [1], which successfully exploits problem specific knowledge in tackling the problem. Although the method is tailored for that particular problem instance, the underlying concepts could be applied to other nurse rostering problems. In 1998, Dowsland was also able to match the quality of schedules produced by an expert human scheduler using a highly developed tabu search [18]. The algorithm ‘oscillates’ between trying to improve the cover and improving the preference costs. As well as using tabu lists, candidate lists and diversification strategies, the search also uses a large neighbourhood created by looking for chains of overall improving swaps. Aickelin and Li [2], [3] have since experimented with the application of bayesian optimisation and classifier systems to similar nurse rostering problems. The results are close to those produced by an optimal integer programming method and the authors concluded that with further effort and experimentation the algorithms could well improve even more. Bellanti et al. [9] tackled a problem with hard constraints and objectives (or soft constraints) using various local search techniques. The authors presented good results for a tabu search and iterated local search which use neighbourhoods defined by changing the assignment of night shifts.

Another methodology that has been tested on complex real-world data from a UK hospital is case-based reasoning [30]. This approach avoids the use of evaluation functions but instead aims to imitate how an expert human scheduler would produce a good schedule. This is done by storing observed methods for repairing violations in schedules and retrieving, adapting and performing these repairs or moves whenever a similar violation is encountered again. As an extension to their work, the authors also suggest methods in which it could be combined with a meta-heuristic approach [7], [8]. Another relatively recent methodology is a combination of constraint networks and knowledge-based rules [24]. The approach was implemented in a commercial software package and has been successfully used in a number of hospitals.

Berrada et al. [10] developed a multi-objective mathematical programming model to represent a real world problem containing both hard and soft constraints in a Canadian hospital. The schedules produced met the standards required by the head nurses. The authors also experimented with a tabu search and found that although it required greater computational time it was useful in some circumstances. Valouxis and Housos [32] approach a nurse rostering problem using an approximate integer linear programming model to produce initial solutions. The initial solutions are then further optimised using a local search with a ‘2-opt’ neighbourhood and a tabu search. Their method compared very favourably with a constrained programming approach. In 2004, Bard and Purnomo [5] employed a combination of heuristic and integer programming methods to solve nurse preference scheduling problems with up to one hundred nurses and approximately 13 hard and soft constraints. Individual nurse schedules are created by modifying a base schedule using swaps. These columns are then used to form a set covering type problem which, when solved, creates the overall roster. Later they extended this work to further improve the quality of schedules by incorporating the use of a downgrading option [4] and in [6] present a model which combines cyclic and preference scheduling.

By defining fuzzy constraints (i.e. constraints that may be partially satisfied and partially violated) Meyer auf’m Hofe [27] solved real world nurse rostering problems as constraint optimisation rather than as constraint satisfaction problems. Branch and bound and iterative improvement are used to quickly produce good rosters. The approach was developed using experience gained developing a software rostering system that is used in approximately 60 German hospitals [26].

There are many more papers in the literature which are discussed in more detail in [17], [19]. It is clear that relatively few papers in the literature have worked with real world data or been implemented in hospitals [17]. One of the main goals in this paper is to develop an effective and efficient search approach to improve upon the genetic algorithm based approach that is currently employed within ORTEC’s Harmony software.1 As such, the methodology has to be able to handle all the requirements and constraints that are inherent in nurse rostering problems from the modern complex environments that are represented by today’s hospitals.

This paper presents our investigation into combining a variable neighbourhood search with a method of heuristically unassigning shifts and repairing schedules using heuristic ordering. The next section describes the nurse rostering problem we were dealing with. Sections 3 The hybrid variable neighbourhood search algorithm, 4 Results discuss the algorithm and results respectively. In Section 5 we draw conclusions on the success of this approach and present some possible future extensions in Section 6.

Section snippets

Problem description

The data for this problem was provided by ORTEC, a major supplier of software products and consulting in the field of advanced planning and scheduling. They support hospitals and other organisations all over the world with automated workforce management solutions.

The number of nurses in the problem instances tested ranges from 30 to 12, the ratio of full to part time nurses also varies between wards. For example, one ward consists of 16 nurses, 12 of the nurses are full time and work 36 hours

The hybrid variable neighbourhood search algorithm

The algorithm that we present in this paper represents an iterative process in which variable neighbourhood search is followed by a schedule disruption and repair strategy. The repairing of the schedule is performed using a heuristic ordering technique. Back-tracking is also carried out to further improve the quality of the schedules produced.

The overall process is illustrated by the pseudo-code in Fig. 1.

Results

To develop this algorithm, the workforce management and planning software ORTEC Harmony [31] was used. Employing Harmony provided a number of advantages from a research point of view. The software has a highly developed user interface with which a large number and wide variety of nurse rostering problems can be defined and created. All data structures and methods for manipulating the problem instances themselves already exist with many hours of work already performed to increase their access

Conclusions

The hybrid VNS algorithm described has been shown to be a relatively straightforward but highly effective approach for this problem. It is particularly effective on medium and small sized instances with less than twenty nurses. It is a viable alternative to the existing genetic algorithm for the commercial workforce management and planning software Harmony and has been added alongside the genetic algorithm in the latest versions.

For instances with less than twenty nurses, the VNS algorithm has

Further research

Even though the results produced by this algorithm are strong, there are areas in which it could possibly be improved and which need exploring, especially if it were being designed to be run over a longer time period than 1 hour. For example, after the VNS, when selecting the area of the schedule to un-assign shifts from, a simple method is used: Unassign the shifts belonging to a fixed number of nurses with the worst individual schedules. This is an obvious heuristic and has been shown to work

Acknowledgements

This work was supported by EPSRC grant GR/S31 150/01. We thank the anonymous referees for their helpful comments and suggestions.

References (32)

  • U. Aickelin et al.

    A Bayesian optimization algorithm for the nurse scheduling problem

  • U. Aickelin et al.

    The application of Bayesian optimization and classifier systems in nurse scheduling

  • J.F. Bard et al.

    Cyclic preference scheduling of nurses using a Lagrangian-based heuristic

    Journal of Scheduling

    (2007)
  • G.R. Beddoe, S. Petrovic, Combining case-based reasoning with tabu search for personnel rostering problems, Technical...
  • E.K. Burke et al.

    Metaheuristics for handling time interval coverage constraints in nurse scheduling

    Applied Artificial Intelligence

    (2006)
  • E.K. Burke et al.

    A memetic approach to the nurse rostering problem

    Applied Intelligence

    (2001)
  • Cited by (0)

    View full text