Introduction

During the last two decades Jordan has witnessed a rapid development in healthcare services which is accompanied with increased numbers of healthcare facilities (i.e. hospitals and medical centers). This increase in the number of healthcare institutions implied an increase in the number of patients who receive the healthcare services and consequently reflected on the amount of the medical waste generated from these facilities. Hence, a proper management system is required, so as to minimize the health and environmental risks associated with such hazardous wastes [5, 6].

Abu Qdais et al. [1] conducted a survey to characterize the medical waste generated at the Jordanian hospitals. Hospitals from public, private and educational categories were considered. The average waste generation rates ranged from 0.29 to 1.36 kg/bed/day, while in terms of patient numbers it was found to be from 0.36 to 0.87 kg/patient/day.

The increase in the amounts and types of medical waste has resulted in issuance of Medical Waste Regulation (Regulation No. 1 for the year 2001) that aimed at regulating the management processes of such hazardous waste. One of the main issues in the regulation was the treatment of the medical waste using incinerators. An approved incinerator to deal with the medical waste in northern Jordan, is the one located at Jordan University of Science and Technology (JUST) campus. This incinerator has been approved by both the Ministry of Health and the Ministry of Environment to deal with all medical waste generated by the healthcare facilities in the four northern governorates of Jordan, namely Irbid, Al-Mafraq, Jarash, and Ajloun.

Several studies have considered the problem of waste collection. Some of these studies consider the waste collection problem in its deterministic characteristics and provide a near optimal routing schedule that minimizes collection cost and meets demand time windows. For example, Baptista et al. [2] studied the process of collecting recycling paper containers in Portugal. In their study a periodic Vehicle Routing Problem (VRP) with variable number of visits have been considered. Mourao and Almeida [8] illustrated a capacitated VRP for a refuse collection process. Lower bounding techniques along with heuristics were used to provide near optimal solutions to such waste collection problems. Shih and Chang [11] have developed a computer program for the collection of infectious hospital waste. In their paper, they proposed a two phase periodic VRP and the model is solved through integer programming techniques.

Other studies found in the literature have taken into account the stochastic behavior of the collection process. Examples of such studies include that of Mendoza et al. [3] and Rei et al. [10] were the VRP with stochastic demand is solved through proposed heuristics. Nolz et al. [9] considered the collection of infectious medical waste by formulating the problem as a collector-managed inventory routing problem and using the radio frequency identification (RFID) technology. A tabu search algorithm was developed to optimize the collection time and the corresponding vehicle routes. To validate their suggested routing approach, the authors have used real life data to generate routing schedules. For more on the VRP and recent solution algorithms we refer the readers to the book “Vehicle Routing: Problems, Methods, and Applications” by Toth and Vigo [13].

In summary, studies found in the literature have considered the problem of waste collection either as a deterministic problem or have taken the stochastisity of collected waste into account. Up to our knowledge, non of the existing studies have combined the stochastic demand issue with time window requirements. In this paper, we propose a modeling approach that combines both issues and we illustrate how this model can be solved through a real case study of medical waste collection in the northern part of Jordan.

The rest of the paper is organized as follows. Problem description is given in “Problem description” section. “Mathematical model” section presents the proposed mathematical model for solving the waste collection problem. Results and discussion are provided in “Results and discussion” section. Finally, concluding remarks are given in “Conclusion” section.

Problem description

An incinerator is located at Jordan University of Science and Technology campus. There are two pickup trucks that collect generated medical waste from nineteen hospitals located at the northern part of Jordan. A list of these hospitals and their respective capacity in terms of beds are shown in Table 1. On a daily basis, each collection truck starts its trip from the incinerator, collects medical waste from the listed hospitals on its scheduled route, then drives back to the incinerator. Each of these two trucks has a capacity of 1500 kg of collected medical waste. Historical data of the generated waste from these hospitals is available since January, 2010. Figure 1 shows frequency histograms for the daily collected medical waste for all of the nineteen hospitals. Figure 1 also shows the probability density curve for the fitted distribution on top of the histograms providing a visual check of how well the proposed distributions fit the data. Parameters of the fitted distributions are given in Table 1. Relative locations of hospitals and the incinerator are shown in Fig. 2, while Table 2 provide travel distances from the incinerator to each of the hospitals along with the travel distance between hospitals.

Table 1 List of hospitals from which the medical waste is collected along with their fitted waste generation distributions
Fig. 1
figure 1

Histograms of collected daily medical waste for the 19 hospitals considered along with a probability density curve showing the fitted distribution

Fig. 2
figure 2

Jordan map and location of hospitals in the four Northern governorates with respect to the incinerator

Table 2 Travel distances between incinerator and hospitals and between hospitals (km)

Current waste collection schedule as shown in Table 3 is based on an add-hoc procedure of collecting waste from nearby hospitals to meet contract requirements with the Ministry of Health that public hospital must be visited every 2 days at maximum since no waste storage areas are available. Current collection schedule does not take into account neither the amount of generated waste at each hospital nor the capacity of collection trucks. Given the current situation, it is required to minimize the total travel distance of collection trucks while providing an acceptable level of service for hospitals in terms of waste pickup. Minimizing travel distance will in turn minimizes travel cost and will also reduces gas emissions to the environment.

Table 3 Current waste collection schedule along with the travel distance for each route

Mathematical model

In this section, the problem of medical waste collection described in “Problem description” section will be formulated mathematically. Assume the following index sets:

$$ i = {\kern 1pt} {\text{The}}\,{\text{set}}\,{\text{of}}\,{\text{pickup}}\,{\text{trucks:}}\;i\; \in \;\{ \;1,2\} {\kern 1pt} $$
$$ j = {\kern 1pt} {\text{The}}\,{\text{set}}\,{\text{of}}\,{\text{hospitals:}}\;j\; \in \;\{ 1,2, \ldots ,\;19\} {\kern 1pt} $$
$$ k = {\kern 1pt} {\text{Days}}\,{\text{of}}\,{\text{the}}\,{\text{week:}}\;k\; \in \;\{ 1,2, \ldots ,7\} {\kern 1pt} $$

and let \( x_{ijk} \) be a binary variable that equals 1 if truck \( i \) visits hospital \( j \) at day \( k \) of the week and 0 otherwise. Then the problem can be modeled as:

$$ {\text{Minimize}}\quad T_{\cos t} = \sum\limits_{i,k} D(x_{ijk} ) $$
(1)

Subject to:

$$ p\left( {\sum\limits_{j} W(x_{ijk} ) \le C_{i} } \right) \ge \alpha $$
(2)
$$ \sum\limits_{i} \left( {x_{ijk} + x_{ij(k + 1)} + x_{ij(k + 2)} } \right) \ge 1 $$
(3)
$$ \sum\limits_{i,j,k = 7} x_{ijk} = 0 $$
(4)
$$ x_{ijk} \in \{ 0,1\} $$

where α is a constant that takes a value between 0 and 1, C i is the capacity of truck i, \( W(x_{ijk} ) \) is a function of the decision variable \( x_{ijk} \) that represents the accumulated medical waste and \( D(x_{ijk} ) \) is the minimum travel distance for the given set of hospitals by \( x_{ijk} \).

The first constraint given by Eq. (2) in the model restricts the accumulation of waste at hospitals and assures that the collected waste by each truck at each day is less than the truck capacity at a probability level α. This constraint sets a service level for the hospitals visited that must be meet. The service level is expressed as the probability of picking up accumulated waste when the truck arrives given as α. Higher values for α imply higher service level with α of 0.9–0.95 present an acceptable service level. Equation (3) constrains the visits to hospitals to be 2 days apart at maximum. The third and last constraint in Eq. (4) states that Friday is a holiday and no hospitals will be visited.

