Abstract
Nowadays and due to the pandemic of COVID-19, nurses are working under the highest pressure benevolently all over the world. This urgent situation can cause more fatigue for nurses who are responsible for taking care of COVID-19 patients 24 hours a day. Therefore, nurse scheduling should be modified with respect to this new situation. The purpose of the present research is to propose a new mathematical model for Nurse Scheduling Problem (NSP) considering the fatigue factor. To solve the proposed model, a hybrid Genetic Algorithm (GA) has been developed to provide a nurse schedule for all three shifts of a day. To validate the proposed approach, a randomly generated problem has been solved. In addition, to show the applicability of the proposed approach in real situations, the model has been solved for a real case study, a department in one of the hospitals in Esfahan, Iran, where COVID-19 patients are hospitalized. Consequently, a nurse schedule for May has been provided applying the proposed model, and the results approve its superiority in comparison with the manual schedule that is currently used in the department. To the best of our knowledge, it is the first study in which the proposed model takes the fatigue of nurses into account and provides a schedule based on it.
1. Introduction
In working places such as hospitals where the services must be provided continuously, distribution of workforces within different shifts is required. Accordingly, different studies could be found within the literature which formulated the problem of scheduling nurses, known as the Nurse Scheduling Problem (NSP), from different aspects to provide a timetable for nurses in a hospital [1–3].
In NSP, nurses are assigned different shifts according to a set of constraints and requirements which are determined by the hospital. On one hand, optimal nurse scheduling has effects on reducing hospital costs, increasing nurse's job satisfaction, quality of care, and increasing the input budget of hospitals [4]. On the other hand, hospital work shifts could impose negative effects on involved nurses such as understaffing, heavy workload, and irregular work-scheduling conditions. It adversely affects the service quality of healthcare operations and leads to less patient-nurse interaction and patient safety issues. Meanwhile, other negative impacts of shift works on nurses are important such as fatigue, obesity, sleep disorder, and a wide range of chronic diseases [5–8]. It seems that human factors should be combined with NSP if a more productive hospital is needed. In other words, studying NSP considering human factors could improve both the performance of nurses and productivity of hospitals significantly [9].
In addition to former issues in nurses' work shifts, the pandemic of the COVID-19 has aggravated the problem and put double pressure on nurses across the world. In this new situation, work shifts should be determined regarding response to patients' care requirements effectively and immediately and reduction of nurses' fatigue simultaneously.
Motivated by the aforementioned issues, and since, to the best of our knowledge, formulating an NSP considering fatigue factor has not studied yet, in this study, we have suggested a framework to distribute nurses in work shifts with the least fatigue alongside an attention to the additional pressure due to COVID-19 pandemic. To do so, a mathematical model is formulated for NSP in which fatigue of nurses has been taken into account. To solve the proposed model, a hybrid Genetic Algorithm (GA) has been developed, and real data from a department in one of the hospitals in Esfahan, Iran, where COVID-19 patients are hospitalized, has been used to provide a timetable for May.
The remaining parts of the current paper are as follows.
Firstly, related previous work on the area of NSP is investigated. After that, the problem is described and formulated, and then, the proposed GA is introduced. Following this, test problems are solved to approve the accuracy of the proposed model. Next, a real case study is considered, and a timetable for the department of COVID-19 patients is provided. Also, results are compared with the current timetable which is scheduled manually. Finally, the most important results along with suggestions for future research are presented in the conclusion section.
2. Literature Review
Taking preferences into account has been studied in NSP from different points of view. For instance, in the NSP study of Tsai and Li [10], Topaloglu and Selim [11], Abdollahi and Ansari [12], Wong et al. [13], Jafari et al. [14], and Legrain et al. [15], shift preferences were considered while in Vanhoucke and Maenhout [16] both shift preferences and day preferences were integrated simultaneously. Also, Liu et al. [17] considered NSP in hemodialysis service with a preference on roles and shifts. Further, Hamid et al. [9] proposed a multiobjective model for NSP considering the skill, preference, and compatibility of nurses.
In addition to preferences, some papers have added social/human factors into the NSPs. For example, in Farasat and Nikolaev [18], social structure effects into Nurse Scheduling Problem (NSP) were considered, and it was shown how the social structure of the working environment can affect the performance of nurses. In Zanda et al. [19], the maternity of nurses, type of their contracts (full time or part time), or nurses that benefit from special reductions of the workload for several reasons (e.g., because they have a close relative who suffers a serious illness) have been taken into account in providing a nurse schedule. Nahand et al. [20] proposed a multiobjective model for NSP considering human errors of nurses to determine optimal shift scheduling of nurses. Particularly, nurses' preference score, allocation costs, penalty cost of violating soft constraints, and human errors were all considered as objectives to be optimized, and a weighted-sum method was employed to solve the model. Wolbeck et al. [21] proposed a model for the NSP considering the timing and distribution of shift changes among nurses. In fact, the model incorporates a fair shift change penalization scheme, in which the type, timing, and distribution of shift changes among nurses are taken into account. In addition, information from previous periods was considered, using an individual penalty score to distribute the shift changes fairly among the nurses. The model was solved within the Gurobi software.
Assigning nurses to the operating room is the subject of another group of papers in the NSP literature. Lim et al. [22] presented two models for NSP. The first one assigns nurses to upcoming surgery cases while the second one assigns lunch breaks for nurses. A column generation algorithm and a two-phase swapping heuristic were developed to find feasible assignments in a fast manner. In another study, Di Martinelly and Meskens [23] proposed a biobjective model for NSP to assign nurses to operating rooms. They have used the e-constraint method to solve the problem. Besides, Chiang et al. [24] presented a mathematical model which can provide an optimized schedule for nurses and operating rooms simultaneously. GAMS software was deployed to solve the proposed model.
Also, categorizing patients into different groups and then assigning nurses to each group of them have been studied in NSPs as well. In particular, Heshmat et al. [25] studied a two-stage approach where, at the first stage, patients are clustered, and then, at the second stage, nurses are assigned to each cluster. The model was solved by using CPLEX. Moreover, Sarkar et al. [26] proposed a framework to assign nurses to home patients and patients in the hospital according to different demands with respect to the patients' health status. A hybrid GA was applied to solve the problem.
Meanwhile, the possibility of exchanging nurses within different departments has also been investigated. Fügener et al. [27] proposed a mid-term model for NSP considering cross-training effects. Firstly, a framework to define and visualize cross-training policies was proposed. Next, a new cross-training policy was introduced where each unit trained one dedicated nurse for each other unit, and finally, by using g CPLEX for solving the model, a schedule was provided. He et al. [28] proposed a two-stage stochastic model for NSP considering understaffing risk control. In the proposed model, an initial base number of nurses within the department's budget were assigned to the department. However, a central pool of nurses was maintained from where extra nurse shifts can be transferred from the pool to cover the shortage in certain departments, or redundant nurse shifts can be transferred into the pool. The model was solved using CPLEX. Schoenfelder et al. [29] presented a model that incorporates two classes of quick-response decisions in hospitals' nurse scheduling, namely, adjustments to the unit assignments of cross-trained float nurses and transfers of patients between units and off-unit admissions. They have examined the proposed model within different hospitals.
However, the main purpose of some papers is to develop heuristic/metaheuristic/simulation-based approaches for solving NSPs with the aim of improving the solution procedures from both quality and CPU time. In this case, hybrid Artificial Bee Colony (Awadallah et al. [30]), Particle Swarm Optimization (Wu et al. [31]), Sample Average Approximation method (Bagheri et al. [32]), Variable Neighborhood Search algorithm (Zheng et al. [33], Rahimian et al. [34]), Hybrid Harmony Search algorithm (Awadallah et al. [35]), a heuristic approach based on Simulated Annealing (Knust and Xie [36]), a combination of three algorithms, namely, Fix-and-Relax, Fix-and-Optimize, and Simulated Annealing (Turhan and Bilgen [37]), and a heuristic procedure based on column generation (Strandmark et al. [38]) could be found within the literature of NSP.
According to a comprehensive literature review, we did not find any research which formulated NSP considering fatigue factor. To fill this research gap and to decrease double pressure which has been imposed on nurses due to the spreading of COVID-19, in the current paper, we formulated the NSP by considering the fatigue factor for a real case study, a department in one of the hospitals in Esfahan, Iran, where COVID-19 patients are hospitalized, to provide a schedule for nurses of this department for May in all shifts.
3. Problem Description
Health organizations such as hospitals are responsible for providing required services in both normal and crisis situations [39–41]. In recent years, health management has received special attention among researchers since appropriate allocation and usage of resources are vital to provide high-quality services to patients [42]. Accordingly, researchers in conjunction with decision-makers have worked on health management (as a pivotal issue in many political and social debates) in different regions and countries across the world to select an optimal form for the usage of healthcare resources [43]. To do so, they have applied novel decision-making tools to allocate and productive usage of resources [44] since the quality of the provided services to patients is highly dependent on the available resources. Among required resources, human resources are the most important factor in providing services [45, 46]. Because staff costs are a heavy part of each organization's cost, increasing the productivity and efficiency of human resources is very significant. One of the most practical ways to increase the productivity of this valuable resource is to combine the right distribution of human resources [47, 48]. In other words, it is very important to determine the number of required nurses during each shift so that, depending on the volume of arrivals, the provision of services always remains at the desired level. There are different types of shifts such as night shifts, last week shifts, two-part shifts, and on-call shifts. However, work shifts should be scheduled in such a way that imposes the lowest fatigue on nurses because long shifts have a negative efficacy on employee physiology. To do so, we propose a multiobjective model for the Nurse Scheduling Problem to optimize the work shifts of nurses, which includes three shifts in the morning, evening, and night. The first objective function is minimizing the total costs while the second objective function is minimizing the expected value of total fatigue for all nurses in all shifts. In fact, in this model, since fatigue is one of the main human factors which affects the quality of doing jobs and health circumstances of employees, the nurse fatigue factor has been investigated as a function with binary values according to break times which makes a virtual life for nurses. In simple words, to reduce nurses' fatigue during the shifts, some certain times are allocated for their break.
Some of the assumptions of the problem are as follows:
All nurses have identical skills
The break times are discrete values
Demand behavior is the random variable based on a specific distribution function
Each nurse is only assigned one shift
The break time is more important compared with shift time
3.1. Sets and Parameters
i: Period (day)
j: Rest time (break time)
c1: Employment cost
c2: Dismissal cost
c3: Nurse shortage cost
c4: Nurse surplus cost
c5: Fatigue reduction cost
τij: Duration of the rest time j at period i
Li: Duration of the shift time at period i
Δi: Interval between the breaks at period i
b: Maximum fatigue level
a: positive value
γ: positive value
P: A very large number
3.2. Decision Variables and Functions
xi: Nurse level changes at period i
m: Rest level (integer positive values use for determining rest time)
D: Required nurse number
vij: Nursing attendance virtual time based on rest time j at period i
f(d): Probability function of required nurse number
F(t): Fatigue function
δ(m): Fatigue fix function
cPM(i): Nurses' fatigue reduction function at period i
W: A binary variable, which is equal to 1 if nurse's employment is required; 0, otherwise
Z: A binary variable, which is equal to 1 if nurse's dismissal is required; 0, otherwise
3.3. Model Formulation
(1) |
(2) |
subject to
(3) |
(4) |
(5) |
(6) |
(7) |
Equations (1) and (2) are objective functions of the proposed model. The first objective function minimizes the total cost of nurses. The first sentence of this function relates to nurses' fatigue reduction function at period i. The second and third sentences of the first objective function calculate the costs related to decisions about the increase or reduction in the number of nurses in each shift. Finally, the fourth and fifth sentences of the first objective function determine the number of shortages and surplus of nurses at period i. Equation (2) is the second objective function and minimizes the expected value of total fatigue for all nurses in all shifts. Appendix A provides some complementary relations and explanations about these objective functions.
Also, constraints of the proposed model have been formulated as equations (3)–(7). Constraint (3) shows nursing attendance virtual time at period i. Constraint (4) determines a lower bound and upper bound for nurse level changes at period i. Constraint (5) assures that in each period solely either nurse employment or nurse dismissal could occur. Finally, constraints (6) and (7) define the domains of the decision variables.
3.4. Linearization
The above-proposed model is nonlinear because of constraint (5). Therefore, before proceeding to the next stage, constraint (5) should be substituted with identical linear equations. To do so, equations (8)–(10) should be used:
(8) |
(9) |
(10) |
4. Solution Approach
Genetic Algorithm (GA) is one of the first Evolutionary Algorithms in which selection, crossover, and mutation are its main operators. The idea behind the GA originates from the Darwinian Theory of Evolutionary and, therefore, GA is categorized as a population-based algorithm. It can be said that the GA is a programming technique that uses genetic evolution as a pattern for solving problems. The GA algorithm starts with a random population. This population contains a set of solutions, which represent chromosomes of individuals. The next step is creating the second generation of the population based on selection processes, i.e., generation based on the selected characteristics by genetic operators. For each individual, a pair of parents is selected. In the selection stage, the most appropriate elements will be selected so that even the weakest elements have the chance to choose. This process prevents from nearing the local answer.
Generally, GA has a connectivity probability that is between 0.6 and 1, which indicates the probability of birth of a child, and the organisms combine with this possibility. The connection of two chromosomes creates the child, which is added to the next generation. This process is done to find the right candidates for the answer in the next generation. This process creates a new generation of chromosomes that are different compared with the previous generation. The whole process is repeated until the last stage [49].
In comparison with other optimization algorithms, GA has certain advantages. The most important one is that GA has a powerful ability to tackle complex problems and could be used for solving a wide variety of optimization problems with different objective functions (e.g., stationary or nonstationary objective functions, linear or nonlinear objective functions, etc.). Moreover, since “multiple off-springs in a population act like independent agents, the population (or any subgroup) can explore the search space in many directions simultaneously. This feature makes it ideal to parallelize the algorithms for implementation while different parameters and even different groups of encoded strings can be manipulated at the same time” [50].
Due to the aforementioned advantages, in this study, a hybrid GA algorithm is applied to solve the proposed NSP model. Figure 1 shows the steps of the GA algorithm. Also, Appendix B provides more detail about the applied GA algorithm.
5. Computational Results
5.1. Model Validation
Prior to solving the model by using real data, to validate the accuracy of the proposed model, a test problem is generated randomly and a schedule for one week is provided. Table 1 includes parameters for the test problem. All computations have been done within MATLAB software on a laptop with Intel Core i5, 2.5 GHz, and 4 GB of RAM.
Table 1.
Parameters | Values |
---|---|
c 1, c2, c3, c4 | Uniform (1, 10) |
λ | 1 |
Β | 1 |
θ | 20 |
The number of nurses is assumed to be five, and there are three shifts per day. Each nurse's salary per hour is also assumed to be 10 units per hour.
Table 2 shows the obtained schedule for a week for the test problem.
Table 2.
Day (i) | x i + | x i − | m | D | F1 (cost) | F2 (fatigue) |
---|---|---|---|---|---|---|
1 | 0 0 0 | 0 0 0 | 0 0 0 | 2 1 1 | 2,156 | 0.0386 |
2 | 0 0 1 | 0 0 0 | 0 0 1 | 2 1 2 | 2,798 | 0.0369 |
3 | 0 1 0 | 0 0 1 | 2 1 0 | 2 2 1 | 2,604 | 0.0358 |
4 | 0 0 0 | 0 1 0 | 2 0 0 | 2 1 1 | 2,309 | 0.0258 |
5 | 0 0 0 | 0 0 0 | 1 0 0 | 2 1 1 | 2,255 | 0.0344 |
6 | 0 0 1 | 0 0 0 | 1 0 1 | 2 1 2 | 2,885 | 0.0361 |
7 | 0 1 0 | 0 0 1 | 1 1 0 | 2 2 1 | 2,515 | 0.029 |
In Table 2, columns xi+ and xi− show the required changes in the number of nurses so that the value in column D is affected by these changes in each row. Also, column F1 contains the imposed cots to the system by implementing the schedule whereas column F2 shows the fatigue of nurses.
5.2. Case Study
After validating the proposed model, we performed the model in a real case, a specific department of a hospital in Esfahan, Iran, where COVID-19 patients are hospitalized. Our purpose was to compare the scheduling obtained using the proposed model with those currently used in the considered department which have been computed manually by a person in the human resource department of the case study. Due to the nature of constraints in the NSP of the case study, the person who is responsible for providing the schedule, firstly, arranges an initial schedule that distributes all nurses within the days of a month. After that, she/he tries to rearrange the scheduling in order to also meet the fatigue of nurses as well. Accordingly, administrators of the department noted that the manual approach could be very time-consuming. In addition, some nurses were enjoying generous rest hours while most nurses were under high pressure. Thereby, administrators decided to automate the scheduling of this department. It led to the distribution of nurses within the shifts in a fair manner while the required time for providing a schedule was reduced significantly as well.
The department has 14 nurses, and working days are partitioned into three shifts: 8: 00 am-4: 00 pm, 4: 00 pm-12: 00 pm (0: 00 am), and 12: 00 pm-8: 00 am. Each nurse's salary per hour is 160000 IRR. It is worth mentioning that 1 EUR is equal to almost 46,292 IRR. Based on the salary, costs of employment, dismissal, shortage and, surplus are as follows:`
(11) |
The patient's arrival rate is based on the Poisson distribution and is λ1=2, λ2=3, and λ3=3 in the first, second, and third shifts. The fatigue factor follows the Weibull distribution with parameters ß = 2 and θ = 500. Also, the parameters of the hybrid GA algorithm including the percentage of mutation, intersection percentage, and the number of repetitions are 0.1, 0.9, and 200, respectively. The model is solved within MATLAB software on a laptop with Intel Core i5, 2.5 GHz, and 4 GB of RAM.
The schedule for May which has been prepared manually and the schedule that has been prepared by hybrid GA have been compared in Table 3. In Table 3, column D depicts the order of each shift in each day. For instance, 6 3 3 on the 1st day of May states that, on the first day of May, the number of required nurses for the first, second, and third shifts is six, three, and three, respectively. In addition, columns xi+ and xi− depict the level of changes required for each day regarding the last day. For example, on the 25th of May, one nurse should be added for a second shift whereas one nurse should be eliminated in the first shift compared with the 24th of May. Therefore, the order of shifts on the 25th of May is 5 3 1 while on the 24th of May the order was 6 2 1.
Table 3.
Day (i) | Manually (hospital) | Hybrid GA | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
x i + | x i − | m | D | F1 (cost) | F2 (fatigue) | x i + | x i − | m | D | F1 (cost) | F2 (fatigue) | |
1 | 0 0 0 | 0 0 0 | 0 0 0 | 6 3 3 | 71,481 | 0.0591 | 0 0 0 | 0 0 0 | 0 0 0 | 6 3 3 | 71,481 | 0.0591 |
2 | 0 0 0 | 0 0 0 | 0 0 1 | 6 3 3 | 73,123 | 0.0574 | 0 0 0 | 0 0 0 | 0 0 1 | 6 3 3 | 73,123 | 0.0574 |
3 | 0 0 0 | 0 0 0 | 0 0 2 | 6 3 3 | 76,729 | 0.0563 | 0 0 0 | 0 0 0 | 0 0 2 | 6 3 3 | 76,729 | 0.0563 |
4 | 0 0 0 | 0 0 0 | 1 0 0 | 6 3 3 | 74,992 | 0.0581 | 0 1 0 | 1 0 0 | 2 0 2 | 5 4 3 | 75,834 | 0.0463 |
5 | 0 0 0 | 0 0 0 | 1 0 1 | 6 3 3 | 77,440 | 0.0549 | 1 0 0 | 0 1 0 | 1 0 1 | 6 3 3 | 77,440 | 0.0549 |
6 | 0 0 0 | 0 0 0 | 1 0 2 | 6 3 3 | 78,070 | 0.0535 | 0 0 0 | 1 0 0 | 2 0 2 | 5 3 3 | 73,810 | 0.0566 |
7 | 0 0 0 | 0 0 0 | 1 1 1 | 6 3 3 | 81,770 | 0.0532 | 0 0 0 | 0 0 1 | 2 0 2 | 5 3 2 | 69,410 | 0.0495 |
8 | 0 0 0 | 0 0 0 | 1 1 2 | 6 3 3 | 89,200 | 0.0498 | 0 0 0 | 0 0 0 | 2 1 2 | 5 3 2 | 71,618 | 0.0448 |
9 | 0 0 0 | 0 0 0 | 2 0 1 | 6 3 3 | 79,250 | 0.0541 | 1 0 1 | 0 0 0 | 2 0 1 | 6 3 3 | 79,250 | 0.0541 |
10 | 0 0 0 | 0 0 0 | 2 0 2 | 6 3 3 | 83,880 | 0.0526 | 0 0 0 | 1 0 1 | 2 2 2 | 5 3 2 | 72,431 | 0.0507 |
11 | 0 0 0 | 0 0 0 | 1 1 2 | 6 3 3 | 89,200 | 0.0498 | 0 1 1 | 0 0 0 | 2 1 2 | 5 4 3 | 91,012 | 0.0455 |
12 | 0 0 0 | 0 0 0 | 2 2 2 | 6 3 3 | 92,310 | 0.0479 | 1 0 0 | 0 1 0 | 2 2 2 | 6 3 3 | 92,310 | 0.0479 |
13 | 0 0 0 | 0 0 0 | 1 0 2 | 6 3 3 | 78,070 | 0.0535 | 0 0 0 | 0 0 0 | 1 0 2 | 6 3 3 | 78,070 | 0.0535 |
14 | 0 0 0 | 0 0 0 | 2 2 2 | 6 3 3 | 92,310 | 0.0479 | 0 0 0 | 0 0 0 | 2 2 2 | 6 3 3 | 92,310 | 0.0479 |
15 | 0 0 0 | 0 0 0 | 2 0 0 | 6 3 3 | 74,235 | 0.0588 | 0 0 0 | 0 0 0 | 2 0 0 | 6 3 3 | 74,235 | 0.0588 |
16 | 0 0 0 | 0 0 0 | 1 0 1 | 6 3 3 | 77,440 | 0.0549 | 0 0 0 | 1 0 0 | 2 1 1 | 5 3 3 | 74,142 | 0.0571 |
17 | 0 0 0 | 0 0 0 | 2 0 2 | 6 3 3 | 83,880 | 0.0526 | 1 0 0 | 0 0 0 | 2 0 2 | 6 3 3 | 83,880 | 0.0526 |
18 | 0 0 0 | 0 0 1 | 2 0 2 | 6 3 2 | 68,300 | 0.0598 | 0 0 0 | 0 0 1 | 2 0 2 | 6 3 2 | 68,300 | 0.0598 |
19 | 0 0 0 | 0 0 0 | 2 1 2 | 6 3 2 | 70,173 | 0.0576 | 0 0 0 | 0 0 0 | 2 1 2 | 6 3 2 | 70,173 | 0.0576 |
20 | 0 0 0 | 0 0 0 | 2 2 2 | 6 3 2 | 72,345 | 0.0561 | 0 0 0 | 0 0 0 | 2 2 2 | 6 3 2 | 72,345 | 0.0561 |
21 | 0 0 0 | 0 0 1 | 2 0 2 | 6 3 1 | 60,900 | 0.0661 | 0 0 0 | 1 0 0 | 2 2 2 | 5 3 2 | 63,476 | 0.0609 |
22 | 0 0 0 | 0 0 0 | 1 1 2 | 6 3 1 | 62,200 | 0.0649 | 0 0 0 | 0 0 0 | 2 2 0 | 5 3 2 | 60,150 | 0.0637 |
23 | 0 0 0 | 0 0 0 | 1 1 0 | 6 3 1 | 59,145 | 0.0674 | 0 1 1 | 0 0 0 | 2 1 1 | 5 4 3 | 63,182 | 0.0528 |
24 | 0 0 0 | 0 1 0 | 1 1 1 | 6 2 1 | 51,165 | 0.0801 | 0 0 0 | 1 2 1 | 2 2 2 | 4 2 2 | 52,750 | 0.0746 |
25 | 0 1 0 | 1 0 0 | 2 2 2 | 5 3 1 | 54,100 | 0.0681 | 1 1 0 | 0 0 1 | 2 2 2 | 5 3 1 | 54,100 | 0.0681 |
26 | 0 0 1 | 0 1 0 | 2 2 2 | 5 2 2 | 56,108 | 0.0768 | 0 0 1 | 0 1 0 | 2 2 2 | 5 2 2 | 56,108 | 0.0768 |
27 | 1 1 0 | 0 0 0 | 2 2 2 | 6 3 2 | 72,345 | 0.0561 | 0 1 1 | 0 0 0 | 1 1 1 | 5 3 3 | 71,230 | 0.0574 |
28 | 0 0 0 | 2 1 0 | 2 2 2 | 4 2 2 | 52,215 | 0.0795 | 1 0 0 | 0 1 1 | 2 2 2 | 6 2 2 | 58,900 | 0.0646 |
29 | 0 0 1 | 0 0 0 | 2 2 2 | 4 2 3 | 54,000 | 0.0835 | 0 1 1 | 0 0 0 | 2 1 2 | 6 3 3 | 71,700 | 0.0513 |
30 | 1 1 0 | 0 0 2 | 2 2 2 | 5 3 1 | 54,100 | 0.0681 | 0 0 0 | 1 1 0 | 2 1 2 | 5 2 3 | 55,700 | 0.0662 |
31 | 0 0 1 | 1 1 0 | 0 0 0 | 4 2 2 | 51,985 | 0.0919 | 1 0 0 | 0 0 0 | 2 1 2 | 6 2 3 | 69,150 | 0.0598 |
Column m presents the rest level at each shift. The value of 0 means that nurses will not be allowed to have further rest during their shift. In fact, all nurses have a break time generally in their shifts. If this usual break is the only break during the shift, m will give a value of 0. However, values of 1 and 2 for m state that nurses have one or two further breaks during their shift. Undoubtedly, the surplus break times reduce the fatigue of nurses dramatically.
Finally, columns F1 and F2 contain the value of costs and fatigue function in each day. It should be mentioned that F1 values have been divided into 1,000 for more convenience.
Figure 2 compares costs of manual scheduling and scheduling calculated by hybrid GA algorithm for all 31 days in May.
As Figure 2 illustrates, the costs of the department during one month according to manual scheduling are lower than those of the hybrid GA algorithm. However, this difference is not very significant, and Figure 3 clearly approves this matter. As it can be seen in Figure 3, the total costs of manual scheduling are 2,212,461,000 IRR while the total costs of scheduling which have been prepared by the proposed model and using the hybrid GA algorithm are 2,214,349,000 IRR. Therefore, the difference between costs is not higher than 2,000,000 IRR, and actually, this is not a considerable amount of money.
Figure 4 compares fatigue function in manual scheduling and hybrid GA scheduling.
Figure 4 clearly reveals that although the values of fatigue function in the second decade of May are almost identical in both hybrid GA scheduling and manual scheduling, the fatigue of nurses in hybrid GA scheduling is totally lower than that in manual scheduling. Figure 5 which shows cumulative values of fatigue function for 31 days of May obviously approves this clime.
In addition, the required total time for providing a timetable by hybrid GA is considerably lower than the required total time for providing a timetable manually. Figure 6 depicts this difference.
Figure 6 illustrates that scheduling of the department manually takes 66.67 minutes whereas the hybrid GA algorithm reduces the required time for scheduling dramatically so that it needs just 1.28 minutes for solving the proposed model and providing a timetable for the department.
6. Conclusion
Scheduling work shifts in many industry and service occupations directly affects the mental and physical health of employees. This matter can be more obvious in occupations like nursing where employees are usually working under high pressure and stress. Therefore, it would be better to consider employees' satisfaction and convenience in providing scheduling so that work hours impose lower pressure on them.
During the last months and due to the pandemic of COVID-19, physicians, nurses, and other persons in hospitals across the world are working under the highest pressure benevolently to suppress this insidious disease. This urgent situation can cause more fatigue for these persons, especially for nurses who are caring for COVID-19 patients 24 hours a day. Therefore, nurse scheduling should be modified with respect to this new situation.
In this paper, a mathematical model has been proposed to optimize the work shift of nurses considering human factors. To do so, according to experts' points of view, fatigue as the most important factor among human factors has been selected, and minimizing fatigue by creating different time intervals of rest during shift works has been addressed.
To solve the proposed model, a hybrid GA algorithm has been performed. In addition, to validate the efficiency of the proposed model, real data from the department of COVID-19 patients in one of the hospitals in Esfahan have been used where scheduling is currently determined manually. In fact, applying the proposed procedure of this paper, a timetable for all shifts of this department has been provided for May, and results have been compared with those currently used in the considered department and provided manually. Results approve that while the proposed approach imposes a little more cost to the department, it outperforms the current manual scheduling in both fatigue factor and time of providing a time table.
Apart from the lower required time for providing a timetable compared with the former manual approach, one of the main advantages of the proposed approach is eliminating personal tastes. It has been done because in the proposed approach, no one is involved in providing schedules, and the level of available resources is the only effective factor on the final schedule. To sum up, the proposed approach distributes nurses within the shifts in a fair manner considering the least fatigue while the required time for providing a schedule is significantly lower than the manual approach as well. However, another strength of our proposed approach is its generalizability. In other words, due to the structure of formulation, the proposed model could be used in either other healthcare departments or other continuous systems where a schedule for different shifts is required. In all of these settings, the model could distribute nurses/workforces within different shifts fairly considering least fatigue.
In future research, our model can be developed by considering other human factors such as rewards, motivation, and loyalty. Also, developing other heuristic and metaheuristic techniques would be an interesting direction for future research.
Appendix
A. Complementary Relations
As mentioned in Section 3.3, the first objective function minimizes the total cost of nurses. The first sentence of this function relates to nurses' fatigue reduction function at period i which is calculated based on equation (A.1):
(A.1) |
The second and third sentences of the first objective function calculate the costs related to decisions about the increase or reduction in the number of nurses in each shift. In other words, xi+ depicts the number of employed nurses while xi− shows the number of dismissed nurses at period i. Finally, the fourth and fifth sentences of the first objective function determine the number of shortages and surplus of nurses at period i. On the one hand, when demand is higher than the number of nurses (D > xi ), the cost of shortage could be computed as follows:
(A.2) |
On the other hand, when demand is less than the number of nurses (D ≤ xi ), the cost of the surplus could be computed as follows:
(A.3) |
It should be noted that xi is computed based on equation (A.4) and (A.5):
(A.4) |
Since D is a Poisson random variable, f(d) in equations (A.2) and (A.3) is a Poisson distribution function. Therefore, equations (A.2) and (A.3) should be rewritten as the following equations:
(A.5) |
Moreover, as mentioned in Section 3.3, the proposed model has a second objective function which minimizes the expected value of total fatigue for all nurses in all shifts. In the current objective function, there are some values that will be calculated using the following equations:
(A.6) |
B. Steps of the Hybrid GA Algorithm
1) Generating Initial Answer
Since there are four variables including xi+, xi−, m , D and three shifts, all feasible solutions will be revealed in the form of a 4 × 3 matrix. A feasible answer can be found as follows:
(B.1) |
An initial answer will be generated randomly. For this purpose, one of the first or second rows is selected randomly. To fill the first column, a random number between [x min, x max ] is selected. If the selected number is greater than zero, we will write a zero in the next row while if the selected number is zero, a random number in the interval [x min, x max ] will be selected for another row. The same procedure will be employed for the second and third columns as well. In the third row, a random number in the interval [x min, x max ] opts for the first to third columns respectively.
2) Fitness Function
Suppose f1=c1∑i=1Txi+ and f2=c2∑i=1Txi−. The fitness function is calculated according to these functions and will put in the Pareto set.
3) Generating New Answer Based on Different Neighborhood Structures
The first neighborhood structure is as follows:
Between the first and second rows, one of them is chosen randomly. Suppose that i represents the selected row. Now a random column like j is chosen randomly. If xij+1 ≤ xmax, then xij+1⟶xij and the value of column j in the next row is zero.
The second neighborhood structure:
Between the first and second rows, one of them is chosen randomly. Suppose that i represents the selected row. Now, a random column like j is chosen randomly. If xij − 1 ≥ xmin, then xij − 1⟶xij.
The third neighborhood structure:
In the third row, a column j is chosen randomly. If mj+1 ≤ mmax, then, mj+1⟶mj.
The fourth neighborhood structure:
In the third row, a column j is chosen randomly. If mj − 1 ≥ mmin, then, mj − 1⟶mj.
The algorithm starts with the first neighborhood structure. The answer is added to the Pareto set; therefore, the current neighborhood structure remained. Otherwise, go to the next neighborhoods' structure. It should be mentioned that once the newly generated answer is entered into the Pareto set, the algorithm starts with the first neighborhood structure again. In this situation, the algorithm replicates the search process for m times.
4) Evaluating the New Generated Answer
In the evaluation stage of the new generated answer, one of the following states should occur:
First state
If f1 , f2 for the new answers, in all answers of the dominant set, are worse, or one of them is worse and another is equal, it is not allowed to enter the dominant answer set.
Second state
The new answer is better than k answers of the dominant answer set. So, the new answer is added to the dominant set, and k nondominant answers will be eliminated.
Third state
The new answer is not better than any answers of the dominant answer set. Meanwhile, if one of the functions f1 or f2 is superior to all answers of the dominant answer set, it will enter into the Pareto set. However, other answers will remain in the dominant answer as well.
5) Replicating Algorithm
Steps 1 to 3 are replicated for m times.
Data Availability
The data used to support the findings of this study are available from the corresponding author upon request.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
References
- 1.Müller A., Weigl M., Heiden B., Herbig B., Glaser J., Angerer P. Selection, optimization, and compensation in nursing: exploration of job-specific strategies, scale development, and age-specific associations to work ability. Journal of Advanced Nursing. 2013;69(7):1630–1642. doi: 10.1111/jan.12026. [DOI] [PubMed] [Google Scholar]
- 2.Kulkarni V. G. Modeling and Analysis of Stochastic Systems. Boca Raton, FL, USA: Chapman and Hall/CRC; 2016. [Google Scholar]
- 3.Rajaee A. A., Amindoust A., Asadpour M. Applying simulated annealing algorithm for parallel machine tardiness problem subject to job splitting. Proceedings of the 48th International Conference on Computers & Industrial Engineering (CIE48); December 2018; Auckland, New Zealand. pp. 2–5. [Google Scholar]
- 4.Puente J., Gómez A., Fernández I., Priore P. Medical doctor rostering problem in a hospital emergency department by means of genetic algorithms. Computers & Industrial Engineering. 2009;56(4):1232–1242. doi: 10.1016/j.cie.2008.07.016. [DOI] [Google Scholar]
- 5.Rerkjirattikal P., Huynh V. N., Olapiriyakul S., Supnithi T. A goal programming approach to nurse scheduling with individual preference satisfaction. Mathematical Problems in Engineering. 2020;2020:11. doi: 10.1155/2020/2379091.2379091 [DOI] [Google Scholar]
- 6.Bridges J., Griffiths P., Oliver E., Pickering R. M. Hospital nurse staffing and staff-patient interactions: an observational study. BMJ Quality & Safety. 2019;28(9):706–713. doi: 10.1136/bmjqs-2018-008948. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Liu L.-F., Lee S., Chia P.-F., Chi S.-C., Yin Y.-C. Exploring the association between nurse workload and nurse-sensitive patient safety outcome indicators. Journal of Nursing Research. 2012;20(4):300–309. doi: 10.1097/jnr.0b013e3182736363. [DOI] [PubMed] [Google Scholar]
- 8.Baker J. A., Canvin K., Berzins K. The relationship between workforce characteristics and perception of quality of care in mental health: a qualitative study. International Journal of Nursing Studies. 2019;100 doi: 10.1016/j.ijnurstu.2019.103412.103412 [DOI] [PubMed] [Google Scholar]
- 9.Hamid M., Tavakkoli-Moghaddam R., Golpaygani F., Vahedi-Nouri B. A multi-objective model for a nurse scheduling problem by emphasizing human factors. Proceedings of the Institution of Mechanical Engineers, Part H: Journal of Engineering in Medicine. 2020;234(2):179–199. doi: 10.1177/0954411919889560. [DOI] [PubMed] [Google Scholar]
- 10.Tsai C.-C., Li S. H. A. A two-stage modeling with genetic algorithms for the nurse scheduling problem. Expert Systems with Applications. 2009;36(5):9506–9512. doi: 10.1016/j.eswa.2008.11.049. [DOI] [Google Scholar]
- 11.Topaloglu S., Selim H. Nurse scheduling using fuzzy modeling approach. Fuzzy Sets and Systems. 2010;161(11):1543–1563. doi: 10.1016/j.fss.2009.10.003. [DOI] [Google Scholar]
- 12.Abdollahi S. M., Ansari Z. A data-driven goal programming model for the nurse scheduling problem. International Journal of Experimental Design and Process Optimisation. 2013;3(3):294–310. doi: 10.1504/ijedpo.2013.055743. [DOI] [Google Scholar]
- 13.Wong T. C., Xu M., Chin K. S. A two-stage heuristic approach for nurse scheduling problem: a case study in an emergency department. Computers & Operations Research. 2014;51:99–110. doi: 10.1016/j.cor.2014.05.018. [DOI] [Google Scholar]
- 14.Jafari H., Bateni S., Daneshvar P., Bateni S., Mahdioun H. Fuzzy mathematical modeling approach for the nurse scheduling problem: a case study. International Journal of Fuzzy Systems. 2016;18(2):320–332. doi: 10.1007/s40815-015-0051-2. [DOI] [Google Scholar]
- 15.Legrain A., Omer J., Rosat S. An online stochastic algorithm for a dynamic nurse scheduling problem. European Journal of Operational Research. 2020;285(1):196–210. doi: 10.1016/j.ejor.2018.09.027. [DOI] [Google Scholar]
- 16.Vanhoucke M., Maenhout B. On the characterization and generation of nurse scheduling problem instances. European Journal of Operational Research. 2009;196(2):457–467. doi: 10.1016/j.ejor.2008.03.044. [DOI] [Google Scholar]
- 17.Liu Z., Liu Z., Zhu Z., Shen Y., Dong J. Simulated annealing for a multi-level nurse rostering problem in hemodialysis service. Applied Soft Computing. 2018;64:148–160. doi: 10.1016/j.asoc.2017.12.005. [DOI] [Google Scholar]
- 18.Farasat A., Nikolaev A. G. Signed social structure optimization for shift assignment in the nurse scheduling problem. Socio-Economic Planning Sciences. 2016;56:3–13. doi: 10.1016/j.seps.2016.06.003. [DOI] [Google Scholar]
- 19.Zanda S., Zuddas P., Seatzu C. Long term nurse scheduling via a decision support system based on linear integer programming: a case study at the University Hospital in Cagliari. Computers & Industrial Engineering. 2018;126:337–347. doi: 10.1016/j.cie.2018.09.027. [DOI] [Google Scholar]
- 20.Nahand P. K., Hamid M., Bastan M., Mollajan A. Human resource management: new approach to nurse scheduling by considering human error. International Journal of System Assurance Engineering and Management. 2019;10(6):1429–1443. [Google Scholar]
- 21.Wolbeck L., Kliewer N., Marques I. Fair shift change penalization scheme for nurse rescheduling problems. European Journal of Operational Research. 2020:1121–1135. doi: 10.1016/j.ejor.2020.01.042. [DOI] [Google Scholar]
- 22.Lim G. J., Mobasher A., Bard J. F., Najjarbashi A. Nurse scheduling with lunch break assignments in operating suites. Operations Research for Health Care. 2016;10:35–48. doi: 10.1016/j.orhc.2016.07.001. [DOI] [Google Scholar]
- 23.Di Martinelly C., Meskens N. A bi-objective integrated approach to building surgical teams and nurse schedule rosters to maximise surgical team affinities and minimise nurses’ idle time. International Journal of Production Economics. 2017;191:323–334. doi: 10.1016/j.ijpe.2017.05.014. [DOI] [Google Scholar]
- 24.Chiang A. J., Jeang A., Chiang P. C., Chiang P. S., Chung C. P. Multi-objective optimization for simultaneous operating room and nursing unit scheduling. International Journal of Engineering Business Management. 2019;11 doi: 10.1177/1847979019891022.1847979019891022 [DOI] [Google Scholar]
- 25.Heshmat M., Nakata K., Eltawil A. Solving the patient appointment scheduling problem in outpatient chemotherapy clinics using clustering and mathematical programming. Computers & Industrial Engineering. 2018;124:347–358. doi: 10.1016/j.cie.2018.07.033. [DOI] [Google Scholar]
- 26.Sarkar P., Sinha D., Chaki R. Advanced Computing and Systems for Security. Singapore: Springer; 2018. A framework for solution to nurse assignment problem in health care with variable demand; pp. 3–20. [Google Scholar]
- 27.Fügener A., Pahr A., Brunner J. O. Mid-term nurse rostering considering cross-training effects. International Journal of Production Economics. 2018;196:176–187. doi: 10.1016/j.ijpe.2017.11.020. [DOI] [Google Scholar]
- 28.He F., Chaussalet T., Qu R. Controlling understaffing with conditional Value-at-Risk constraint for an integrated nurse scheduling problem under patient demand uncertainty. Operations Research Perspectives. 2019;6 doi: 10.1016/j.orp.2019.100119.100119 [DOI] [Google Scholar]
- 29.Schoenfelder J., Bretthauer K. M., Wright P. D., Coe E. Nurse scheduling with quick-response methods: improving hospital performance, nurse workload, and patient experience. European Journal of Operational Research. 2020;283(1):390–403. doi: 10.1016/j.ejor.2019.10.047. [DOI] [Google Scholar]
- 30.Awadallah M. A., Bolaji A. L. A., Al-Betar M. A. A hybrid artificial bee colony for a nurse rostering problem. Applied Soft Computing. 2015;35:726–739. doi: 10.1016/j.asoc.2015.07.004. [DOI] [Google Scholar]
- 31.Wu T.-H., Yeh J.-Y., Lee Y.-M. A particle swarm optimization approach with refinement procedure for nurse rostering problem. Computers & Operations Research. 2015;54:52–63. doi: 10.1016/j.cor.2014.08.016. [DOI] [Google Scholar]
- 32.Bagheri M., Gholinejad Devin A., Izanloo A. An application of stochastic programming method for nurse scheduling problem in real word hospital. Computers & Industrial Engineering. 2016;96:192–200. doi: 10.1016/j.cie.2016.02.023. [DOI] [Google Scholar]
- 33.Zheng Z., Liu X., Gong X. A simple randomized variable neighbourhood search for nurse rostering. Computers & Industrial Engineering. 2017;110:165–174. doi: 10.1016/j.cie.2017.05.027. [DOI] [Google Scholar]
- 34.Rahimian E., Akartunalı K., Levine J. A hybrid integer programming and variable neighbourhood search algorithm to solve nurse rostering problems. European Journal of Operational Research. 2017;258(2):411–423. doi: 10.1016/j.ejor.2016.09.030. [DOI] [Google Scholar]
- 35.Awadallah M. A., Al-Betar M. A., Khader A. T., Bolaji A. L. A., Alkoffash M. Hybridization of harmony search with hill climbing for highly constrained nurse rostering problem. Neural Computing and Applications. 2017;28(3):463–482. doi: 10.1007/s00521-015-2076-8. [DOI] [Google Scholar]
- 36.Knust F., Xie L. Simulated annealing approach to nurse rostering benchmark and real-world instances. Annals of Operations Research. 2019;272(1-2):187–216. doi: 10.1007/s10479-017-2546-8. [DOI] [Google Scholar]
- 37.Turhan A. M., Bilgen B. A hybrid fix-and-optimize and simulated annealing approaches for nurse rostering problem. Computers and Industrial Engineering. 2020;145 doi: 10.1016/j.cie.2020.106531.106531 [DOI] [Google Scholar]
- 38.Strandmark P., Qu Y., Curtois T. First-order linear programming in a column generation based heuristic approach to the nurse rostering problem. Computers and Operations Research. 2020;120104945 [Google Scholar]
- 39.Asadpour M., Boyer O., Tavakkoli-Moghaddam R. A blood supply chain network with backup facilities considering blood groups and expiration date: a real-world application. International Journal of Engineering. 2021;34 doi: 10.5829/ije.2021.34.02b.19. [DOI] [Google Scholar]
- 40.Asadpour M., Boyer O., Tavakkoli-Moghaddam R. Designing blood supply chain network in disaster situation considering blood groups and expiration date. Proceedings of the 1st International Conference on Challenges and New Solutions in Industrial Engineering and Management and Accounting; July 2020; Sari, Iran. [Google Scholar]
- 41.Bahrami I., Ahari R. M., Asadpour M. A maximal covering facility location model for emergency services within M (t)/M/m/m queuing system. Journal of Modelling in Management. 2020 doi: 10.1108/JM2-06-2020-0152. ahead-of-print. [DOI] [Google Scholar]
- 42.Ricciardi C., Ponsiglione A. M., Converso G., Santalucia I., Triassi M., Improta G. Implementation and validation of a new method to model voluntary departures from emergency departments. Authorea. 2020 doi: 10.22541/au.158136530.04979165. Preprints. [DOI] [PubMed] [Google Scholar]
- 43.Improta G., Guizzi G., Ricciardi C., et al. Agile six sigma in healthcare: case study at Santobono pediatric hospital. International Journal of Environmental Research and Public Health. 2020;17(3):p. 1052. doi: 10.3390/ijerph17031052. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Hooshangi-Tabrizi P., Contreras I., Bhuiyan N., Batist G. Improving patient-care services at an oncology clinic using a flexible and adaptive scheduling procedure. Expert Systems with Applications. 2020;150 doi: 10.1016/j.eswa.2020.113267.113267 [DOI] [Google Scholar]
- 45.Rahimpour K., Shirouyehzad H., Asadpour M., Karbasian M. A PCA-DEA method for organizational performance evaluation based on intellectual capital and employee loyalty. Journal of Modelling in Management. 2020;15(4):1479–1513. doi: 10.1108/jm2-03-2019-0060. [DOI] [Google Scholar]
- 46.Asadpour M., Shirouyehzad H. Performance evaluation and ranking of academy award winners for best original score applying data envelopment analysis: 1990–2016. Operations Research Letters. 2019;47(5):371–376. doi: 10.1016/j.orl.2019.07.003. [DOI] [Google Scholar]
- 47.Ajripour I., Asadpour M., Tabatabaie L. A model for organization performance management applying MCDM and BSC: a case study. Journal of Applied Research on Industrial Engineering. 2019;6(1):52–70. [Google Scholar]
- 48.Jafarpisheh R., Karbasian M., Asadpour M. A hybrid reliability-centered maintenance approach for mining transportation machines: a real case in Esfahan. International Journal of Quality & Reliability Management. 2020 doi: 10.1108/IJQRM-09-2020-0309. [DOI] [Google Scholar]
- 49.Mirjalili S. Evolutionary Algorithms and Neural Networks. Cham, Switzerland: Springer; 2019. Genetic algorithm; pp. 43–55. [Google Scholar]
- 50.Yang X. S. Nature-inspired Optimization Algorithms. Chapter 5 - Genetic Algorithms. Amsterdam, Netherlands: Elsevier; 2014. pp. 77–87. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The data used to support the findings of this study are available from the corresponding author upon request.