Abstract
Introduction
Operating a medical department usually needs to meet some requirements, which include (1) the combination of medical staff assigned to each department should meet each department's manpower needs, and (2) the duty days of each staff should meet the requirements of the maximum and minimum working days. In general, the internal staff of each medical department is sufficient to meet these requirements. However, some gaps may exist between the manpower from internal members due to uncertainty demand. The uncertain factors include emergencies and uncertain operation times, 1 uncertain surgery durations 2 and so forth. When the medical manpower of a department is insufficient, many negative consequences may occur. First, patients must spend additional waiting time. The workload of the medical staff in the department is expected to increase. 3 A department may take the risk of shortage of basic care services4,5 and poor patient prognosis 6 due to insufficient nurses. In addition, employees who apply for a vacation may be requested to postpone their leave application due to insufficient night shift staff and insufficient staff on holidays.
Basically, the increase of manpower can enhance the quality of medical care service. However, from a cost–benefit point of view, merely increasing manpower is not economical because excessive increase in staff will only ineffectively increase the cost of medical services. 7 Thus, properly arranging manpower under the established personnel and determining the correct number of manpower deployed on any given shift are important. 8 When arranging medical manpower, planners can further notice two phenomena. First, staff have more than two technical skills. This feature enables staff in different departments to support one another across departments in the same branch or other branches because they have the skills required by the supported department. Second, medical staff may have their personal preferences to apply for their statutory holidays or to make up for certain overtime days. To avoid the cancellation of approved leave applications due to insufficient manpower, it is better to simultaneously arrange medical manpower and perform vacation permission control at the same time, because the staff's vacation preference will affect the number of people that can be arranged.
However, no work in the literature simultaneously investigates how to effectively use staff’s multiskill characteristics and how to execute vocation control. In order to fill the research gap, this study establishes a mathematical model and an intelligent heuristic approach to construct the decisions of medical staff's duty scheduling and vacation control to minimize the sum of customers’ waiting costs, the overtime cost of medical staff, the cost of failing to meet medical staff’s vacation requirements, and the cost of mutual support between departments.
Literature review
Baker 9 categorized the personnel scheduling problems into three types, namely, the shift scheduling problem, days off scheduling problem, and tour scheduling problem. The shift scheduling problem type is of a daily time scheduling problem and is scheduled in daily scheduling. The days off scheduling problem means the length of the work week in the facility does not necessarily match the length of the work week of employees. The third category is a combination of the first two problem types. In personnel scheduling, organization staff work seven days a week and work shift every day. This type of planned schedule not only considers the rules of the number of days that should be applied for work and vacation within a period but also includes the work and rest periods on the working day. The scope and type of the third category are complex, and problem solving is less easy. The problems discussed in this article are of this type.
The characteristic of large-scale personnel scheduling problem is that it is large in scale, with complicated constraints, and is difficult to solve. In terms of solution methods, Bechtold et al. 10 classified the solution method of personnel scheduling problem into two types: linear programming or construction-based approaches. Erhard et al. 11 provided a good overview of quantitative methods for physician scheduling problems. They addressed the characteristics of various physician scheduling problems, categorized the existing research methods, and explained the research gaps. Mathematical programming techniques, such as linear, integer, or mixed integer programming, are usually applied to formulate most personnel scheduling problems. Problem solving techniques, such as heuristic algorithms based on decomposition techniques and meta-heuristics, are used to solve them. However, it is difficult to obtain a satisfactory solution within a reasonable time using exactly methods since most personnel scheduling problems are computationally complex. Thus, many heuristics or meta-heuristics such as neural networks, particle swarm optimization, ant colony optimization, scatter search iterated local search and variable neighborhood search12–16 have been applied to solve various types of personnel scheduling problems because they can effectively generate reasonable feasible solutions within a limited computational time.
The components in the objective function and the constraints on decision variables in various scheduling problems are quite diverse. Personnel costs are usually considered. Some authors also consider customer waiting costs. Johnson et al. 17 showed that nearly 77% of emergency department patients leave the hospital without receiving treatment due to the long waiting time. Bhandari et al. 18 proposed an algorithm to solve a dynamic operator staffing problem in a call center. The objective of their model is to minimize cost associated with delay, hiring servers, waiting and using temporary servers. Nah and Kim 19 established a mathematical model for the purpose of minimizing the costs related to waiting, labor, and abandonment to discuss the labor planning and deployment of hospital appointment call centers. Othman et al. 20 balanced patient needs and human resources from the viewpoint of the workload of all medical staff, patient waiting time, and patient response time to optimize the functions of the pediatric emergency department.
The above literature does not consider personnel scheduling issues with cross-department support. Mabert and Raedels 21 established a model with multisectors in which the holiday schedule is used to deal with changes in daily customer demand in the bank office. Later, Bechtold 22 developed a transfer model to discuss the same problem. However, neither of these two seminal works consider the scheduling issues of mutual assistance among personnel across departments. Considering employees’ abilities and skills, Dahmen et al. 23 dealt with a personalized multidepartment multiday shift planning problem in which employees can transfer between departments subject to certain restrictions. The goal of the problem is to assign workday shifts to employees within the scope of the multiday plan by considering some common restrictions related to the multiday shift plan and some restrictions that apply to the interdepartmental transfer flexibility option. They established a scheduling plan to minimize the costs related to under-coverage, over-coverage, transfer, and labor. However, in this research, the workdays of each employee are known. Schoenfelder et al. 24 established a model to deal with a nurse scheduling problem through the determinations of resource sizes and allocations, cross-training levels, patient process strategies, and nurse arrangements by using flexible labor and patient transfer between inpatient units.
Some researchers deal with the duty scheduling problem in which the personnel have multiple skills. Bechtold et al. 10 classified personnel scheduling solutions into three groups according to the flexibility of skills. The first group is defined by planners. In this case, the scheduler can freely define the skills of each person. The second group is related to the issue of hierarchical workforce. In this case, higher-level employees can perform the tasks of lower-level employees, and vice versa. The characteristic of the last group is that skills cannot be substituted. Tasks or jobs that require specific skills can only be performed by workers with that skill. Nevertheless, workers may still receive cross-training. Van den Bergh et al. 25 divided personnel scheduling problems into three categories according to the flexibility of skills. The first category is user-defined skill types. In this type, everyone's skills can be freely defined. This type is suitable for the situation where employees with certain specific skills can easily be hired or trained. The second group handles the case with hierarchical workforce. In this case, high-level skilled personnel can do jobs lower than their own skill level. The third group is where jobs with specific skills can only be performed by people with that skill and cannot be replaced by people with other skills. However, workers may still receive cross-training.
When personnel can be divided into different skill categories, a hard constraint is usually added to ensure that the number of workers required for each skill is sufficient during a specific period. In the case of soft constraints, when employees with the right skills are lacking, people with other skills can take over, but the disadvantage is that it damages the objective value. Harper et al. 26 used simulation optimization methods to solve the problem of nursing team size and skills. Campbell 27 proposed a two-stage stochastic procedure to schedule and assign cross-trained workers in a multidepartment service environment with random demands.
Among the mentioned literature with mutual support between departments, no research considers the multiskilled characteristics of personnel and the waiting time of patients. Long waiting time is an important reason for patient dissatisfaction. Therefore, in this study, in addition to considering the multiskilled characteristics of the personnel, the human support among multiple departments, and the vacation preferences of medical staff, waiting cost is considered in the objective function.
Model description and assumption
A medical institution provides medical services by its
The institution is planning a
For department
In addition, the period waiting cost of customers in department
The medical institution expects to minimize the sum of customers’ waiting cost, the cost of failing to allow vacation applications, the overtime cost and the cost of dispatching employees to support other departments. To reach this goal, the medical institution must seriously make the following decisions: (1) the decision of each employee's starting working period, (2) the decision of each employee's working days, (3) the decision of whether employees work in their own department, (4) the decision related to which departments’ employees are dispatched to support departments with short manpower, and (5) the decision to approve leave application. The relevant symbols and decisions are summarized as follows, and the mathematical model is formulated thereafter.
The total cost (TC) includes the cost of unapproving employees’ leave applications (CR), the overtime cost and the dispatch cost for cross-departmental personnel support (CO), and patients’ waiting cost (CW), and is given by (1).
Solution method
The problem is a mixed integer nonlinear programming problem. We develop a hybrid heuristic to solve the problem. The evolutionary mechanism of genetic algorithm is applied to determine the number of service stations,
Encoding scheme of a chromosome for the number of service stations
Gene expression
Let
An example: Suppose a medical center is planning a
In this situation,
An example of a chromosome.
Determination of the number of service stations
The
Encoding scheme of a chromosome for skills used by employees on duty
Gene expression
A chromosome is composed of
Determination of skills used by employees on duty
For employee
Fitness function
After the values of
Subsequently, the fitness value and the decisions of
We refer to the above model as Model 1. The procedure is addressed as follows.
Parameter input. Generate an initial population of a group of individuals, let the best cost be Perform the following procedures while Iter < Itermax or the stop criterion has not been met.
Perform the following steps for each individual.
For each department, determine the values of Substitute If no shortage occurs, that is If iter = itermax or the stop criterion has been met, then report the result; otherwise, let iter = iter + 1; perform three operators, including election, crossover, and mutation; back to Step (a).
Numerical example
In this section, the duty scheduling problem of
The values of
Symbol AS represents available skills.
The number of technicians
Design of testing problems and computational environment
In this section, five problem types were designed to investigate the performance of the proposed approach and impacts of parameters on the computational results. For each problem type, five test cases were examined in which all parameters are the same as the basic dataset, except one parameter was changed. The number of departments for the five problem types was set from 4 to 8. In addition, for problem types 1 and 2, only the waiting cost was changed, and the cost was set at
We used symbol HGA to stand for the proposed approach. The Visual C + + programming language was used to code the solution procedure of HGA. All of the test problems were solved by HGA and well-known Lingo optimization solver. The computing platform was implemented on an Intel® Core TM i5-7200 U CPU 2.7 GHz notebook computer with 16.0 GB RAM. The calculation time was set to a maximum of four hours. In HGA, 20 individuals comprised each generation, among which four individuals with the first four best fitness values were retained as the elite group and were directly copied to the next generation without evolution operators. The mating and mutation rates were set to 0.95 and 0.06, respectively. The criteria for the algorithm to stop include the conditions for convergence and when the number of iterations reaches 20,000. The condition of convergence is when the best solution appears continuously for 20 generations and remains unchanged. The comparison result of the HGA and Lingo was used to examine the performance of the proposed method.
Illustrative example
In this subsection, case 3 of problem type 2 was used to explain the on-duty period and working department of each staff in each department. In this case, 72 staff were recorded. We summarized the calculation results according to staff’s belonging departments (
Computational result for case 3 of problem type 2.
Performance of heuristic procedure
All five types of problems were solved through Lingo optimization and HGA. The computational results of the five problem types are shown in Tables 5–9, in which the percentage gap of the TC between Lingo and HGA was given by the formula of (LS-HS)/LS, where symbols LS and HS stand for the TC of Lingo method and the TC of HGA method, respectively.
Ability to find optimal solutions Lingo software is a software that can confirm the optimal solution. When the solution it finds is the best, the solution report will show the message of the global optimal solution found. If the optimal solution cannot be found, but a feasible solution can be found, then the solution report will show the message of the feasible solution found. Among the five problems, Lingo can find the optimal solution for all test cases in problem type 1 but can only find feasible solutions for the four other types of problems. Table 4 presents that Lingo and HGA can find the optimal solution for all cases of problem type 1. This feature shows that HGA can also find the optimal solution similar to the Lingo method. Comparison of solution quality The number of decision variables increases rapidly with a small increase in the number of departments. When the number of departments increases from five in problem type 2 to eight departments in problem type 5, the scale of the problem also increases rapidly. For problem type 2, the data are the same as those of problem type 1 but only the number of departments increases from four departments in problem type 1 to five departments. The increase in variables makes Lingo unable to find the optimal solution within the limited time. The last column of Table 6 shows that the HGA solution is slightly better than Lingo's solution in all test cases of Problem 2. On average, the HGA solution is better than Lingo's solution by 3.49%. From the last columns of Tables 5–9, we can find that as the problem size increases, the percentage gap of HGA over Lingo method tends to increase.
Computational result of problem type 1.
Computational result of problem type 2.
Computational result of problem type 3.
Computational result of problem type 4.
Computational result of problem type 5.
Discussions
From The above numerical example results, we can find the following:
From the results of problem types 2 and 3 (last line of Tables 6 and 7), the average percentage gap of the TC between the two methods is only 3% and 6%, respectively. On average, the waiting cost of method Lingo is much higher than the waiting cost of HGA, and the dispatching cost of HGA is only slightly higher than that of Lingo. This result suggests that HGA can better use the manpower between departments to support one another for weighing various costs to achieve the goal of reducing the TC. Therefore, although the dispatching cost of HGA is higher, it can make the waiting cost much lower than that of Lingo. Therefore, TC is lower than that of Lingo. For small sizing problems, planners can apply Lingo optimization software or HGA to plan manpower arrangements because both approaches can find optimal solutions. However, as problem size increases, planners should choose HGA to efficiently find satisfactory solutions. For large problems, the Lingo and HGA methods can find feasible solutions. However, from the large gap between the Lingo and the HGA solutions shown in Tables 8 and 9, the quality of the Lingo solution strictly becomes poor with the increase in scale. One of the possible reasons for the HGA method to find a solution superior to the Lingo method in a short time is that the number of service stations and the skills of the personnel on duty by HGA are generated through algorithms. In addition, HGA uses the relationship between variables to further determine the variable of staff’s starting working time. These features greatly reduce the uncertain variables and the solution searching space. Furthermore, through the mechanism of evolutionary algorithm, the solution scheme is continuously improved to produce improved solutions. Thus, HGA approach outperforms the well-known commercial software Lingo solver for large-scale problems. In the case of changes in waiting costs, unsatisfied vacation costs, and cross-departmental support costs, the proposed algorithm initiates a low-cost scheme first, weighing various costs to avoid a rapid increase in TC. For example, for problem type 2, when the waiting cost rises, the proposed algorithm uses further cross-departmental support, so that the waiting cost does not rapidly increase, and the TC does not increase rapidly. For another example, in problem type 5, when the demand is not high (cases 1–3), only low-cost personnel scheduling is used to properly arrange the department's manpower, but when the demand rises to more than 10% (cases 4–5), high-cost employee overtime programs begin to be launched.
Conclusion
Medical Staff's duty scheduling and leave control are practical problems in many medical institutions. The result of scheduling that does not consider vacation issues may lead to poor on-duty schedule, because the vacation preference of medical staff will affect the actual number of staff that can be arranged. To overcome this problem, this study establishes a mathematical model to simultaneously deal with these two issues and formulate the problem as a constrained mixed-integer programming problem to minimize the sum of customer waiting costs due to insufficient allocation of staff, the overtime cost of medical staff, the cost of failing to meet medical staff’s vacation requirements, and the cost of mutual support between departments. Since the formulated model is a highly complicated combinatorial optimization problem. We propose a hybrid intelligent approach based on a genetic algorithm to efficiently solve the problem. Computational results indicate that our proposed approach outperforms the Lingo optimization software. In addition, when waiting costs and demand rise, the proposed solution procedure can weigh the waiting costs and support costs, and adjust cross-departmental support decisions in a timely manner, so that the total cost will not increase rapidly. In practice, this effect can reduce the operating expenditure of medical institutions.
