Next Article in Journal
The Functional Form of the Relationship between Body Height, Body Mass Index and Change of Direction Speed, Agility in Elite Female Basketball and Handball Players
Next Article in Special Issue
Detection and Analysis of Clostridioides difficile Spores in a Hospital Environment
Previous Article in Journal
The Recovery of China’s Industrial Parks in the First Wave of COVID-19
Previous Article in Special Issue
Telemedicine Technologies Selection for the Posthospital Patient Care Process after Total Hip Arthroplasty
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Home Health Care Problem with Synchronization Visits and Considering Samples Transferring Time: A Case Study in Tehran, Iran

1
School of Industrial Engineering, College of Engineering, University of Tehran, Tehran 1439955961, Iran
2
School of Industrial Engineering, K.N. Toosi University of Technology (KNTU), Tehran 1999143344, Iran
3
Research Centre for Integrated Transport Innovation, School of Civil and Environmental Engineering, The University of New South Wales, Sydney 2052, Australia
*
Author to whom correspondence should be addressed.
Int. J. Environ. Res. Public Health 2022, 19(22), 15036; https://doi.org/10.3390/ijerph192215036
Submission received: 16 October 2022 / Revised: 31 October 2022 / Accepted: 7 November 2022 / Published: 15 November 2022

Abstract

:
Health care facilities have not increased in response to the growing population. Therefore, government and health agencies are constantly seeking cost-effective alternatives so they can provide effective health care to their constituents. Around the world, health care organizations provide home health care (HHC) services to patients, especially the elderly, as an efficient alternative to hospital care. In addition, recent pandemics have demonstrated the importance of home health care as a means of preventing infection. This study is the first to simultaneously take into account nurses’ working preferences and skill levels. Since transferring samples from the patient’s home to the laboratory may affect the test results, this study takes into account the time it takes to transfer samples. In order to solve large instances, two metaheuristic algorithms are proposed: Genetic Algorithms and Particle Swarm Optimization. Nurses are assigned tasks according to their time windows and the tasks’ time windows in a three-stage scheduling procedure. Using a case study set in Tehran, Iran, the proposed model is demonstrated. Even in emergencies, models can generate effective strategies. There are significant implications for health service management and health policymakers in countries where home health care services are receiving more attention. Furthermore, they contribute to the growing body of knowledge regarding health system strategies by providing new theoretical and practical insights.

1. Introduction

Many countries have experienced considerable economic pressure due to the rise in health care expenditures [1]. In Canada, for example, health care costs have exceeded GDP growth in the last 13 years [2]. The US health care system also faces similar challenges [3]. As a result of rising health care costs, even developing nations have been under considerable economic stress [4]. Governments and health agencies are therefore always looking for new and cost-effective ways to serve their constituents [5,6]. Home health care (HHC) services are an integral part of many health care organizations around the world, helping patients, especially the elderly, recover from hospitalization or remain at home safely without unnecessary hospitalization as a crucial sector [7,8,9]. However, these strategies for providing health services are always associated with difficulties, particularly in terms of logistics and transport [10,11].
Health care can be provided to patients at home; however, the transportation costs and travel distances need to be decreased in order to further improve the efficiency of HHC services. An HHC system typically consists of caregivers, patients, and their requests for medical services [12,13,14,15]. Assigning caregivers to these services results in the creation of their travelling routes. As a result, Vehicle Routing Problems (VRP) and Nurse Rostering Problems (NRPs), both well-known Operations Research problems, are the foundations of Home Health Care Routing-Scheduling Problems (HHCRSPs) [16]. Nurses are dispatched by service providers on specific days during specific times. Other aspects of the problem that need to be considered are nurses’ abilities, patients’ preferences, and disease types, as well as sending nurses based on the patient’s condition. Moreover, these organizations may provide home medical tests, send samples to laboratories, and send medicine. Additionally, the COVID-19 pandemic has highlighted the importance of HHC by increasing the demand for hospital services and redirecting medical, health and capacity resources nationwide [17,18,19]. The importance of HHC becomes more important when it comes to preventing infection among children and the elderly due to their increased vulnerability [20].
This study highlights some new features of the HHC problem for the first time. As a result of this study, the following contributions are made: (1) nurses’ preferences and their degree of skill are taken into consideration when synchronized visits take place. (2) Since delays in transporting some samples to the laboratory can affect test results, sample transfer times from the patient’s home to the laboratory are taken into account. (3) In order to assign nurses to tasks, a new three-stage scheduling procedure has been developed. Moreover, due to the problem’s high complexity, solving these problems in a reasonable amount of time becomes exceptionally difficult. In many instances involving large-scale problems, exact methods or commercial solvers cannot handle the problem’s complexity and cannot provide desirable solutions in a reasonable amount of time. A comprehensive review of HHC papers was published in [12,21,22], which demonstrates that this aspect of the problem has received considerable attention; however, this research direction is still an open-ended research area avenue. In solving complex problems, the three most common types of algorithms are conventional algorithms, heuristic algorithms, and meta-heuristic algorithms. Although mathematical programming techniques have been widely employed [23], they are frequently inappropriate and ineffective when applied to large-scale problems. In lieu of these, heuristic algorithms are utilized. By replacing conventional algorithms, heuristic algorithms can save a great deal of computation time, but they may get stuck in local optima and fail to provide the optimal solution to a planning or scheduling problem. Numerous researchers have an interest in meta-heuristic algorithms due to their effectiveness and applicability in solving real-world problems [24,25,26,27]. Therefore, they have been used in many different research areas [28,29,30,31,32,33,34,35,36,37,38]. This paper utilizes GA and PSO, which have been extensively used in literature reviews for various types of vehicle routing problems [39], and they have demonstrated their capability in handling complex problems [40,41]. Some of the questions that will be answered in this research are:
(1)
What is the effect of sample-related constraints?
(2)
What is the relationship between nurses’ total working time and the number of nurses used?
To answer these questions and, also, to consider the features and constraints mentioned above, a mathematical model of the problem is presented and solved with the help of the exact and metaheuristic methods. Some characteristics of the problem have been obtained based on a service provider’s information in Tehran, Iran.
As a result, the paper is organized as follows: Section 2 reviews recent papers on this topic. In Section 3, the proposed model will be described, and the parameters, decision variables, and related mathematical models will be presented. The proposed algorithm is described in Section 4, and then, the computational results are presented om Section 5. The sensitivity analysis will be performed in Section 6. Finally, Section 7 and Section 8 present managerial insights, conclusions, and suggestions for future research.

2. Literature Review