The objective function given by Eq. (1) is the sum of the travel distance \( D(x_{ijk} ) \) for each truck for each day. Finding \( D(x_{ijk} ) \) for a given \( x_{ijk} \) values is in itself an optimization problem. Fortunately, this is a well studied problem in operations research known as the travel salesman problem (TSP) [4, 12, 14].

Results and discussion

The model described in “Mathematical model” section has been programmed as a set of Matlab m-files. Matlab version 7.11 (R2010b) was used. The objective function for our model is discrete and hence, the genetic algorithm (GA) optimization routine implemented in Matlab was used to optimize for the proposed model. Genetic algorithm parameters were set as follows. Each chromosome consisted of 266 binary genes (combination of i = 2 trucks, j = 19 hospitals, and k = 7 days) representing \( x_{ijk} \) values. Population size was set to 60 chromosomes and the number of generations was set at 150 generations. Permutation of new population was restricted such that each new chromosome must satisfy the model constraints given in Eqs. (3) and (4). Following Matlab’s GA routine, permutations were done gene wise to generate new chromosomes. As for stopping criteria, stall generations was set at 40 generations with a tolerance of 0.0001. That is, if the average improvement in the objective function value over 40 generations is less than the tolerance provided, the algorithm stops. As indicated by Eq. (1), optimization is done in two steps. In the first step, the algorithm proposes a new set of values for \( x_{ijk} \). While in the second step, suggested visits for each truck and day combinations are fed into a TSP optimization routine to find the best routing schedule for hospitals to be visited and then the total cost is calculated over the 14 combinations of trucks and days. The used TSP optimization routine is based also on the use of GA algorithm and is publicly available [7]. To validate permuted chromosomes for constraint (2), collected waste was simulated 100,000 times and the probability that the collected waste exceeds truck capacity was obtained. The service level α was set at 0.95.

The found optimal schedule for collection trucks is shown in Table 4. At a first glance it can be noted that for day 2, truck 2 has not been scheduled to collect waste saving a day for truck service and maintenance. The total travel distance for the optimal schedule is 1185 km, a saving of 102 km in travel distance was achieved. We note here that each of the nineteen hospitals considered is visited at least three times per week according to the proposed schedule. This is important since most hospitals have limited storage capacity for medical waste and hence, the found optimal schedule solves their storage problem and meets contract requirements.

Table 4 Optimal waste collection schedule along with the travel distance for each optimal route

Fitted distributions of daily collected waste for both trucks are shown in Fig. 3 with probability of collected waste exceeding truck capacity shown as shaded area. A summary of the fitted distributions in Fig. 3 including the average and the probability that the collected waste exceeds truck capacity are given in Table 5. For the two trucks the achieved service level is at least 98 %.

Fig. 3
figure 3

Probability distribution of daily collected waste for each truck. Shaded areas represent the probability of daily picked up waste being greater than the truck capacity

Table 5 Average collected medical waste for the optimal schedule along with the probability that the collected waste exceeds truck capacity

We shall note that the problem considered in here is a medium sized optimization problem with 266 decision variables and four constraints. For larger sized problems, using the GA approach might not be the best and other optimization heuristics might be employed. For more information on heuristics used for solving transportation problems, readers are suggested to have a look at Vehicle Routing: Problems, Methods, and Applications by Toth and Vigo [13].

Conclusions

In this paper, we consider a stochastic medical waste collection problem. We show how the stochasticity of collected waste can be implemented in the model as a probability constraint representing the service level provided by the waste collector. The service level was set at 95 % and the optimal solution was obtained through the use of Genetic algorithm optimization routine in Matlab. Compared with the current routing schedule, the proposed model provides a less costly routing schedule with 1185 km of travel distance at a saving of 102 km per week. The obtained routing schedule has been verified for 4 weeks and the actual performance was similar to that found by our model. Average collected waste for the 4 weeks based on the proposed schedule is shown in Table 6.

Table 6 Average collected waste following the proposed schedule