Cheng and Rich [42] probably proposed the first mathematical model of HHC. The problem was modelled as a Vehicle Routing Problem with Time Windows (VRPTW) in which nurses were divided into full-time and part-time categories. Minimizing full-time nurses’ overtime, as well as part-time nurses’ work hours was the objective function. A two-stage algorithm was used to solve the problem. Bertels and Fahle [43] considered time windows to be either hard or soft. The latter type can be violated by considering a penalty in the objective function. A number of factors were taken into account, including patients’ preferences for nurses, nurses’ preferences, nurses’ qualifications to perform tasks, and the distribution of hard work among nurses. A Variable Neighbourhood Search (VNS) was used by Trautsamwieser and Hirsch [44] in solving problems related to 140 tasks and 13 nurses in an urban area and 512 tasks and 75 nurses in a rural area. There were seven terms in the objective function, all related to time characteristics. Comparing the results with actual assignments showed a 45% improvement in travel time. Trautsamwieser et al. [45] also considered the effects of natural disasters such as floods and earthquakes. The VNS method was used to solve real-life instances. Bard et al. [46] divided patients into two categories according to their time window: fixed and flexible. A fixed time window applies to the first category, while the second category can be viewed all day long, although the day on which the second category can be viewed is not determined. In addition, it was considered that a fully licensed therapist should visit patients on their first visit. Liu et al. [47] proposed a mathematical model with three indexes in which some clients may not be visited, so a penalty was added to the objective function. In the model, lunch break was considered for nurses at patients’ homes. The branch and bound (B&B) algorithm was used to solve the model, and tabu search and label correction algorithms were also used to solve the subproblems. As Rest and Hirsch [48] assumed nurses used public transportation, travelling times between patients can be affected by traffic and rush hour, depending on the nurse’s movement time between patients. Dynamic programming was used to calculate the travel time. For solving a single-day problem with uncertain service times, Yuan et al. [49] proposed a branch-and-price algorithm. By assigning a dummy demand and capacity to clients and nurses, a new formulation was developed to describe nurses’ qualifications. As nurses use different vehicles for displacement, Hiermann et al. [50] assumed that the time it takes to travel between two places depends on the type of vehicle. In order to solve the problem, a two-stage approach was used. In the first stage, constraint programming or random procedures were used to provide exact solutions, and in the second stage, VNS, memetic algorithms, scatter searches, or simulated annealing hyper-heuristics were used to improve the initial solutions. Wirnitzer et al. [51] presented a model that considers five different measures of continuity of care when considering a problem. On the basis of these five measures, five MIP models were introduced for monthly home health care. Mosquera et al. [52] introduced flexible task durations as their main contribution. As a result of this concept, a greater number of tasks can be accomplished more quickly. The time of each task was assumed to be limited with an upper and lower bound. A higher priority was given to tasks which duration could be reduced because of their medical nature. For HHC centres, Lin et al. [53] proposed two models that considered rostering, routing, and re-rostering simultaneously. In the first model, rostering and vehicle routing were incorporated simultaneously, while, in the second model, nurse re-rostering was considered because of sudden incidents (such as patient-specific visit times, nurse absences, etc.). Yuan et al. [54] considered that travel times and service times are stochastic. Minimizing the expected travel costs, considering the penalty for uncovered customers, and, also, unexpected failure costs were considered. In the case of a nurse arriving late to a patient’s home, the visit will be cancelled, and the nurse will go to the next patient. An approximation method was presented to obtain probability distributions for nurses’ arrival times.
There is a difference in the qualification level of nurses who are sent to patients’ homes. In addition to providing medical services, nurses provide psychological counselling and speech therapy, take samples of patients, and perform physiotherapy, as well as help with daily tasks, such as cleaning the house, taking a bath, and making meals. There are different approaches to considering this feature in the problem. In most papers similar to Mankowska et al. [55] and Carello and Lanzarone [56], the parameter was defined as 0 and 1 to consider qualification. The parameter is equal to 1 if the nurse qualifies to do the task; otherwise, it is 0. In Hiermann, Prandtstetter, Rendl, Puchinger, and Raidl [50] and Trautsamwieser and Hirsch [44], a number was allocated to nurse and patient as the qualification level. A nurse could visit a patient if the number assigned to him/her was equal to or greater than the number assigned to the patient. Fikar and Hirsch [57] considered a boundary for the differences between these two numbers. Khodabandeh et al. [58] developed a model for routing and scheduling nurses by downgrading the cost aspects of the problem by minimizing the difference between the nurses’ potential skills and their actual service plans. Another aspect of the problem is taking into account nurses’ and patients’ preferences. Nurses’ preferences include setting a time window for nurses’ availability, limiting working hours for nurses over a period of time, distributing tasks equally among nurses, rejecting patient visits, and limiting hard tasks.
Temporal dependencies between different tasks are another feature of the HHC problem. As an example, a patient should take medicine before eating at a specific time. Normally, a maximum and minimum time interval is considered between these two tasks. According to Mankowska, Meisel, and Bierwirth [55], some tasks have temporal dependencies (maximum and minimum durations). An example is taking medicine before or after eating a meal and for a minimum or maximum period of time. A new matrix presentation method was also provided. The rows of the matrix represent nurses, and the columns represent patients. Particularly in tasks with temporal dependencies, this method of presentation is appropriate. Based on constraints such as time dependence between tasks and nurses’ qualifications, Rasmussen et al. [59] modelled the problem as a set portioning problem. A branch and price method was presented to solve the model. The objective function was minimizing unvisited tasks (based on their priority) and total travel distance and also to fulfill nurses’ preferences. Two nurses must work simultaneously if these two numbers are equal to zero. For example, two people require two people to take a bath for a patient who is overweight or physically disabled. A generalized soft time window concept for synchronization constraints was developed by Rasmussen, Justesen, Dohn, and Larsen [59]. In the case of tasks that need two nurses simultaneously, there may exist a gap between the arrival time of the two nurses. According to the gap between the arrival times of the two nurses, a penalty was considered in the objective function. There is a detailed description of synchronization for VRP problems in [60].
Another aspect of HHC is the sampling and delivery of samples to laboratories [13,61,62,63]. The importance of drug distribution and medical equipment during COVID-19 has been discussed in many papers [64,65]. Shi, Boudouh, and Grunder [63] studied medicine delivery from depot to patients, sample collection from patients, and transportation from patients to labs based on the capacity and time window. It was considered that each patient’s medication dose was nondeterministic. Since each vehicle has a limited capacity, if the patient needs more medicine, the nurse returns to the depot, takes what is needed, and goes back to the patient’s house. In order to deal with uncertainty, a fuzzy chance-constrained programming approach was proposed. Goodarzian et al. [66] presented a bi-objective model minimizing service time and cost. A maximum working time per day was also considered to balance nurses’ working time. However, in this paper, the hospital and the laboratories were the starting and ending points. There was no consideration of sample delivery time to the laboratory. The problem was modelled as a simultaneous delivery and pickup time window vehicle routing problem by Liu, Xie, Augusto, and Rodriguez [61]. Various demand types were considered, including medicine transfer from the depot to the patient, special medicine transfer from the hospital to the patient, and transporting samples and unused medicine from the patient’s home to the medical lab and depot. In order to solve problems of large dimensions, GA and TS algorithms were presented due to the complexity of the presented model and the inability of Cplex to reach a solution in a reasonable amount of time. Liu, Xie, and Garaix [62] considered bringing medicine to patients’ homes and collecting samples from patients. However, dissimilar to a previous paper, the vehicles were assumed to be unlimited. Each patient’s visiting days were determined, and nurse routing and scheduling were determined for each day. Tabu search was used with feasible and unfeasible local searches to solve the problem. This method involves a vehicle picking up nurses and delivering them to their destination. Fathollahi-Fard et al. [67] proposed a supply chain for home health care that encompassed multi-objectives, multi-depots, and multi-periods. Their model considered the environmental impact and CO2 emissions. It was assumed by each patient that only one pharmacy should be assigned to them. To solve the problem, modified simulated annealing algorithms were proposed.
Uncertainty, as well as decision-making, regarding some policies is an inherent feature of problems taken from the real world. The problem discussed in this paper is not an exception to this rule. To make decisions about some policies in the field of HHC, it is necessary to evaluate these decisions in a process and then agree on them. In the process of reaching this consensus, it is necessary to coordinate between different points of view. In [68], a mathematical model was proposed to reach an agreement under conditions of uncertainty. In addition, in [69], mixed-integer robust maximum expert consensus models were proposed. To solve the proposed model, an improved Genetic Algorithm (GA) is proposed.
A summary of the main features of the problem was presented by the papers reviewed in the previous section. As a result, some aspects of the problem that have not been studied before were considered in this study. The following are some of these features:
  • The delay in carrying some of the samples to the laboratory may affect the test results as well; therefore, in this paper, the time taken to transfer samples from the patient’s home to the laboratory is taken into consideration. The delivery of samples and medications has received less attention, as shown in Table 1.
  • When two nurses are needed for a task at the same time, nurses’ preferences for working together are taken into account. Two nurses who work at a patient’s home for different reasons may not want to work together. Additionally, due to the greater coordination between two nurses, it may be wise to send two particular nurses for a task. This task is done according to the affinity matrix concept, which was referred to by Wang et al. [70]. An approach is provided for determining a threshold to avoid the model’s infeasibility due to this constraint. The paper mentioned above described this method in detail.
  • It may be necessary to have two nurses with different degrees working simultaneously on tasks that require the presence of two nurses. For instance, if the presence of a nurse and a doctor is required simultaneously. In order to consider this situation, a number is assigned to nurses, along with the task that should be carried out by two nurses. Two nurses can complete that task if the sum of their assigned numbers is equal to the number that is assigned to the task.
  • An integer programming model is presented in this paper for a home health care problem based on different features of the problem. Two metaheuristic algorithms are proposed for solving large instances: Genetic Algorithms and Particle Swarm Optimization.
In Table 1, the main characteristics of the problem are summarized.
Table 1. Constraints and assumptions considered in the related works.
Table 1. Constraints and assumptions considered in the related works.
AuthorNursePatient/TaskOthers
QualificationpreferencesTime WindowsBreaksWorkload BalanceTemporal DependenciesPreferencesTime windowsContinuity of CareMultimodalPeriodUncovered TasksSamples/Drugs DeliveryData SetSolution Procedure
Liu, Xie, Augusto, and Rodriguez [61]         Single BenchmarkGenetic Algorithm/Tabu Search
Bard, Shao, and Jarrah [46]  Multi Random data/Real-life dataSequential greedy randomized adaptive search procedure
Mankowska, Meisel, and Bierwirth [55]      Single  Random generatedAdaptive Variable Neighbourhood Search
Braekers et al. [71]     Single  Real-life dataLarge neighbourhood search
Liu, Yuan, and Jiang [47]      Single Benchmark/Real life databranch-and-price
Shi, Boudouh, and Grunder [63]         Single BenchmarkFuzzy credibility theory
Decerle et al. [72]      Single  Benchmark/Real life dataMemetic algorithm
Lin, Hung, Liu, and Tsai [53]      Multi  Real-life dataHarmony search algorithm
Parragh and Doerner [73]       Single  BenchmarkAdaptive Variable Neighbourhood Search
Yuan, Liu, and Jiang [54]         Single Random dataBranch-and-price
Fathollahi-Fard, Govindan, Hajiaghaei-Keshteli, and Ahmadi [67]         MultiBenchmarkSimulated annealing algorithms
Grenouilleau et al. [74]   Multi Real-life dataLarge neighbourhood search
Decerle et al. [75] Multi BenchmarkMemetic algorithm
Mosquera, Smet, and Berghe [52]   Multi  Real-life dataLocal search algorithm
Decerle et al. [76] Single  BenchmarkMemetic algorithm/Ant colony optimization
Fathollahi-Fard et al. [77]  Multi BenchmarkNon-dominated sorting GA (NSGA-II), Adaptivememory SEO
This Paper    Single A case studyGenetic Algorithm/Particle swarm optimization

3. Problem Statement

3.1. Assumptions and Problem Definition

Multiple nurses with varying qualifications work in patient homes under the HHC model. Depending on the patient’s condition, more than one task may be required on a given day. Each nurse should reach the final destination after performing a series of tasks. Nurses can start at different points. Additionally, each nurse’s final point and starting point can be different from another nurse’s. According to the formulation, all these points may coincide. Nurses are only available during certain hours. Throughout the day, each patient may have different requests. Each of these requests is considered a task. If there is no relation between them, they will be considered two completely separate tasks. There may also be temporal dependencies between tasks. d i j m i n and d i j m a x are the smallest and largest time distances between the start time of two tasks with temporal dependencies, respectively. In a situation that needs two nurses to do a task simultaneously, it will be d i j m i n = d i j m a x = 0 . It may be necessary for two nurses to be present at the same time, but their qualifications may differ. For tasks requiring the simultaneous presence of two nurses, each nurse is assigned a grade. The grade to each nurse is shown with g r i and related grade to tasks by g r i . Nurses can be sent to do the same work simultaneously if the sum of their related grades is equal to the grade of the requested task. For tasks that require two nurses to be present simultaneously, nurses’ preferences are also taken into account. Some samples must be taken to laboratories during a set period of time, so there is an assumption that there is a contract with several laboratories in the city for transferring patients’ samples. The main variables of the problem are the starting time and waiting time. The objective function determines these variables in order to minimize the total amount of time nurses spend on work, which improves nurses’ satisfaction and reduces their costs. The notations are summarised in Table 2.

3.2. Notations

3.3. Mathematical Formulation

In this study, a new mathematical model for home health care is developed with the following aspects.
M i n 𝓸 O   , I L 𝒮 1 S 0
𝒾 J O , 𝓃 N X 𝒾 𝒿 𝓃 = 1                     𝒿 J
𝓸 O , 𝒿 J X 𝓸 𝒿 𝓃 1   ,               n N
𝒿 J   ,     I L X 𝒿 𝓁 𝓃 1 ,     𝓃 N
𝒾 J O   , 𝓃 N X 𝒾 𝒿 𝓃 = 𝓀 J L , 𝓃 N X 𝒿 𝓀 𝓃 ,   𝒿 J
𝓀 L   𝒶   𝒷   , 𝓃 N X 𝒾 𝓀 𝓃 𝒿 J O , 𝓃 N X 𝒿 𝓀 𝓃 ,   𝒿 J 𝓁 𝒶 𝒷
μ 𝒾 𝒿 S 𝒿 S 𝒾 + μ 𝒿 𝒾 S 𝒾 S 𝒿 𝒹 𝒾 𝒿 𝓂 𝒾 𝓃 M 2 𝓀 J O , 𝓃 N X 𝒽 𝒾 𝓃 𝒽 J O , 𝓂 N X 𝓀 𝒾 𝓂 ,   𝒾 , 𝒿 J 𝓅 𝓇
μ 𝒾 𝒿 S 𝒿 S 𝒾 + μ 𝒿 𝒾 S 𝒾 S 𝒿 𝒹 𝒾 𝒿 𝓂 𝒶 𝓍 M 2 𝓀 J O , 𝓃 N X 𝒽 𝒾 𝓃 𝒽 J O , 𝓂 N X 𝓀 𝒾 𝓂 ,   𝒾 . 𝒿 J 𝓅 𝓇
S 𝒾 S 𝓀 M ( 1 𝓃 N X 𝒾 𝓀 𝓃 ) 𝓉 𝒾 𝓂 𝒶 𝓍 𝓃 N X 𝒾 𝒽 𝓃   , 𝒾 J 𝓁 𝒶 𝒷 , 𝓀 𝓁 𝒶 𝒷
S 𝒿 S 𝒾 + w 𝒿 + 𝒹 𝒾 + 𝓉 𝒾 𝒿 𝓃 N X 𝒾 𝒿 𝓃 ) M ( 1 𝓃 N X 𝒾 𝒿 𝓃   , 𝒾 J O , 𝒿 J L
A 𝒿 S 𝒿 B 𝒿 , 𝒿 J 𝓁 𝒶 𝒷
S 𝓸 𝒶 𝓸 𝒿 J , 𝓃 N 𝓸 𝒿 𝓃 , 𝓸 O  
s I 𝒷 I 𝒿 J , 𝓃 N X 𝒾 𝓁 𝓃 , I L
𝓀 J O , 𝓃 N 𝓍 𝓀 𝒾 𝓃 𝓇 𝓃 + 𝓀 J O , 𝓂 N X 𝓀 𝒿 𝓃 𝓇 𝓂 = 𝓇 𝒿   , 𝒾 , 𝒿 J 𝓅 𝓇 ; μ 𝒾 , 𝒿 = 1
𝓀 J O 𝓍 𝓀 𝒾 𝓃 + 𝓀 J O 𝓍 𝓀 𝒿 𝓂 1 𝓅 𝓇 𝓃 𝓂 , 𝒾 , 𝒿 J 𝓅 𝓇 ; μ 𝒾 , 𝒿 = 1 , 𝓃 , 𝓂 N  
W 𝒿 W M 𝒶 X , 𝒾 J
𝒾 J O , 𝒿 J 𝓍 𝒾 𝒿 𝓃 𝒹 𝒿 D 𝓂 𝒶 𝓍 , 𝓃 N
𝓍 𝒾 𝒿 𝓃   𝓂 𝒶 𝓍 𝓆 𝒾 𝓃 , 𝓆 𝒿 𝓃 ,   𝒾 , 𝒿 J L 𝒶 𝒷 O L , 𝓃 N
𝓍 𝒾 𝒿 𝓃 0 , 1 , 𝒾 , 𝒿 J L 𝒶 𝒷 O L , 𝓃 N
𝓌 𝒿   0 ,   𝒿 J L 𝒶 𝒷 L
The objective function minimizes the total amount of time nurses spend working. A Constraint (2) ensures that all tasks are completed. According to the third and fourth constraints, each nurse must begin his/her work at the origin and then proceed to the final destination. Constraint (5) is the flow conservation constraint. Constraint (6) ensures that, if a nurse goes to a patient’s home to take a sample, she immediately goes to a lab. To prevent the nurse from taking samples to the homes of other patients, these constraints were put in place. In Constraints (7) and (8), there is a time relation between tasks in which there are temporary dependencies between them. As a result of Constraint (9), the sample will not be taken to the laboratory after the acceptable time has passed. Travelling time between the first and second tasks and waiting time for the second task are expressed in Constraint (10) as the relationship between the starting time of two consecutive tasks and the duration of the first task. Constraints (11)–(13) relate to nurses’ and patients’ time windows. Two nurses can be sent to a patient’s home simultaneously if the sum of their qualifications is equal to the degree assigned to the task. If two nurses want to work together, Constraint (15) allows them to do simultaneous tasks. The waiting time is limited by Constraint (16). Constraint (17) limits how much time each nurse spends on different patients. According to Constraint (18), a nurse will be assigned to a task if he/she is qualified to perform it, and the nurse’s and patient’s preferences should also be taken into consideration. The variable domains are defined by Constraints (19) and (20).

4. Solution Approach

Based on a real case, various examples were generated to analyze the presented model. Using GAMS, small examples were solved. It is always time-consuming to use exact methods [78,79,80]. As a result, meta-heuristic algorithms were required due to the high complexity of the problem. The proposed algorithms for this problem are explained and justified in the following.

4.1. Genetic Algorithm

There are many applications for Genetic Algorithms in routing and scheduling problems, e.g., [81,82]. There is also evidence that GA performs well in complex problems, particularly combinatorial optimization problems [39,83,84]. Some advantages of Genetic Algorithms are ease of use, the improvement of results over successive iterations, and the ability to escape local optima. It does not require any information about the function and the fact that it is suitable for large-scale optimization problems [85]. In Genetic Algorithms, points in the solution space are represented by chromosomes. In a meta-heuristic algorithm, one of the most important features is how solutions are presented. Genetic Algorithms are population-based; therefore, the way they display the solution should not take up more computer memory. In addition, each chromosome should correspond to a single point. Figure 1 shows a solution to a problem with 10 tasks and five nurses.
Decoding chromosomes and transforming them into one point of solution space is one of the most important aspects of showing the solution. Regarding assigning nurses to tasks, according to Figure 1, the assignment is as follows: nurse 1 to tasks 1 and 6; nurse 2 to tasks 2, 3, and 10; nurse 3 to tasks 5, 7, and 8; and nurse 4 to tasks 4 and 9. Additionally, in this chromosome, nurse 5 is unemployed. The arrangement of tasks that a nurse should do is specified according to the lower bound of the time window. For example, in the specified chromosome in Figure 1, the arrangement of tasks that should be done by nurse 3 will be 5, 8, and 7 if the lower bound of the time window in the specified task is A 𝒿 = 20 ,   10 ,   50 ,   30 ,   40 ,   80 ,   90 ,   70 ,   60 ,   100 . Considering that there are different assumptions and constraints in the problem, the chromosomes and decoding process are designed so that some of the problem assumptions such as the establishment of the time windows lower bound for nurses and tasks and minimum time distance between two tasks that have precedence are always held. For other constraints of the problem, the repair and penalty mechanisms are used. This algorithm directs the related nurse to the nearest laboratory after completing each of these tasks. As a result, laboratories are not considered in the chromosome design, and the maximum amount of time a sample can spend in the laboratory is always considered. The three-stage decoding process of a chromosome is briefly described in this section:
  • Initial scheduling
Step 1: Sort all tasks according to their lower bound of the time window ( A 𝒿 ).
Step 2: In a sorted array, for each task = 1: N 𝒿 repeat step 3 (to calculate the arrival time of nurse n to task 𝒿 , 𝓈 𝒿 , 𝓃 and step 4 (to calculate starting time of task 𝒿 by nurse 𝓃 , 𝓉 𝒿 , 𝓃 . In the following equations, 𝓉 𝓉 𝒾 , 𝒿 is the travelling time from node 𝒾 to node 𝒿 , 𝒹 𝒾 is the duration of task 𝒾 , and 𝒶 𝓃 is the lower bound of the time windows for the nurse 𝓃 . Additionally, J L a b is the set of tasks that requires sampling.
Step3:
𝓈 ( 𝒿 , 𝓃 ) = M a x A ( 𝒿 ) , 𝓉 𝓉 ( 𝓃 , 𝒿 ) + 𝒶 ( 𝓃 ) , i f   t a s k   𝒿   i s   t h e   f i r s t   t a s k   o f   n u r s e   𝓃   a n d   t h e r e   i s   n o   p r e r e u i s i t e   f o r   t a s k   𝒿 M a x A ( 𝒿 ) , 𝓉 𝓉 ( 𝓃 , 𝒿 ) , 𝓃 = 1 N 𝓃 𝓉 ( 𝒾 , 𝓃 ) + 𝒹 𝒾 𝒿 m i n , i f   t a s k   𝒿   i s   t h e   f i r s t   t a s k   o f   n u r s e   𝓃   a n d   t a s k   𝒾   i s   p r e r e q u i s i t e   t a s k   𝒿 𝓉 𝒾 , 𝓃 + 𝒹 𝒾 + 𝓉 𝓉 𝒾 , 𝒿 , e l s e i f ( t a s k   𝒾   w a s   d o n e   b e f o r e   t a s k   𝒿   b y   n u r s e   𝓃   a n d   𝒾 J L a b 𝓉 𝒾 , 𝓃 + 𝒹 𝒾 + 𝓉 𝓉 𝒾 , L a b + 𝓉 𝓉 L a b , 𝒿 ,   e l s e i f ( t a s k   𝒾   w a s   d o n e   b e f o r e   t a s k   𝒿   b y   n u r s e   𝓃   a n d   𝒾 J L a b
Step 4:
𝓉 𝒿 , 𝓃 = M a x A 𝒿 , 𝓈 𝒿 , 𝓃 i f   t a s k   𝒿   d o   n o t   h a v e   a   p r e r e q u i s i t e M a x A 𝒿 , 𝓈 𝒿 , 𝓃 , 𝓃 = 1 N 𝓃 𝓉 𝒾 , 𝓃 + 𝒹 𝒾 𝓃 m i n e l s e   t a s k   𝒾   i s   p r e r e q u i s i t e   t a s k   𝒿
The arrival times of each nurse are calculated in step 3. It is calculated based on the dependency between the tasks, as well as their category. A starting time is also calculated in step 4. If the desired task does not have prerequisites, the starting time is determined according to the lower bound of the task’s time window and the arrival time of the nurse.
2.
Rescheduling one
According to the above procedure, nurses’ departure times are as soon as possible, so waiting times are likely to increase. In order to correct the starting time of each nurse’s tour, the following procedures will be followed. In this regard, nurses are classified into two categories: dependent and independent. Nurses who are independent are those whose tasks do not require any prerequisites. The indicator (floating) for each independent nurse is defined as follows. Based on waiting times and upper limits of the task time windows, the indicator is calculated.
S N 𝓃 = M i n max 𝒿 W 𝒿 , 𝓃 , m i n max 𝒿 0 , B 𝒿 𝓉 𝒿 , 𝓃
W 𝒿 , 𝓃 is the waiting time of nurse 𝓃 at task 𝒿 after determining the floating of each independent nurse, and their arrival time to the first task as large as floating will be increased.
3.
Rescheduling two
Once the starting time of the independent nurses’ tour has been corrected, the dependent nurses’ schedule will be automatically corrected. As the starting time of dependent nurses has not been changed in the rescheduling one, since the nurses are spending longer waiting, floating dependent nurses are calculated by rescheduling dependent nurses and adjusting the independent nurses’ scheduling, so it will take as long for dependent nurses to start their tour as their floating increases. Genetic mutations can result in infeasible chromosomes, which are volatile problem constraints during reproduction. The penalty function and repair mechanism described below are used to deal with these infeasible chromosomes.

4.1.1. Initial Population Generation and Repair Mechanism

In this algorithm, the initial population is generated randomly. The genes in each chromosome are equivalent to tasks; start with the first gene and assign nurses randomly. It is important to note that assigning nurses to tasks requires several fundamental assumptions. To begin with, each task can only be handled by a group of nurses based on their abilities and patients’ preferences. As for the related tasks to a patient that should be done simultaneously by two individuals, only individuals who have both the qualifications and the desire to work together at the same time may be assigned these tasks, as well as those whose qualification degrees equal the required degree. Therefore, some of the generated chromosomes in the initial population generation process may not correspond to the problem assumptions. In order to resolve this issue, each chromosome generated will be repaired as follows:
  • Step 1: For all tasks = 1: N 𝒿 , if the assigned nurse to task 𝒿 does not qualify, choose one of the qualified nurses randomly and assign her to task 𝒿 .
  • Step 2: For each task that requires two people, determine the set of couples who are qualified and willing to cooperate, and the summation of their degrees is equal to the required degree. Go to step 3.
  • Step 3: For each task that requires two people, choose one suitable couple randomly.
Three sections of the algorithm use the repair mechanism, following the generation of an initial population and the generation of children using crossover and mutation operators.

4.1.2. Fitness Evaluation and the Penalty Function

A penalty function is used to handle infeasible solutions. During this process, infeasible chromosomes are not eliminated, but based on their deviation from the problem constraints, their penalty function will be worse, and their presence in the next generation will be reduced. These solutions should not be removed, because a small change made by a crossover or mutation may result in excellent objective functions for these chromosomes. Overall, the objective function of each chromosome equals the nurses’ total working time from the moment of departure from home to the moment of return. A number of constraints are not considered in the chromosome generation process, which could result in infeasible solutions. When a chromosome becomes infeasible, its objective function will increase by the following equation, where P is the penalty coefficient:
O F V = P 0 + P × P 1 + P 2 + P 3 + P 4 + P 5
According to the chromosome design and decoding process, some constraints and assumptions are always established, while others will be held by repair mechanisms. However, in the five cases below, there may be a chromosome that becomes an infeasible case that, under this circumstance, chromosomes take the amount P 1 P 5 . Consider a chromosome, if nurse 𝓃 starts task 𝒿 , after the upper bound of the time window ( 𝒷 𝒿 ), by the degree of deviation from 𝒷 𝒿 , p e n 1 𝒿 , 𝓃 is computed as below:
p e n 1 𝒿 , 𝓃 = M a x 0 , 𝓉 𝒿 , 𝓃 𝒷 𝒿 ; P 1 = 𝒿 = 1 N 𝒿 𝓃 = 1 N 𝓃 p e n 1 𝒿 , 𝓃
If task i is the prerequisite of task j, the time distance between the beginnings of those two tasks should be in the bound 𝒹 𝒾 𝒿 m i n .   𝒹 𝒾 𝒿 m a x . 𝒹 𝒾 𝒿 m i n is always considered in the decoding process, but about 𝒹 𝒾 𝒿 m a x , equal to a deviation of it, penalty p e n 1 𝒿 , 𝓃 is calculated as follows:
p e n 2 𝒾 , 𝒿 = M a x 0 , 𝓃 𝓉 𝒿 , 𝓃 𝓃 𝓉 𝒾 , 𝓃 𝒹 𝒾 𝒿 m a x ; P 2 = 𝒾 = 1 N 𝒾 𝒿 = 1 N 𝒿 p e n 2 𝒾 , 𝒿
Time that the nurse n waits to do task 𝒿   𝓌 𝒿 , 𝓃 should be lower than 𝓌 m a x . Otherwise, p e n 3 𝒿 , 𝓃 is computed as below:
p e n 3 𝒿 , 𝓃 = M a x 0 , 𝓌 𝒿 , 𝓃 𝓌 m a x ; P 3 = 𝒿 = 1 N 𝒿 𝓃 = 1 N 𝓃 p e n 3 𝒿 , 𝓃
Each nurse should complete his/her task before a specific time 𝒷 𝓃 and goes to his/her destination. If the time of his/her arrival to the final destination ( 𝓈 𝓃 , 𝓃 ) is more than 𝒷 𝓃 , p e n 3 𝓃 is computed as below:
p e n 4 𝓃 = M a x 0 , 𝓈 𝓃 , 𝓃 𝒷 𝓃 ; P 4 = 𝓃 = 1 N 𝓃 p e n 4 𝓃
The time of each nurse’s activity (total time of servicing to different tasks), 𝓉 𝓈 𝓃 should be lower than D m a x . Otherwise, p e n 5 𝓃 is computed as below:
p e n 5 𝓃 = M a x 0 , 𝓉 𝓈 𝓃 D m a x ; P 5 = 𝓃 = 1 N 𝓃 p e n 5 𝓃

4.1.3. Crossover and Mutation Operators

The crossover operators are used to generate children during the solution space search. The algorithm uses the Crossover one-cut-point operator and the Crossover two-cut-point operator to generate two children using two parents as follows:
Crossover procedure:
Step 1: Select two chromosomes P 1 = 𝓅 1 1 , , 𝓅 𝓃 1 and P 2 = 𝓅 1 2 , , 𝓅 𝓃 2 as parents.
Step 2: Generate a random number r between 0 and 1; if 𝓇 < 0.5, go to step 3 (one-cut-point); otherwise, go to step 4 (two-cut-point).
Step 3: A position i between 1 to N 𝒿 -1 is chosen randomly, and two offspring O 1 and O 2 are generated; O 1 = 𝓅 1 1 , , 𝓅 𝒾 1 , 𝓅 𝒾 + 1 2 , , 𝓅 𝓃 2   and   O 2 = 𝓅 1 2 , , 𝓅 𝒾 2 , 𝓅 𝒾 + 1 1 , , 𝓅 𝓃 1 .
Step 4: Two positions: 𝒾 and 𝒿 between 1 and N 𝒿 -1 are chosen randomly ( 𝒾 < 𝒿 ), and two offspring O 1 and O 2 are generated; O 1 = 𝓅 1 1 , , 𝓅 𝒾 1 , 𝓅 𝒾 + 1 2 , , 𝓅 𝒿 2 , 𝓅 𝒿 + 1 1 , , 𝓅 𝓃 1   and   O 2 = 𝓅 1 2 , , 𝓅 𝒾 2 , 𝓅 𝒾 + 1 1 , , 𝓅 𝒿 1 , 𝓅 𝒿 + 1 2 , , 𝓅 𝓃 2 . .
If P 1 and P 2 are two selected parents, O 1 and O 2 are two generated children, and a sample of the one-cut-point and two-cut-point operators is demonstrated in Figure 2.
Three types of mutation operators with equal probability are used to search for solution space and generate new solutions. By using the SWAP operator, two genes are randomly selected from one chromosome, and their amounts are supplanted with each other, producing a new solution point. A section of chromosome is randomly selected, and its genes amounts are sorted inversely in the inversion operator. Additionally, in a uniform operator, P 𝓊 % of the related chromosome genes are selected, and their amount will be supplanted by a random value between 1 and N 𝓃 , where N 𝓃 is the number of nurses, and Pu is one of the algorithm parameters that can take every value between 0 and 1. For example, in Figure 3, if parent P is selected, O 1 , O 2 ,   and   O 3   are children that can be produced by each of three types of above mutations. As it is observed, each of these operators can create different changes in the parent chromosome and create a high capability to search the solution space in the regarded algorithm.

4.1.4. Creating the Next Generation

Children are generated by crossovers and mutations, and then, some chromosomes are selected for the next generation. This can be accomplished through the use of two methods, elitism and the roulette wheel. All chromosomes are arranged according to their objective functions, and then, predetermined numbers of the best ones are selected for the next generation. The remaining members of the next generation are selected by using a roulette wheel selection that assigns a probability to each chromosome based on its fitness function. Therefore, chromosomes that have a higher fitness have a greater chance of being selected for the next generation. The following pseudocode can be used to represent the structure of the GA:
Genetic Algorithm (GA) 
 The initialization of solutions and the required parameters of the algorithm. 
Set  φ = 1 ;  
Evaluate the fitness of solutions; 
 while the iteration   φ   φ m a x ; 
  Generating new solutions using a crossover operator;
  Mutate some chromosomes randomly;
  Evaluate the objective values of the newly generated solutions;
  Generate the population for the next generation by selecting operator;
  φ = φ + 1 ;
 end; 
 Return the most optimal solution. 
     

4.2. PSO Algorithm

The PSO algorithm is a population-based random search method that was introduced by Eberhart and Kennedy [86], which originally was designed to solve continuous optimization problems. PSO is a widely used optimization algorithm for dealing with complex problems. There are several advantages to the PSO algorithm, including: a small number of algorithm parameters, the ability to parallelize it, and the ability to process it concurrently. It is an efficient global search algorithm. A thorough survey of the PSO algorithm with emphasis on the recent improvements can be found in [87]. This algorithm has also been proven to be efficient in routing and HHC problems in several papers [88].
The population and the potential solution are called swarm and particle, respectively. A particle has two major components; its speed and position, which are defined by the following equations:
𝓋 𝒾 𝓀 + 1 = C ( 𝓌 . 𝓋 𝒾 𝓀 + 𝒸 1 𝓇 1 ( p b e s t 𝒾 𝓍 𝒾 𝓀 ) + 𝒸 2 𝓇 2 ( g b e s t 𝓍 𝒾 𝓀 ) )
𝓍 𝒾 𝓀 + 1 = r o u n d ( 𝓍 𝒾 𝓀 + 𝓋 𝒾 𝓀 + 1 )
Here, 𝓍 𝒾 𝓀 and 𝓋 𝒾 𝓀 are the position and the speed of the   𝒾 th particle in the   𝓀 th iteration. The best particle 𝒾 , which is obtained until iteration 𝓀 , is shown by p b e s t 𝒾 and the best particle among all particles, which is obtained, is shown by g b e s t ,   𝓌 , 𝒸 1 , and   𝒸 2 are the inertia weight factor and acceleration coefficients, respectively. Additionally, 𝓇 1 and 𝓇 2 are two random numbers from (0,1). In the PSO approach, the move equations provide real, continuous values for the particle’s position, and since the solution space of this problem is discrete, the round function is used in Equation (31). Exploration requires a large inertia weight, while exploitation requires a smaller value. Therefore, to have a well-balanced inertia weight factor, the concept of a time-varying inertia weight factor was introduced in [89] and is given by the following expression:
𝓌 = 𝓌 m a x ( 𝓌 m a x 𝓌 m i n ) × 𝓀 i t e r m a x
where 𝓌 m a x and 𝓌 m i n are the initial and final weight factors, i t e r m a x is the maximum number of iterations, and 𝓀 is the current iteration number. Usually, 𝓌 m a x = 0.9 , 𝓌 m i n = 0.4 , and 𝓌 varies between 𝓌 m a x and 𝓌 m i n . In Equation (30), C is the constriction factor. The acceleration of convergence of the algorithm is improved by C , [90] and [91], and is given by:
C = 2 2 φ φ 2 4 × φ ,                 φ = 𝒸 1 + 𝒸 2 > 4
To avoid a PSO rush premature convergence, the concept of craziness was introduced in [92] by applying a certain probability and randomizing the velocity of some of the particles. The probability ρ 𝒸 𝓇 is a function of inertia weight and defined as follows:
ρ 𝒸 𝓇 = 𝓌 m i n exp ( 𝓌 𝓀 𝓌 m a x )
where 𝓋 𝒿 𝓀 = r a n d 0 , 𝓋 m a x if ρ 𝒸 𝓇 r a n d 0 , 1 and 𝓋 𝒿 𝓀   otherwise. The following pseudocode can be used to represent the structure of the PSO:
Particle Swarm Optimization (PSO)
 The initialization of solutions and the required parameters of the algorithm.
 Set  φ = 1 ;
 Evaluate the fitness of solutions;
 while the iteration φ   φ m a x ;
  Update velocity and position of the particles using V i φ = w V i φ 1 + c 1 r 1 p b e s t i φ 1 X i φ 1 + c 2 r 2 g b e s t φ X i φ 1 and X i φ = X i φ 1 + V i φ ;
   Evaluate the objective values of the particles;
   Update the personal best positions;
   Update the global best position;
  φ = φ + 1 ;
 end;
 Return the most optimal solution.

5. Numerical Examples

This section presents used instances in the first section. Afterwards, the parameters for the proposed algorithms are set, and the results are obtained using Cplex, and the proposed algorithms are compared. After that, the parameters of the model will be thoroughly analysed. The final section discusses managerial insight.

5.1. Case Study and Required Data

A growing body of evidence supports the benefits of home health care. A wide variety of countries have experienced an increase in the demand for home health care services in recent years. Medical and social assistance needs are growing everywhere, but they are especially acute in countries where the average age of the population is rising and urbanization is accelerating. Tehran, Iran’s capital and largest city, has seen a number of medical service providers offering home health care services as a way to increase their patient base. In order to conduct this research, we collected information from these providers. Due to the sensitive nature of certain pieces of information, such as patient counts and addresses, these patients’ locations were randomly generated. This centre provides basic care at home for patients and elderly people, such as physical therapy exercises, medical tests, and monitoring medicines used by patients. Nursing services are provided by nurses according to their skill level in this centre. Some patients prefer to have a special nurse (based on the nurse’s gender or age) sent to them. In addition, some nurses do not prefer to work together because of cultural and social reasons. According to the literature, the above model takes into account the issues mentioned above, as well as some other aspects of the problem. Additionally, several local laboratories were considered as possible delivery points for the samples. The distance information was also retrieved from Google Maps. The location of the case study is shown in Figure 4.
According to the case, 30 problems were generated. There were three types of problems: small (instances: 1–14), medium (instances: 15–20), and large (instances: 21–30). Table 3 presents the features of each problem. Small-scale and medium-scale analyses of the model were performed using GAMS, while a large-scale analysis was carried out through metaheuristic algorithms. MATLAB was used to implement the algorithms, and a PC with a 1.80 GHz CPU and 6 GB of RAM was used to run them.

5.2. Parameters Setting

To tune the parameters of the proposed algorithms, an orthogonal experiment is conducted with a different set of parameters. In the GA, four parameters are selected as control factors: population size, crossover probability, mutation probability, and maximum iteration number, with three levels for each. For the PSO algorithm, four parameters with three levels are considered: maximum iteration number, swarm size, and the 𝒸 1   and   𝒸 2 coefficients.
For both cases, the signal-to-noise (S/N) ratio is used to find the optimum level of controllable parameters. For the proposed problem, the smaller-the-better objective function in the Taguchi method is used. In Table 4, the levels of the parameters and their values are presented. The value of the signal-to-noise ratio is obtained by the following equation:
S / N = 10 × l o g ( 𝒾 = 1 𝓃 Y 𝒾 2 𝓃 )
where 𝓃 is the number of orthogonal arrays, and Y 𝒾   is the response value for the ith orthogonal array. The signal-to noise graphs are shown in Figure 5.
Based on the Taguchi method, the best values and levels of the parameters are given in Table 5.

5.3. Results

A comparison of the solved instances using the proposed algorithms and Cplex is presented in Table 6. Since this problem is NP-hard, it can only be solved by Cplex software for small and medium instances. Cplex stops solving problems when the gap reaches 0.3 and the running time reaches 2, 5, and 10 for small, medium, and large problems, respectively. Since these algorithms are based on a random search of the solution space, there is no guarantee that the answers will be the same, regardless of their performance. Metaheuristics are run ten times for small and medium problems and five times for large problems. “The Best” column displays the best solution obtained in different algorithms, while “The Average” column displays the average objective function of each instance. This column represents the relative gap between the best-obtained solution of the proposed algorithms and the exact solution. A lower value indicates an algorithm with a greater efficiency.
G A P = B e s t A l g o r i t h m B e s t C P L E X B e s t C P L E X × 100
According to Table 6, the proposed algorithms reach near-optimal solutions for the small and medium examples in a reasonable amount of time. Moreover, the proposed algorithms reached the solution in a reasonable amount of time for the large examples, where Cplex failed to reach the solution after 10 h. In almost every case, GA performed better than PSO. An illustration of the results can be found in Figure 6. It should be noted that, in some cases, the proposed algorithms provided better answers than Cplex. This is due to Cplex’s terminal stop condition to solve the problems.

6. Sensitivity Analysis

In order to evaluate the performance of the proposed model, a sensitivity analysis is conducted on a number of parameters. For this purpose, one instance is selected. The number of laboratories contracted by the home care centre is an important parameter. Due to the importance of maintaining social distancing, medical tests conducted at patients’ homes and transported to laboratories are some of the most important aspects of COVID-19. In this example, four patients must be sampled. Suppose this centre only has one laboratory contract, then increase the number of laboratories to two, four, six, and eight. This problem runs for two hours. For an increased number of laboratories, Figure 7 illustrates how the objective function behaves. As the number of contracted laboratories increases, the objective function behaviour decreases completely. Even after increasing the number of laboratories to eight, Cplex could not solve the problem in 10 h. To prevent computational problems associated with an increase in laboratories, an upper bound should be considered for laboratories that contract with home care centres. In the case of a considered instance with 60 tasks and only 4 requiring sampling, selecting more laboratories to send samples can significantly reduce nurses’ work time.
As a next step, the total working time of each nurse in the patient’s home is changed, and its effect on the objective function and the number of nurses performing tasks is evaluated. At first, each nurse’s total working time in patients’ homes is 100 min, and then, it is decreased by 10 min each time. This problem becomes infeasible when the amount is between 10 and 20. As shown in Figure 8, the objective function increases when decreasing the total nursing time at patients’ homes. Additionally shown in Figure 9 is an approximately linear increase in the number of nurses employed.
In the following section, we examine the impact of the end time 𝒷 𝓃 on the objective function. The nurses’ availability is first assumed to be 8 a.m. to 10 p.m.; then, it is decreased by 80 min at each stage. Cplex stops solving problems after 30 min of running time. In Figure 10, we can see how the objective function changes as 𝒷 𝓃 decreases. The problem was not solved by Cplex within the specified time frame while reducing (case 9).
In the following section, we examine the effect of tasks’ time windows on the objective function. Every step adds 10 units to the initial value of the time window ( A 𝒿 ) and subtracts 10 units from the final value ( B 𝒿 ). Cplex stops solving problems after 30 min in all cases. Figure 11 shows how the objective function changes with a reduction in the task time windows. Figure 11 illustrates the general trend of changes in the objective function as the task time window is reduced. As the problem was relatively small, this parameter is expected to have a greater impact on large-scale problems. The last case (case 7) is unfeasible.
Finally, we examine how the task duration affects the objective function. A total of 45 tasks are involved in the problem. At each step, each task takes 3 min longer. A terminal stop condition is reached after 30 min of running the Cplex to solve problems. As the task duration increases, Figure 12 shows how the objective function behaves.

7. Discussion and Managerial Insights

In the model discussed in this paper, nurses’ preferences for working with each other were examined. The delay in sending the sample to the laboratory can also affect the results of some laboratory tests, so this issue was considered a constraint in the model. In [13], the issue of sending the samples to the laboratory was examined. The model in this paper considered only one laboratory. Contrary to the previous paper, this study assumed that the home care centre could contract with several laboratories and investigated the effect of this parameter on the objective function. The authors of [66] presented a bi-objective model for minimizing the total service time and total cost. In contrast to the present study, the laboratory and hospital were the starting and ending points. Furthermore, the sample delivery time to the laboratory was not taken into account.
We examined the effect of changing the main parameters of the model on variables and the objective function in the previous section. As a result of the analysis, the following economic and managerial insights are presented:
  • As shown in Figure 6, planners are advised to reduce nurses’ working time by increasing the number of laboratories during shortages of nurses or when epidemics such as COVID-19 occur. It is also better to consider an upper bound for laboratories that are contracted with home health care centres to prevent computational problems.
  • There is an inverse relationship between D m a x (the total working time of each nurse) and the number of nurses used. When D m a x decreases, more nurses are used. It is possible to control the number of nurses used, as well as the value of the objective function, by selecting the appropriate value for D m a x . Management is also advised to increase nurses’ working time as much as possible to hire fewer nurses and reduce costs.
  • According to Figure 7 and Figure 9, if the ending time of the nurses’ time window ( 𝒷 𝓃 ) is reduced for some nurses, the total working time for each nurse at a patient’s home can be increased to reduce the slope of the total costs increase.
  • The availability time of nurses directly impacts the value of the objective function (especially for large-scale instances), so it is better to contract with nurses who are available for longer hours.
  • Considering Figure 10 and the effect of the time windows on the objective function, it is suggested that management consider the time window constraint as a soft constraint for some tasks.
  • In Figure 11, management is advised to have a forecast for the increase in nurses if the duration of tasks increases for various reasons.

8. Conclusions

A new mathematical formulation of the home health care routing and scheduling problem was presented in this paper. A nurse’s preference and skill level were considered in synchronizing visits. In addition, the home care centre was assumed to have contracts with several laboratories for the transfer of samples. Analyses were conducted on the consequences of this policy. This study also considered the number of laboratories. Based on the sensitivity analyses, it was found that the objective function decreases as the number of laboratories increases. Additionally, laboratory delivery times were taken into account. Specified tests must reach the lab within a certain period of time in order to be valid for testing. In order to solve large instances, a new three-stage GA and a PSO algorithm were proposed. The proposed algorithms were shown to be effective based on the results. Based on the obtained results, it is possible to conclude that the quality matrix and the complexity of the instances are related. It implies that, in addition to the number of instances (number of nurses, number of tasks, etc.), the quality matrix has an undeniable effect on the problem’s complexity and, consequently, its solution time. The impact of the quality matrix on the problem is associated with difficulties and has received less attention in the literature, despite its importance. In addition, the number of laboratories with which the HHC centre has a contract reduced nurses’ working times. Governments are committed to improving health indicators. A significant portion of the government budget is devoted to health care. Consequently, health sector costs can be reduced through proper management. HHC can serve as an excellent alternative to health centre-based services in this regard.
It is possible to expand this work in many directions.
  • Laboratory locations and numbers can be considered as decision variables in the model. Furthermore, the quality matrix has a significant impact on the model’s complexity, which is rarely discussed in the literature, in addition to the problem’s dimensions (number of tasks, number of nurses, and number of synchronization tasks).
  • Further, exploring priority queueing systems for determining the optimal nurses [93,94] integrated with HHP would be an intriguing future research area due to the growing demand for nurses with various conditions.
  • Additionally, consider the legal restrictions and uncertainties associated with exceptions and permanent changes. In addition, taking into account the cultural challenges, payment methods, and an overall lack of satisfaction with the work is important.
  • Moreover, the types of vehicles used for transporting samples and nurses have not been investigated in this paper but can be examined further in future studies.
  • The use of machine learning to predict HHP demands could be an interesting research topic in the future [95].

Author Contributions

Conceptualization, M.M. (Mahyar Mirabnejadand), H.M. and M.M.(Mehrdad Mirzabaghi); Data curation, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Formal analysis, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Funding acquisition, F.J. and M.Y.; Investigation, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Methodology, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Project administration, M.Y. and F.J.; Resources, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Software, M.M. (Mahyar Mirabnejadand), H.M. and M.M.; Supervision, A.A., F.J. and M.Y.; Validation, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Visualization, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); Writing—original draft, M.M. (Mahyar Mirabnejadand), H.M. and M.M. (Mehrdad Mirzabaghi); and Writing—review and editing, A.A., F.J. and M.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in the study are available with the authors and can be shared upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mirmozaffari, M.; Shadkam, E.; Khalili, S.M.; Yazdani, M. Developing a Novel Integrated Generalised Data Envelopment Analysis (DEA) to Evaluate Hospitals Providing Stroke Care Services. Bioengineering 2021, 8, 207. [Google Scholar] [CrossRef] [PubMed]
  2. Oladzad-Abbasabady, N.; Tavakkoli-Moghaddam, R. Dynamic routing-scheduling problem for home health care considering caregiver-patient compatibility. Comput. Oper. Res. 2022, 148, 106000. [Google Scholar] [CrossRef]
  3. Shrank, W.H.; DeParle, N.-A.; Gottlieb, S.; Jain, S.H.; Orszag, P.; Powers, B.W.; Wilensky, G.R. Health Costs And Financing: Challenges And Strategies For A New Administration: Commentary recommends health cost, financing, and other priorities for a new US administration. Health Aff. 2021, 40, 235–242. [Google Scholar] [CrossRef] [PubMed]
  4. Mirmozaffari, M.; Yazdani, R.; Shadkam, E.; Khalili, S.M.; Tavassoli, L.S.; Boskabadi, A.J.B. A novel hybrid parametric and non-parametric optimisation model for average technical efficiency assessment in public hospitals during and post-COVID-19 pandemic. Bioengineering 2021, 9, 7. [Google Scholar] [CrossRef] [PubMed]
  5. Sibevei, A.; Azar, A.; Zandieh, M.; Khalili, S.M.; Yazdani, M. Developing a Risk Reduction Support System for Health System in Iran: A Case Study in Blood Supply Chain Management. Int. J. Environ. Res. Public Health 2022, 19, 2139. [Google Scholar] [CrossRef]
  6. Ghasemi, S.; Aghsami, A.; Rabbani, M. Data envelopment analysis for estimate efficiency and ranking operating rooms: A case study. Int. J. Res. Ind. Eng. 2021, 10, 67–86. [Google Scholar]
  7. Goodarzian, F.; Abraham, A.; Ghasemi, P.; Mascolo, M.D.; Nasseri, H.J. Designing a green home healthcare network using grey flexible linear programming: Heuristic approaches. J. Comput. Des. Eng. 2021, 8, 1468–1498. [Google Scholar] [CrossRef]
  8. Larsson, R.; Erlingsdóttir, G.; Persson, J.; Rydenfält, C.J.H. Teamwork in home care nursing: A scoping literature review. Health Soc. Care Community 2022. [Google Scholar] [CrossRef]
  9. Bahadori-Chinibelagh, S.; Fathollahi-Fard, A.M.; Hajiaghaei-Keshteli, M. Two constructive algorithms to address a multi-depot home healthcare routing problem. IETE J. Res. 2022, 68, 1108–1114. [Google Scholar] [CrossRef]
  10. Moussavi, S.E.; Mahdjoub, M.; Grunder, O. A matheuristic approach to the integration of worker assignment and vehicle routing problems: Application to home healthcare scheduling. Expert Syst. Appl. 2019, 125, 317–332. [Google Scholar] [CrossRef]
  11. Euchi, J.; Masmoudi, M.; Siarry, P.J.O. Home health care routing and scheduling problems: A literature review. 4OR 2022, 20, 351–389. [Google Scholar] [CrossRef]
  12. Di Mascolo, M.; Martinez, C.; Espinouse, M.-L. Routing and scheduling in Home Health Care: A literature survey and bibliometric analysis. Comput. Ind. Eng. 2021, 158, 107255. [Google Scholar] [CrossRef]
  13. Shahnejat-Bushehri, S.; Tavakkoli-Moghaddam, R.; Boronoos, M.; Ghasemkhani, A. A robust home health care routing-scheduling problem with temporal dependencies under uncertainty. Expert Syst. Appl. 2021, 182, 115209. [Google Scholar] [CrossRef]
  14. Shiri, M.; Ahmadizar, F.; Thiruvady, D.; Farvaresh, H. A sustainable and efficient home health care network design model under uncertainty. Expert Syst. Appl. 2023, 211, 118185. [Google Scholar] [CrossRef]
  15. Ziya-Gorabi, F.; Ghodratnama, A.; Tavakkoli-Moghaddam, R.; Asadi-Lari, M.S. A new fuzzy tri-objective model for a home health care problem with green ambulance routing and congestion under uncertainty. Expert Syst. Appl. 2022, 201, 117093. [Google Scholar] [CrossRef]
  16. Li, Y.; Xiang, T.; Szeto, W.Y. Home health care routing and scheduling problem with the consideration of outpatient services. Transp. Res. Part E Logist. Transp. Rev. 2021, 152, 102420. [Google Scholar] [CrossRef]
  17. Almorox, E.G.; Stokes, J.; Morciano, M. Has COVID-19 changed carer’s views of health and care integration in care homes? A sentiment difference-in-difference analysis of on-line service reviews. Health Policy 2022, 126, 1117–1123. [Google Scholar] [CrossRef]
  18. Green, R.; Tulloch, J.S.P.; Tunnah, C.; Coffey, E.; Lawrenson, K.; Fox, A.; Mason, J.; Barnett, R.; Constantine, A.; Shepherd, W.; et al. COVID-19 testing in outbreak-free care homes: What are the public health benefits? J. Hosp. Infect. 2021, 111, 89–95. [Google Scholar] [CrossRef]
  19. Kang, H.-J.; Han, J.; Kwon, G.H. The Acceptance Behavior of Smart Home Health Care Services in South Korea: An Integrated Model of UTAUT and TTF. Int. J. Environ. Res. Public Health 2022, 19, 13279. [Google Scholar] [CrossRef]
  20. Videon, T.M.; Rosati, R.J.; Landers, S.H. COVID-19 infection rates early in the pandemic among full time clinicians in a home health care and hospice organization. Am. J. Infect. Control 2022, 50, 26–31. [Google Scholar] [CrossRef]
  21. Cissé, M.; Yalçındağ, S.; Kergosien, Y.; Şahin, E.; Lenté, C.; Matta, A. OR problems related to Home Health Care: A review of relevant routing and scheduling problems. Oper. Res. Health Care 2017, 13–14, 1–22. [Google Scholar] [CrossRef]
  22. Fikar, C.; Hirsch, P. Home health care routing and scheduling: A review. Comput. Oper. Res. 2017, 77, 86–95. [Google Scholar] [CrossRef]
  23. Yazdani, M.; Aleti, A.; Khalili, S.M.; Jolai, F. Optimizing the sum of maximum earliness and tardiness of the job shop scheduling problem. Comput. Ind. Eng. 2017, 107, 12–24. [Google Scholar] [CrossRef]
  24. Abbaspour, S.; Aghsami, A.; Jolai, F.; Yazdani, M. An Integrated Queueing-Inventory-Routing Problem in a Green Dual-Channel Supply Chain Considering Pricing and Delivery Period, a Case Study of Construction Material Supplier. J. Comput. Des. Eng. 2022, 9, 1917–1951. [Google Scholar] [CrossRef]
  25. Salari, S.A.-S.; Mahmoudi, H.; Aghsami, A.; Jolai, F.; Jolai, S.; Yazdani, M.J.B. Off-Site construction Three-Echelon supply chain management with stochastic constraints: A modelling approach. Buildings 2022, 12, 119. [Google Scholar] [CrossRef]
  26. Yazdani, M.; Jolai, F. Lion optimization algorithm (LOA): A nature-inspired metaheuristic algorithm. J. Comput. Des. Eng. 2016, 3, 24–36. [Google Scholar] [CrossRef] [Green Version]
  27. Ashrafian, A.; Hamzehkolaei, N.S.; Dwijendra, N.K.A.; Yazdani, M.J.B. An Evolutionary Neuro-Fuzzy-Based Approach to Estimate the Compressive Strength of Eco-Friendly Concrete Containing Recycled Construction Wastes. Buildings 2022, 12, 1280. [Google Scholar] [CrossRef]
  28. Bhadoria, A.; Marwaha, S. Moth flame optimizer-based solution approach for unit commitment and generation scheduling problem of electric power system. J. Comput. Des. Eng. 2020, 7, 668–683. [Google Scholar] [CrossRef]
  29. Cheng, M.-Y.; Cao, M.-T.; Tsai, P.-K. Predicting load on ground anchor using a metaheuristic optimized least squares support vector regression model: A Taiwan case study. J. Comput. Des. Eng. 2020, 8, 268–282. [Google Scholar] [CrossRef]
  30. Goharzay, M.; Noorzad, A.; Ardakani, A.M.; Jalal, M. Computer-aided SPT-based reliability model for probability of liquefaction using hybrid PSO and GA. J. Comput. Des. Eng. 2020, 7, 107–127. [Google Scholar] [CrossRef]
  31. Hajipour, V.; Tavana, M.; Santos-Arteaga, F.J.; Alinezhad, A.; Di Caprio, D. An efficient controlled elitism non-dominated sorting genetic algorithm for multi-objective supplier selection under fuzziness. J. Comput. Des. Eng. 2020, 7, 469–488. [Google Scholar] [CrossRef]
  32. Rao, R.V.; Pawar, R.B. Quasi-oppositional-based Rao algorithms for multi-objective design optimization of selected heat sinks. J. Comput. Des. Eng. 2020, 7, 830–863. [Google Scholar] [CrossRef]
  33. Showkatbakhsh, M.; Makki, M. Application of homeostatic principles within evolutionary design processes: Adaptive urban tissues. J. Comput. Des. Eng. 2020, 7, 1–17. [Google Scholar] [CrossRef]
  34. Yazdani, M.; Mojtahedi, M.; Loosemore, M. Enhancing evacuation response to extreme weather disasters using public transportation systems: A novel simheuristic approach. J. Comput. Des. Eng. 2020, 7, 195–210. [Google Scholar] [CrossRef]
  35. Rao, R.V.; Keesari, H.S. A self-adaptive population Rao algorithm for optimization of selected bio-energy systems. J. Comput. Des. Eng. 2021, 8, 69–96. [Google Scholar] [CrossRef]
  36. Tavasoli, N.; Rezaee, K.; Momenzadeh, M.; Sehhati, M. An ensemble soft weighted gene selection-based approach and cancer classification using modified metaheuristic learning. J. Comput. Des. Eng. 2021, 8, 1172–1189. [Google Scholar] [CrossRef]
  37. Safaeian, M.; Fathollahi-Fard, A.M.; Kabirifar, K.; Yazdani, M.; Shapouri, M.J.B. Selecting Appropriate Risk Response Strategies Considering Utility Function and Budget Constraints: A Case Study of a Construction Company in Iran. Buildings 2022, 12, 98. [Google Scholar] [CrossRef]
  38. Yazdani, M.; Khalili, S.M.; Babagolzadeh, M.; Jolai, F. A single-machine scheduling problem with multiple unavailability constraints: A mathematical model and an enhanced variable neighborhood search approach. J. Comput. Des. Eng. 2017, 4, 46–59. [Google Scholar] [CrossRef] [Green Version]
  39. Yazdani, M.; Kabirifar, K.; Frimpong, B.E.; Shariati, M.; Mirmozaffari, M.; Boskabadi, A. Improving construction and demolition waste collection service in an urban area using a simheuristic approach: A case study in Sydney, Australia. J. Clean. Prod. 2021, 280, 124138. [Google Scholar] [CrossRef]
  40. Gharib, Z.; Yazdani, M.; Bozorgi-Amiri, A.; Tavakkoli-Moghaddam, R.; Taghipourian, M.J. Developing an integrated model for planning the delivery of construction materials to post-disaster reconstruction projects. J. Comput. Des. Eng. 2022, 9, 1135–1156. [Google Scholar] [CrossRef]
  41. Gharib, Z.; Tavakkoli-Moghaddam, R.; Bozorgi-Amiri, A.; Yazdani, M.J.B. Post-Disaster Temporary Shelters Distribution after a Large-Scale Disaster: An Integrated Model. Buildings 2022, 12, 414. [Google Scholar] [CrossRef]
  42. Cheng, E.; Rich, J.L. A Home Health Care Routing and Scheduling Problem; Rice University: Houston, TX, USA, 1998. [Google Scholar]
  43. Bertels, S.; Fahle, T. A hybrid setup for a hybrid scenario: Combining heuristics for the home health care problem. Comput. Oper. Res. 2006, 33, 2866–2890. [Google Scholar] [CrossRef]
  44. Trautsamwieser, A.; Hirsch, P. Optimization of daily scheduling for home health care services. J. Appl. Oper. Res. 2011, 3, 124–136. [Google Scholar]
  45. Trautsamwieser, A.; Gronalt, M.; Hirsch, P. Securing home health care in times of natural disasters. OR Spectr. 2011, 33, 787–813. [Google Scholar] [CrossRef]
  46. Bard, J.F.; Shao, Y.; Jarrah, A.I. A sequential GRASP for the therapist routing and scheduling problem. J. Sched. 2014, 17, 109–133. [Google Scholar] [CrossRef]
  47. Liu, R.; Yuan, B.; Jiang, Z. Mathematical model and exact algorithm for the home care worker scheduling and routing problem with lunch break requirements. Int. J. Prod. Res. 2017, 55, 558–575. [Google Scholar] [CrossRef]
  48. Rest, K.-D.; Hirsch, P. Daily scheduling of home health care services using time-dependent public transport. Flex. Serv. Manuf. J. 2016, 28, 495–525. [Google Scholar] [CrossRef]
  49. Yuan, B.; Liu, R.; Jiang, Z. A branch-and-price algorithm for the home health care scheduling and routing problem with stochastic service times and skill requirements. Int. J. Prod. Res. 2015, 53, 7450–7464. [Google Scholar] [CrossRef]
  50. Hiermann, G.; Prandtstetter, M.; Rendl, A.; Puchinger, J.; Raidl, G.R. Metaheuristics for solving a multimodal home-healthcare scheduling problem. Cent. Eur. J. Oper. Res. 2015, 23, 89–113. [Google Scholar] [CrossRef] [Green Version]
  51. Wirnitzer, J.; Heckmann, I.; Meyer, A.; Nickel, S. Patient-based nurse rostering in home care. Oper. Res. Health Care 2016, 8, 91–102. [Google Scholar] [CrossRef]
  52. Mosquera, F.; Smet, P.; Berghe, G.V. Flexible home care scheduling. Omega 2019, 83, 80–95. [Google Scholar] [CrossRef]
  53. Lin, C.-C.; Hung, L.-P.; Liu, W.-Y.; Tsai, M.-C. Jointly rostering, routing, and rerostering for home health care services: A harmony search approach with genetic, saturation, inheritance, and immigrant schemes. Comput. Ind. Eng. 2018, 115, 151–166. [Google Scholar] [CrossRef]
  54. Yuan, B.; Liu, R.; Jiang, Z. Daily scheduling of caregivers with stochastic times. Int. J. Prod. Res. 2018, 56, 3245–3261. [Google Scholar] [CrossRef]
  55. Mankowska, D.S.; Meisel, F.; Bierwirth, C. The home health care routing and scheduling problem with interdependent services. Health Care Manag. Sci. 2014, 17, 15–30. [Google Scholar] [CrossRef]
  56. Carello, G.; Lanzarone, E. A cardinality-constrained robust model for the assignment problem in Home Care services. Eur. J. Oper. Res. 2014, 236, 748–762. [Google Scholar] [CrossRef]
  57. Fikar, C.; Hirsch, P. A matheuristic for routing real-world home service transport systems facilitating walking. J. Clean. Prod. 2015, 105, 300–310. [Google Scholar] [CrossRef]
  58. Khodabandeh, P.; Kayvanfar, V.; Rafiee, M.; Werner, F. A bi-objective home health care routing and scheduling model with considering nurse downgrading costs. Int. J. Environ. Res. Public Health 2021, 18, 900. [Google Scholar] [CrossRef]
  59. Rasmussen, M.S.; Justesen, T.; Dohn, A.; Larsen, J. The Home Care Crew Scheduling Problem: Preference-based visit clustering and temporal dependencies. Eur. J. Oper. Res. 2012, 219, 598–610. [Google Scholar] [CrossRef] [Green Version]
  60. Drexl, M. Synchronization in vehicle routing—A survey of VRPs with multiple synchronization constraints. Transp. Sci. 2012, 46, 297–316. [Google Scholar] [CrossRef] [Green Version]
  61. Liu, R.; Xie, X.; Augusto, V.; Rodriguez, C. Heuristic algorithms for a vehicle routing problem with simultaneous delivery and pickup and time windows in home health care. Eur. J. Oper. Res. 2013, 230, 475–486. [Google Scholar] [CrossRef] [Green Version]
  62. Liu, R.; Xie, X.; Garaix, T. Hybridization of tabu search with feasible and infeasible local searches for periodic home health care logistics. Omega 2014, 47, 17–32. [Google Scholar] [CrossRef]
  63. Shi, Y.; Boudouh, T.; Grunder, O. A hybrid genetic algorithm for a home health care routing problem with time window and fuzzy demand. Expert Syst. Appl. 2017, 72, 160–176. [Google Scholar] [CrossRef]
  64. Rastegar, M.; Tavana, M.; Meraj, A.; Mina, H. An inventory-location optimization model for equitable influenza vaccine distribution in developing countries during the COVID-19 pandemic. Vaccine 2021, 39, 495–504. [Google Scholar] [CrossRef] [PubMed]
  65. Tavana, M.; Govindan, K.; Nasr, A.K.; Heidary, M.S.; Mina, H. A mathematical programming approach for equitable COVID-19 vaccine distribution in developing countries. Ann. Oper. Res. 2021. [Google Scholar] [CrossRef]
  66. Goodarzian, F.; Abraham, A.; Fathollahi-Fard, A.M. A biobjective home health care logistics considering the working time and route balancing: A self-adaptive social engineering optimizer. J. Comput. Des. Eng. 2020, 8, 452–474. [Google Scholar] [CrossRef]
  67. Fathollahi-Fard, A.M.; Govindan, K.; Hajiaghaei-Keshteli, M.; Ahmadi, A. A green home health care supply chain: New modified simulated annealing algorithms. J. Clean. Prod. 2019, 240, 118200. [Google Scholar] [CrossRef]
  68. Ji, Y.; Li, H.; Zhang, H. Risk-averse two-stage stochastic minimum cost consensus models with asymmetric adjustment cost. Group Decis. Negot. 2022, 31, 261–291. [Google Scholar] [CrossRef]
  69. Qu, S.; Li, Y.; Ji, Y. The mixed integer robust maximum expert consensus models for large-scale GDM under uncertainty circumstances. Appl. Soft Comput. 2021, 107, 107369. [Google Scholar] [CrossRef]
  70. Wang, T.; Meskens, N.; Duvivier, D. Scheduling operating theatres: Mixed integer programming vs. constraint programming. Eur. J. Oper. Res. 2015, 247, 401–413. [Google Scholar] [CrossRef]
  71. Braekers, K.; Hartl, R.F.; Parragh, S.N.; Tricoire, F. A bi-objective home care scheduling problem: Analyzing the trade-off between costs and client inconvenience. Eur. J. Oper. Res. 2016, 248, 428–443. [Google Scholar] [CrossRef] [Green Version]
  72. Decerle, J.; Grunder, O.; El Hassani, A.H.; Barakat, O. A memetic algorithm for a home health care routing and scheduling problem. Oper. Res. Health Care 2018, 16, 59–71. [Google Scholar] [CrossRef]
  73. Parragh, S.N.; Doerner, K.F. Solving routing problems with pairwise synchronization constraints. Cent. Eur. J. Oper. Res. 2018, 26, 443–464. [Google Scholar] [CrossRef] [PubMed]
  74. Grenouilleau, F.; Legrain, A.; Lahrichi, N.; Rousseau, L.-M. A set partitioning heuristic for the home health care routing and scheduling problem. Eur. J. Oper. Res. 2019, 275, 295–303. [Google Scholar] [CrossRef]
  75. Decerle, J.; Grunder, O.; El Hassani, A.H.; Barakat, O. A memetic algorithm for multi-objective optimization of the home health care problem. Swarm Evol. Comput. 2019, 44, 712–727. [Google Scholar] [CrossRef]
  76. Decerle, J.; Grunder, O.; Hajjam El Hassani, A.; Barakat, O. A hybrid memetic-ant colony optimization algorithm for the home health care problem with time window, synchronization and working time balancing. Swarm Evol. Comput. 2019, 46, 171–183. [Google Scholar] [CrossRef]
  77. Fathollahi-Fard, A.M.; Ahmadi, A.; Goodarzian, F.; Cheikhrouhou, N. A bi-objective home healthcare routing and scheduling problem considering patients’ satisfaction in a fuzzy environment. Appl. Soft Comput. 2020, 93, 106385. [Google Scholar] [CrossRef]
  78. Hosnavi, R.; Nekooie, M.A.; Khalili, S.M.; Tavakoli, A. A resilient supply portfolio considering political and disruption risks. Int. J. Ind. Syst. Eng. 2019, 31, 209–249. [Google Scholar] [CrossRef]
  79. Khalili, S.M.; Jolai, F.; Torabi, S.A. Integrated production–distribution planning in two-echelon systems: A resilience view. Int. J. Prod. Res. 2017, 55, 1040–1064. [Google Scholar] [CrossRef]
  80. Khalili, S.M.; Babagolzadeh, M.; Yazdani, M.; Saberi, M.; Chang, E. A bi-objective model for relief supply location in post-disaster management. In Proceedings of the 2016 International Conference on Intelligent Networking and Collaborative Systems (INCoS), Ostrava, Czech Republic, 7–9 September 2016; pp. 428–434. [Google Scholar]
  81. Saif-Eddine, A.S.; El-Beheiry, M.M.; El-Kharbotly, A.K. An improved genetic algorithm for optimizing total supply chain cost in inventory location routing problem. Ain Shams Eng. J. 2019, 10, 63–76. [Google Scholar] [CrossRef]
  82. Yu, X.; Zhou, Y.; Liu, X.-F. A novel hybrid genetic algorithm for the location routing problem with tight capacity constraints. Appl. Soft Comput. 2019, 85, 105760. [Google Scholar] [CrossRef]
  83. Rabbani, M.; Aghsami, A.; Farahmand, S.; Keyhanian, S. Risk and revenue of a lessor’s dynamic joint pricing and inventory planning with adjustment costs under differential inflation. Int. J. Procure. Manag. 2018, 11, 1–35. [Google Scholar] [CrossRef]
  84. Mohtashami, Z.; Aghsami, A.; Jolai, F. A green closed loop supply chain design using queuing system for reducing environmental impact and energy consumption. J. Clean. Prod. 2020, 242, 118452. [Google Scholar] [CrossRef]
  85. Azani, M.; Shaerpour, M.; Yazdani, M.A.; Aghsami, A.; Jolai, F. A Novel Scenario-Based Bi-objective Optimization Model for Sustainable Food Supply Chain During the COVID-19: A Case Study. Integr. Optim. Sustain. 2022, 6, 139–159. [Google Scholar] [CrossRef]
  86. Eberhart, R.; Kennedy, J. A new optimizer using particle swarm theory. In Proceedings of the MHS’95, Sixth International Symposium on Micro Machine and Human Science, Nagoya, Japan, 4–6 October 1995; pp. 39–43. [Google Scholar]
  87. Sengupta, S.; Basak, S.; Peters, R.A. Particle Swarm Optimization: A survey of historical and recent developments with hybridization perspectives. Mach. Learn. Knowl. Extr. 2018, 1, 157–191. [Google Scholar] [CrossRef] [Green Version]
  88. Akjiratikarl, C.; Yenradee, P.; Drake, P.R. PSO-based algorithm for home care worker scheduling in the UK. Comput. Ind. Eng. 2007, 53, 559–583. [Google Scholar] [CrossRef]
  89. Shi, Y.; Eberhart, R.C. Empirical study of particle swarm optimization. In Proceedings of the 1999 Congress on Evolutionary Computation-CEC99 (Cat. No. 99TH8406), Washington, DC, USA, 6–9 July 1999; pp. 1945–1950. [Google Scholar]
  90. Poli, R.; Kennedy, J.; Blackwell, T. Particle swarm optimization. Swarm Intell. 2007, 1, 33–57. [Google Scholar] [CrossRef]
  91. Eberhart, R.C.; Shi, Y. Comparing inertia weights and constriction factors in particle swarm optimization. In Proceedings of the 2000 congress on evolutionary computation. CEC00 (Cat. No. 00TH8512), La Jolla, CA, USA, 16–19 July 2000; pp. 84–88. [Google Scholar]
  92. Victoire, T.A.A.; Jeyakumar, A.E. Reserve constrained dynamic dispatch of units with valve-point effects. IEEE Trans. Power Syst. 2005, 20, 1273–1282. [Google Scholar] [CrossRef]
  93. Alipour-Vaezi, M.; Aghsami, A.; Jolai, F. Prioritizing and queueing the emergency departments’ patients using a novel data-driven decision-making methodology, a real case study. Expert Syst. Appl. 2022, 195, 116568. [Google Scholar] [CrossRef]
  94. Ghanbari, E.; Soghrati Ghasbe, S.; Aghsami, A.; Jolai, F. A novel mathematical optimization model for a preemptive multi-priority M/M/C queueing system of emergency department’s patients, a real case study in Iran. IISE Trans. Healthc. Syst. Eng. 2022. [Google Scholar] [CrossRef]
  95. Qu, S.; Xu, L.; Mangla, S.K.; Chan, F.T.; Zhu, J.; Arisian, S. Matchmaking in reward-based crowdfunding platforms: A hybrid machine learning approach. Int. J. Prod. Res. 2022, 1–21. [Google Scholar] [CrossRef]
Figure 1. Solution representation.
Figure 1. Solution representation.
Ijerph 19 15036 g001
Figure 2. Crossover operators: (a) one-cut-point crossover with 𝒾 = 4 and (b) two-cut-point crossover with 𝒾 = 3 and 𝒿 = 6.
Figure 2. Crossover operators: (a) one-cut-point crossover with 𝒾 = 4 and (b) two-cut-point crossover with 𝒾 = 3 and 𝒿 = 6.
Ijerph 19 15036 g002
Figure 3. Mutation operators: (a) swap, (b) inversion, and (c) uniform.
Figure 3. Mutation operators: (a) swap, (b) inversion, and (c) uniform.
Ijerph 19 15036 g003
Figure 4. The location of case study.
Figure 4. The location of case study.
Ijerph 19 15036 g004
Figure 5. S/N ratio (smaller-the-better).
Figure 5. S/N ratio (smaller-the-better).
Ijerph 19 15036 g005
Figure 6. The comparison of Cplex and the proposed algorithms based on CPU time in small (1–14) and medium (15–20) instances.
Figure 6. The comparison of Cplex and the proposed algorithms based on CPU time in small (1–14) and medium (15–20) instances.
Ijerph 19 15036 g006
Figure 7. The impact of the number of laboratories on the objective function.
Figure 7. The impact of the number of laboratories on the objective function.
Ijerph 19 15036 g007
Figure 8. The impact of D m a x   on the objective function.
Figure 8. The impact of D m a x   on the objective function.
Ijerph 19 15036 g008
Figure 9. The impact of D m a x   on the number of nurses.
Figure 9. The impact of D m a x   on the number of nurses.
Ijerph 19 15036 g009
Figure 10. Impact of 𝒷 𝓃 on the objective function.
Figure 10. Impact of 𝒷 𝓃 on the objective function.
Ijerph 19 15036 g010
Figure 11. The impact of A 𝒿   and   B 𝒿 on the objective function.
Figure 11. The impact of A 𝒿   and   B 𝒿 on the objective function.
Ijerph 19 15036 g011
Figure 12. The impact of the duration of the tasks on the objective function.
Figure 12. The impact of the duration of the tasks on the objective function.
Ijerph 19 15036 g012
Table 2. Summarizes the notations of the model.
Table 2. Summarizes the notations of the model.
Sets 
N Set of nurses
J Set of tasks
J p r e Set of tasks with precedence
O Set of starting location of nurses
L Set of ending location of nurses
J L a b J Set of tasks requiring sampling
L a b Set of laboratories
Parameters 
𝓆 𝒾 𝓃 Equals 1 if nurse 𝓃 is qualified to perform task 𝒾
𝒹 𝒾 𝒿 m i n The maximum time distance between tasks ( 𝒾 and 𝒿 ) with precedence
𝒹 𝒾 𝒿 m a x The minimum time distance between tasks ( 𝒾 and 𝒿 ) with precedence
μ 𝒾 𝒿 Equals 1 if tasks 𝒿 must be performed after task 𝒾
𝓰 𝓇 𝓃 Grade of nurse 𝒿
𝓰 𝓇 𝒿 Grade of task 𝒿 J p r e
𝓅 𝓇 𝓂 𝓃 Equals 1 if two nurses’ 𝓂 and 𝓃 want to work together
𝒹 𝒾 Duration of task 𝒾
D m a x Maximum working time (not including travelling time) for each nurse
W m a x Maximum waiting time at each task
𝓉 𝒿 m a x The maximum time for sending samples related to task 𝒿 to the laboratory
𝓉 𝒾 𝒿 Travelling time between 𝒾 ,   𝒿
𝒶 𝓃 , 𝒷 𝓃 The time window for nurse 𝓃
A 𝒿 , B 𝒿 The time window for task 𝒿
M Big number
Variables 
𝓍 𝒾 𝒿 𝓃 Equals 1 if nurse 𝓃 moves from 𝒾 to 𝒿
𝓈 𝒿 Starting time of task 𝒿
𝓌 𝒿 Waiting time at task 𝒿
Table 3. Characteristics of the instances.
Table 3. Characteristics of the instances.
Instance Number of TasksNumber of NursesNumber of Tasks with PrecedenceNumber of Tasks Require SamplingNumber of LaboratoriesInstance Number of TasksNumber of NursesNumber of Tasks with PrecedenceNumber of Tasks Require SamplingNumber of Laboratories
118301022166650644
27460444177050644
36020444187045644
45630644195635641
520201022207030644
67850444219650644
76220442227860844
86025644237660642
946206412465602051
10201010222556502051
1120810222665602051
126415444277050644
136020644288260844
141184222966552051
1566556443076602051
Table 4. Algorithm’s parameter settings.
Table 4. Algorithm’s parameter settings.
AlgorithmParameterLevel 1Level 2Level 3
GAnumber of iterations140016001800
 Mutation rate0.050.070.09
 Crossover rate0.50.70.9
PSOPopulation size405060
 number of iterations400050006000
  𝒸 1 2.052.12.2
  𝒸 2 2.052.12.2
 Swarm size160120140
Table 5. The tuned algorithms’ parameters.
Table 5. The tuned algorithms’ parameters.
AlgorithmParameterBest Value
GANumber of iterations1600
Mutation rate0.07
Crossover rate0.5
Population size40
PSOnumber of iterations5000
𝒸 1 2.05
𝒸 2 2.2
Swarm size120
Table 6. Comparison of the solutions obtained by the exact solution, GA, and PSO.
Table 6. Comparison of the solutions obtained by the exact solution, GA, and PSO.
 CPLEX GA   PSO   
Test ProblemOFTime (h: min: s)The BestTimeGAP (%)AverageThe BestTimeGAP (%)Average
110011:57:3310150:20:311.40%102110710:22:336.99%1106
220212:00:4320410:52:250.99%205221250:22:415.15%2179
316452:00:0416610:21:510.97%167917100:20:183.95%1728
414492:00:1914750:24:391.79%148315100:21:504.21%1528
59272:19:459260:05:22−0.11%9319450:10:541.94%965
619552:00:0919150:22:40−2.05%192619420:32:07−0.66%1960
714812:00:1314960:16:031.01%150215010:20:241.35%1512
813182:00:1213200:15:460.15%132413260:16:030.61%1328
910370:22:4610250:13:42−1.16%103010320:12:54−0.48%1042
109692:00:119690:04:260.00%9789780:07:060.93%986
113712:08:463710:03:550.00%3753800:07:092.43%389
1216842:00:2516920:12:080.48%169816960:15:420.71%1705
1314652:00:1514650:16:400.00%147214750:24:420.68%1480
143240:00:403240:02:320.00%3263240:04:380.00%328
1523135:00:3723540:43:031.77%238124160:44:454.45%2458
1624495:01:3525110:40:462.53%253425800:45:155.35%2611
1723185:01:4923320:29:480.60%236623410:35:070.99%2348
1825345:00:2725340:37:580.00%253825610:43:091.07%2582
1916735:06:0216820:22:200.54%168616900:24:041.02%1697
2022945:00:1723080:31:080.61%231623220:38:421.22%2331
21-10:00:05-1:53:00-2643-2:04:22-2710
22-10:01:02-1:23:26-2587-1:44:25-2612
23-10:00:45-1:16:59-2320-1:23:32-2373
24-10:01:20-1:03:27-1627-1:10:08-1684
25-10:04:36-0:46:30-1588-0:46:56-1614
26-10:00:03-1:01:17-1774-1:10:36-1807
27-10:07:04 0:34:57-2880-0:40:38-2928
28-10:00:02 0:46:41-2526-1:03:54-2541
29-10:00:07 0:51:17-1610-0:46:27-1621
30-10:00:14 1:08:00-1836-0:53:47-1853
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Mirabnejad, M.; Mohammadi, H.; Mirzabaghi, M.; Aghsami, A.; Jolai, F.; Yazdani, M. Home Health Care Problem with Synchronization Visits and Considering Samples Transferring Time: A Case Study in Tehran, Iran. Int. J. Environ. Res. Public Health 2022, 19, 15036. https://doi.org/10.3390/ijerph192215036

AMA Style

Mirabnejad M, Mohammadi H, Mirzabaghi M, Aghsami A, Jolai F, Yazdani M. Home Health Care Problem with Synchronization Visits and Considering Samples Transferring Time: A Case Study in Tehran, Iran. International Journal of Environmental Research and Public Health. 2022; 19(22):15036. https://doi.org/10.3390/ijerph192215036

Chicago/Turabian Style

Mirabnejad, Mahyar, Hadi Mohammadi, Mehrdad Mirzabaghi, Amir Aghsami, Fariborz Jolai, and Maziar Yazdani. 2022. "Home Health Care Problem with Synchronization Visits and Considering Samples Transferring Time: A Case Study in Tehran, Iran" International Journal of Environmental Research and Public Health 19, no. 22: 15036. https://doi.org/10.3390/ijerph192215036

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop