A coordinated scheduling of delivery and inventory in a multi-location hospital supplied with a central pharmacy
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Hammoudan, Zakaria; Grunder, Olivier; Boudouh, Toufik; ElMoudni, Abdellah Article A coordinated scheduling of delivery and inventory in a multi-location hospital supplied with a central pharmacy Logistics Research Provided in Cooperation with: Bundesvereinigung Logistik (BVL) e.V., Bremen Suggested Citation: Hammoudan, Zakaria; Grunder, Olivier; Boudouh, Toufik; ElMoudni, Abdellah (2016) : A coordinated scheduling of delivery and inventory in a multi-location hospital supplied with a central pharmacy, Logistics Research, ISSN 1865-0368, Springer, Heidelberg, Vol. 9, Iss. 1, pp. 1-13, https://doi.org/10.1007/s12159-016-0145-8 This Version is available at: https://hdl.handle.net/10419/157743 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. http://creativecommons.org/licenses/by/4.0/
ORIGINAL PAPER A coordinated scheduling of delivery and inventory in a multilocation hospital supplied with a central pharmacy Zakaria Hammoudan 1 •Olivier Grunder 1 •Toufik Boudouh 2 •Abdellah El Moudni 1 Received: 25 March 2015 / Accepted: 8 August 2016 / Published online: 25 August 2016 The Author(s) 2016. This article is published with open access at Springerlink.com Abstract In today’s manufacturing outlook, coordinated scheduling of delivery and inventory represents a leading leverage to enhance the competitiveness of firms which aims to address the new challenge coming from scheduling problems. Though in the last decades this kind of issue has been extensively approached in the literature, a set of constraints and compulsory dispositions strongly increases the complexity of the considered problem. Actors of the pharmaceutical supply chain have to meet various global regulatory requirements while handling, storing and distributing environmentally sensitive products. The studied problem in this paper focuses on a real-case scheduling problem in a multi-location hospital supplied with a central pharmacy. The objective of this work is to find a coordinated production and delivery schedule such that the sum of delivery and inventory costs is minimized. A mixedinteger programming formulation is first detailed to consider the problem under study. Then, a branch-and-bound algorithm is proposed as an exact method and a dedicated heuristic algorithm is highlighted to solve the problem. At last, the experimental results show the efficiency of the proposed solving methods, based on the two following criteria: solution quality and processing time. Keywords Case study Coordinated scheduling Production and transportation Mixed-integer programming Branch and bound Heuristic algorithm 1 Introduction and related literature Today, the expansion of suppliers to accommodate the maximum number of customers is considered as a key factor in the evolution of companies, in order to increase their profits. Industrial companies are continuously assessing their operations with the objective of increasing the overall effectiveness of manufacturing systems. Markets, where these organizations operate, tend to become more complex over time, forcing companies to increase their responsiveness, both in terms of time and cost. The case of the pharmaceutical industry is a good example of how market is driving the change on product development cycles and manufacturing activities. Delivery and inventory scheduling stages are systematically considered to be very difficult functions. They are intended to produce operational plans dealing with several potential conflicting objectives, namely minimizing costs, completion times, and delays or maximizing profit. One important benefit of this coordination is a more efficient management of inventories across the entire supply chain. In traditional inventory management, the optimal production and shipment policies for vendors and customers in a two-echelon supply chain are managed independently. Additionally, these functions are closely related to other areas such as sales, procurement, production execution and control; &Zakaria Hammoudan [email protected] Olivier Grunder [email protected] Toufik Boudouh [email protected] Abdellah El Moudni [email protected] 1 IRTES-SET, Universite ´de Technologie de Belfort- Montbe ´liard (UTBM), rue Thierry Mieg, 90010 Belfort Cedex, France 2 M3M, Universite ´de Technologie de Belfort-Montbe ´liard (UTBM), rue Thierry Mieg, 90010 Belfort Cedex, France 123 Logist. Res. (2016) 9:18 DOI 10.1007/s12159-016-0145-8
hence, they may interface with decisions at the strategic and operational levels. For this reason, the integrated vendor–customer model is developed where the total relevant costs for the customers as well as the vendors have to be minimized. Consequently, determining the production and shipment policies based on an integrated total cost function, rather than several customer’s or vendor’s individual cost functions, results in the reduction of the inventory costs of the system. The system under study in this paper is composed of a central pharmacy from which sterilized medical devices have to be delivered before given due dates, to different hospitals located around the central pharmacy. This supply chain process incurs both delivery costs and earliness penalty costs in case the devices are delivered too early. Therefore, the considered problem is an integrated delivery and inventory problem with due dates constraints, for which we have to minimize the total delivery and holding costs. Therefore, the problem can be formulated from a batch scheduling point of view with a cost objective function or from a lot sizing problem point of view with a time horizon. These two classes of problem have been proven to be equivalent under given conditions [19]. In our case, a batch scheduling approach seems to be more appropriate in the context of the study of the healthcare system with specific constraints for the due dates. The delivery-inventory problem is denoted as Vendor- Managed Inventory (VMI) problem. The VMI problem is a widely used collaborative inventory management policy in which manufacturers manage the inventory of retailer and take responsibility for making decisions related to the timing and extent of inventory replenishment [7]. VMI partnerships help organizations to reduce demand variability, inventory holding and distribution costs. A pioneering paper is due to Bertazzi et al. [6], where a given set of shipping frequencies is allowed and different products may be shipped at different frequencies. Herer and Levy [14] have considered a system of a central warehouse, a fleet of trucks with a finite capacity, and a set of customers, for each of whom there is an estimated consumption rate, and a known storage capacity. The objective is to determine when to service each customer, as well as the way to be performed by each truck, in order to minimize the total discounted costs. To solve the problem, they have proposed a rolling horizon approach that takes into consideration holding, transportation, fixed ordering and stock out costs. Viswanathan and Mathur [31] have studied a distribution systems with a central warehouse and many retailers that stock a number of different products, where the products are delivered from the warehouse to the retailers by vehicles that combine the deliveries to several retailers into efficient vehicle routes. They have proposed a heuristic that develops a stationary nested joint replenishment policy. These results showed that the proposed heuristic is capable of solving problems involving distribution systems with multiple products. Sindhuchao et al. [29] have considered a system that consists of a set of geographically dispersed suppliers that manufacture one or more non-identical items, and a central warehouse that stocks these items. The warehouse faces a constant and deterministic demand for the items from outside retailers. The items are collected by a fleet of vehicles that are dispatched from the central warehouse. The vehicles are capacitated and must also satisfy a frequency constraint. They studied the case where each vehicle always collects the same set of items. They have formulated and solved the problem by using a branch-and-price algorithm, and then they have proposed a greedy constructive heuristic and a very large-scale neighborhood search algorithm. These results indicate that the constructive heuristic used in conjunction with one of the proposed very large-scale neighborhood algorithms can find near-optimal solutions very efficient. Recently, Archetti et al. [2] have studied a distribution problem in which a product has to be shipped from a supplier to several retailers over a given time horizon. Each retailer defines a maximum inventory level. The supplier monitors the inventory of each retailer and determines its replenishment policy, guaranteeing that no stock out occurs at the retailer (supplier-managed inventory policy). Every time a retailer is visited, the quantity delivered by the supplier is such that the maximum inventory level is reached (deterministic order-up-to level policy). Shipments from the supplier to the retailers are performed by a vehicle of given capacity. They presented a mixed-integer linear programming model, and they derived new additional valid inequalities used to strengthen the linear relaxation of the model. They implemented a branch-and-cut algorithm to solve the model optimally. Then, they have studied two different types of replenishment policies in [3]. The first one is the wellknown order-up-to level (OU) policy, where the quantity Table 1 A numerical example Jobs 1 2 3.5 4 Hospital’s 1 2 1 2 Due date Thursday 8:00 am Thursday 8:00 am Thursday 8:00 am Thursday 8:00 am Departure time Wednesday 06:00 am Wednesday 06:00 pm Thursday 2:00 am Wednesday 06:00 pm Arrival time Wednesday 12:00 pm Wednesday 10:00 pm Thursday 8:00 am Wednesday 10:00 pm Inventory cost 600 200 0 200 18 Page 2 of 13 Logist. Res. (2016) 9:18 123
shipped to each retailer is such that the level of its inventory reaches the maximum level. The second one is the maximum level (ML) policy, where the quantity shipped to each retailer is such that the inventory is not greater than the maximum level. In this study, Archetti et al. [3] have focused on the ML policy and the design of a hybrid heuristic, and they implemented an exact algorithm for the solution of the problem with one vehicle and designed a hybrid heuristic for the multi-vehicle case. Most recently, Archetti et al. [4], have studied the previous problem with a single vehicle which has a given capacity. The transportation cost is proportional to the distance traveled, whereas the inventory holding cost is proportional to the level of the inventory at the customers and at the supplier. They have proposed a heuristic that combines a tabu search scheme with ad hoc designed mixed-integer programming models. The effectiveness of the heuristic was proved over a set of benchmark instances for which the optimal solution was known. There are numerous researches on batch scheduling of delivery-inventory problem. Scheduling problems arise in almost any type of industrial production facilities (Pulp and Paper, Metals, Oil and gas, Chemicals, Food and Beverages, Pharmaceuticals, Transportation, Service, Military, etc.) where given operations need to be processed on specified resources. The corresponding scheduling problems are already very difficult to solve [20]. Much research has focused on the same area under various assumptions and objective measures that differ from the considered problem in this paper. Potts [12], Hall[ 26] and Zhang et al. [35]have studied scheduling problems with non-identical job release times and delivery times, under the assumption that a sufficient number of vehicles is available to deliver the jobs. Kimms [21] has examined the problem of single-machine and proposed two heuristic approaches: randomized regrets based and tabu search approaches. Each production plan is generated without using any information obtained from previous plans. This work has been extended by Kimms [22]witha proposition of a genetic algorithm that dominates the tabu search procedure, both in terms of run-time performance and the ability to find feasible solutions. Pinedo and Michael [24] reviewed different models and solution approaches, and then they explained the complexity of scheduling problems. Multi-echelon inventory models have attracted much attention, and the integrated approach has been extensively studied. In this way, Grunder [11] considered a single-product batch scheduling problem with the objective of minimizing the sum of production, transportation and inventory cost. Particularly, he assumed that the delivery time depends on the batch sizes and proposes a dynamic programming approach based on a dominance relation property. Wang et al. [33] extended this study with an integrated scheduling problem for single-item supply chain involving due date considerations and an objective of minimizing the total logistics cost. Fu et al. [10] studied the problem of coordinated scheduling of production and delivery subject to the production window constraints and delivery capacity constraints. They considered both a single delivery time case and multiple delivery time case. Chen [8] reviewed the production and distribution scheduling models and classified these problems in five groups. Problems addressing an objective function that combines machine scheduling with the delivery costs are rather complex. However, they are more practical than those involving just one of the two factors, since these combinedoptimization problems are often encountered when real-world supply chain management is considered. The number of customers and products has been a topic of intense investigation for decades in the integrated supply chain. Although researchers have given a considerable attention on the synchronization of the single-vendor singlecustomer integrated inventory system, the single-vendor multi-customer integrated inventory case has gotten little attention in regard. Lu [23] developed a one-vendor multicustomer integrated inventory model, while Parija and Sarker [25] extended their published work on single-vendor, single-customer, integrated production-inventory problems with lumpy delivery systems under perfect and imperfect production cycle situations [27]. Lu [23] argued that all the previous studies assumed that the vendor must know the customer’s holding and ordering costs, which are quite difficult to estimate unless the customer is willing to reveal the true values. Therefore, he considered another circumstance, in which the objective is to minimize the vendor’s total cost per year, subject to the maximum cost that the customer may be prepared to incur. Parija and Sarker [25] introduced the problem of determining the production start time and proposed a method that determines the cycle length and raw material ordering frequency for a long-range planning horizon. The cycle length is restricted to be an integermultiple of all shipment intervals to the customers as an ideal situation, the solution to which may be sub-optimal. Viswanathan and Piplani [32] proposed a model to study and analyze the benefit of coordinating supply chain inventories by means of common replenishment epochs or time periods. A one-vendor multi-customer supply chain is considered for a single product. Under their strategies, the vendor specifies common replenishment periods and requires all customers to replenish only at pre-determined time periods. However, the authors did not include any inventory cost of the vendor in the model. In most papers dealing with integrated inventory models, the transportation cost is considered only as a part of fixed setup or replenishment cost. Ertogral et al. [9]studied how the results of incorporating transportation cost into the model influence the decision-making process under equal size shipment policies. A fundamental advance in the twoside cost structure is in recognizing how delivery-trans- portation costs apply to both sides. Logist. Res. (2016) 9:18 Page 3 of 13 18 123
Hoque [15] proposed three models for supplying a singleitem from a single-vendor to multiple customers under deterministic demand by synchronizing the production flow with equal-sized batch transfer in the first two and unequalsized batches transfer in the third. In the first two models, all batches forwarded are of exactly the same size but the timing of their shipment is different. In the first of these, the manufacturer transfers a batch to a customer as soon as its processing is finished, whereas in the second a batch is transferred to a customer as soon as the previously sent batch to the customer is finished. In the third model, the subsequent shipment lot sizes increase by the ratio of production rate and sum of demand rates on all the customers. Zavanella and Zanoni [34] proposed a model for a singlevendor multi-customer system, integrated in a shared management of the customers’ inventory, so as to pursue a reduction or the stability of the holding costs while descending the chain. Hoque [16] transferred the lot from a vendor to multiple customers with lnumber of unequalsized batches first; where the next one is a multiple of the previous one by the ratio ðk[1Þof the production and the total demand rates, followed by ðnlÞnumber of equalsized batches. The equal-sized batches are restricted to be less than or equal to the lth batch (the largest unequal-sized batch) multiplied by k. The models developed were solved by applying Lagrangian Multiplier method. However, in cases of single-vendor single-customer or single-vendor multi-customer or multi-stage production, synchronization of the production flow by transferring the lot with equal and/ or unequal-sized batches was found to lead to the least total cost for some numerical problems. Although Hoque [16] served that purpose, he did not cope with the relaxation of the discussed impractical assumptions. Following this trend of synchronization, Hoque [17] developed two generalized single-vendor multi-customer integrated inventory models by accumulating the inventory at the vendor’s and customer’s independently, but with the traditional trend of ignoring the cost of benefit sharing. Transportation of each of the batches incurs a transportation cost. In order to implement the models by taking into account the industry reality, he also incorporates them with the relaxation of the discussed impractical assumptions. Battini [5] developed a single-vendor and multi-customer consignment stock inventory model in which many clients can establish a consignment stock inventory policy with the same vendor. Recently, Jha and Shanker [18] studied an integrated production-inventory model in a single-vendor multi-cus- tomer supply chain with lead time reduction under independent normally distributed demand on the customers. They assume a non-identical lead time for the customers and that customers’ inventory is reviewed using continuous review policy. Hariga et al. [13] analyzed Hoque’s models Iand II studied in Hoque [16], and then they modified some of Hoque’s models. Hariga et al. [13] compared the cost between the results of the models in Hoque [16] and Zavanella and Zanoni [34], and then they concluded that both models are not appropriate as they are using different functional forms of the total setup and ordering costs. Moreover, it is shown that Hoque’s model yields impractical solutions for zero transportation costs. When the total setup and ordering cost was adjusted to be similar to the one in Zavanella and Zanoni’s model, Hoque’s model resulted in a larger total cost. Existing inventory models for multi-customers are not applicable to pharmaceutical products for several reasons. Pharmaceutical products can be more expensive than other products to purchase and distribute, and shortages and improper use of essential medicines can have a high cost in terms of wasted resources and preventable diseases and death. Therefore, special care should be taken in pharmaceutical inventory decisions to ensure 100 %product availability at the right time, at the right cost, and in good condition to the right customers. The quality of health care industries strongly depends on the availability of pharmaceuticals on time. If a shortage occurs at a hospital, an emergency delivery is necessary, which is very costly and can affect the patient health. Inventory management strategies that are unsuitable for health care industries may lead to large financial losses and a significant impact on patients. Hence, inventory strategies for pharmaceutical products are more critical than those for other products. Thus, a specific inventory model is necessary to control pharmaceutical products, to save patient lives and reduce unnecessary inventory costs. Here we investigate a delivery-inventory supply chain composed of a central pharmacy which has to deliver pharmaceutical supplies to distant hospitals with a single transporter at given due dates. The objective is to reduce the overall cost which includes the delivery costs and an earliness penalty cost. The contributions of this paper are twofolds. First, we propose a MIP model to minimize the total delivery and inventory costs for the considered supply chain under the constraints of healthcare systems. Second, we propose an efficient solving algorithm which is compared with two exact methods. The outline of the remainder of the paper is organized in seven sections. In Sect. 2, the problem definition and formulation is introduced. In Sect. 3, the problem is formulated as a mixed-integer programming (MIP) model. Then, we describe the proposed branch-and-bound algorithm (B&B) as an exact method of resolution in Sect. 4.We develop a heuristic algorithm in Sect. 5for solving the problem. In Sects. 6and 7, we eventually provide the experimental results and draw some conclusions and suggest the future research directions. 18 Page 4 of 13 Logist. Res. (2016) 9:18 123
2 Problem definition and formulation We consider a supply chain scheduling problem where there is one central pharmacy which has to deliver medical supplies, or jobs, to mhospital sites, which are the final customers (Fig. 1). Each hospital horders a finite number of jobs from the central pharmacy. The following assumptions are considered for this study. First, we will consider a single transporter to deliver the sterilized medical devices as the number of distant hospitals is reduced in practice (less than 4) and the distances with the central pharmacy are quite short. Second, we will only consider direct shipping (i.e., commuter tours), without considering routing considerations between customers [8]. This assumption is explained by the fact that the pharmacy is located in the center of the distant hospitals. Moreover, the road network is centralized on the main town of the central pharmacy; hence, travel times are longer between distant hospitals. Each round trip between the pharmacy and a hospital h requires a delivery cost ghas well as a delivery time sh. The batches delivered from the central pharmacy to the hospitals can be of different sizes. The total number of jobs belonging to the same batch cannot exceed the capacity cof the transporter. Each job j has a due date djspecified by the hospitals and each job has to arrive to the hospital site before its due date. If job jof hospital harrives before its due date dj, it will incur as an earliness penalty bh. Batching and sending several jobs in the batches will reduce the transportation costs. The objective is to determine the sequence of batches that has to be processed, so that the expected total cost of both central pharmacy and hospitals sites is minimized. 2.1 Notations The following notations are used in developing the mathematical model: Parameters •J¼1;2;...;n: set of all jobs, where nis the total number of jobs, •H¼1;2;...;m: set of all hospitals, •j: index for jobs, j2J, •k: index for batches, •h: index for hospitals, h2H, •dj: due date of job j, •clj: destination of job j,clj2H, •c: capacity of the transporter, •sh: time for the vehicle to deliver a batch to hospital hand to return to the central pharmacy location, •gh: delivery cost to deliver a batch to hospital hand to return to the central pharmacy location, •bh: hospital earliness penalty function for hospital h. Primary variables •d1 jk ¼1 if the job jbelongs to the kth batch, 0 otherwise, •d2 kh ¼1 if the batch kbelongs to the customer h,0 otherwise. Secondary variables •yk¼1 if the batch kexists and is not empty, 0 otherwise, •Cj: the arrival time of the job jat the hospital, •Bk: the arrival time of the batch kat the hospital, •uh: number of delivered batches for hospital h. 2.2 Numerical example To clarify the problem, we consider a simple numerical example in Table (1) as follows. Two hospitals ordered five jobs at the same time (Monday at 8:00 am) and they would receive their products at the same time (Thursday at 8:00 am), that means all the products have the same due date equal to 72 h. The central pharmacy and its hospital customers open 24 h/day. Three jobs (j¼1;3and5) for hospital 1 and two jobs (j¼2 and 4) for hospital 2. The vehicle capacity is c¼2. The transporter delivery cost and time depend on the hospitals’ positions with (g1¼1000 Euro, s1¼6 h, and g2¼750 Euro, s2¼4 h) belongs to hospital 1 and 2, respectively, (b1¼b3¼b5¼30 Euro/h and b2¼b4¼20 Euro/h) belongs to hospital 1 and 2, respectively. The solution is shown in Table (1) for this problem. As it is shown, the vehicle makes three round trips among them two to hospital 1 and one to hospital 2. Three batches Fig. 1 Central pharmacy and multi-location hospital model Logist. Res. (2016) 9:18 Page 5 of 13 18 123
k1¼1;k2¼2 and k3¼2 are denoted. The products arrive at the customers in the batch to which they belong to in the completion time cited in Table (1). The total delivery cost equals g12þg21¼2750 Euro and the total storage cost at the hospitals equals b1½ðd1C1Þþðd3C3Þþ ðd5C5Þ þ b2½ðd2C2Þþðd4C4Þ ¼ 30 ½20 þ 0þ0þ 20 ½10 þ10¼1000 Euro. The amount of the objective function is 3750 Euro. 3 The mixed-integer programming model The pharmaceutical supply chain has many aspects that need to be considered in a supply chain model. However, by taking all concerned factors into account, the model would be of so high complexity that it would be extremely hard for analysis. In this section, the mathematical programming model of the above-mentioned problem is presented. Using the structural properties, we develop a MIP model for the mentioned problem as follows: Min Z ¼X m h¼1 ghuhþX n j¼1 bcljðdjCjÞð1Þ Subject to : X n k¼1 d1 jk ¼1;j¼1;...;nð2Þ X m h¼1 d2 kh 1;k¼1;...;nð3Þ d2 k;cljd1 jk;j;k¼1;...;nand kjð4Þ uh¼X n k¼1 d2 kh;h¼1;...;mð5Þ ykykþ1;k¼1;...;n1ð6Þ X n j¼k d1 jk c;k¼1;...;nð7Þ Cjdj;j¼1;...;nð8Þ Bkþ1Bk;k¼1;...;n1ð9Þ Bkþ1BkX m h¼1 shðd2 kþ1;hþd2 khÞ; k¼1;...;n1and h 2H ð10Þ Cj¼X n k¼1 Bkd1 jk;j¼1;...;nð11Þ Cj0;j¼1;2;...;nð12Þ d1 jk;d2 kh 2f0;1g;j;k¼1;...;nand h¼1;...;mð13Þ The objective function (1) minimizes the sum of the delivery costs, through the ghuhterm, and the customers earliness penalty, through bcljðdjCjÞ. Constraint (2) guarantees that each job must be scheduled exactly in one batch. In this constraint, the jobs will be batched only in the batch which it belongs to. Constraints (3and 4) force each batch to be delivered to the customer it belongs to. Constraint (5) calculates the number of batches delivered to each customer. Constraint (6) guarantees that no empty batch is allowed. Constraint (7) prevents the number of jobs scheduled in one delivery batch to exceed the capacity of the vehicle. Constraint (8) indicates that arrival time of each job is at least equal to the contracted due date for each customer. Constraint (9) orders the batches in the increasing order of their arrival times. Constraint (10) expresses the minimum interval duration between the arrivals of two consecutive batches has to be greater than the delivery time of the transporter. Constraint (11) represents the relation between the completion time of the jobs and the arrival time of the batch they belong to. This constraint is represented in a nonlinear way in this mathematical representation to facilitate the understanding of the problem. Constraints (12) and (13) define the range of the variables. For ease of reference, we denote this problem: Multiple Customers Batching Delivery Scheduling Problem (MCBDSP). The complexity of the MCBDSP is still an open question. To the best of our knowledge, no polynomial algorithm can solve this problem. However, from simulation experiments, we observe that the problem is still intractable on an empirical basis. In the next section, a B&B with a lower bound is described to solve the problem as an exact method. 4 Branch-and-bound algorithm In this section, we describe the B&B algorithm that we have developed to solve the MCBDSP. The objective of this B&B is to solve small to medium-sized instances, and to be a reference for validating the efficiency of the proposed heuristic algorithm. This B&B algorithm maintains a list of subproblems (nodes) whose union of feasible solutions contains all feasible solutions of the original problem. The list is initialized with the original problem itself. In each major iteration, the algorithm selects a current subproblem from the list of unevaluated nodes. This branching seems to be natural; however, the number of branches will be very large for large problems. Consequently, if this method is used in the B&B algorithm, it may take too much time to find optimal solutions, as redundant schedules 18 Page 6 of 13 Logist. Res. (2016) 9:18 123
would be checked repeatedly. Yet, several of the subproblems would already have been eliminated upon the generation of nodes, since the search tree includes redundant solutions. At each node of the search tree, the number of products that still need to be delivered to each customer has to be updated. Iterations are performed until the list of subproblems to be processed is empty. The crucial part of a successful B&B algorithm is the computation of the lower bounds. Therefore, we have developed a lower bound described in the next part. Efficient lower bound would significantly reduce the time and efforts needed for the B&B method. Based on the main feature of the problem, the lower bound value for the problem is the summation of lower bounds on the total earliness cost and the transportation cost. We assume that wis a partial batch sequence solution, z(w) is the evaluation of w, and rhðwÞis the number of products remaining at the customer’s hfor partial solution w. This notation will be used throughout this part. In each node, the solutions are built from the last batch to the first one and the evaluation of the partial or complete solution is processed with backward equations. The research of a solution starts by constructing a partial solution w. Then, the remainder of products is added in order to get a complete solution, with the objective of achieving a minimum delivery cost. Therefore, more the transporter will be loaded, more this lower bound will be efficient. Proposition 1 For a partial solution w,a lower bound for the delivery cost of the remaining products is given by: X m h¼1 rh c lm ghð14Þ Proof For each customer h,ifrhðwÞis the number of products remaining to be delivered, the number of round trips will be equal to rh c , and the delivery cost of the remaining products is as denoted in Eq. (14). h We add the partial solution wto the solution found in equation (14) to get the lower bound of the current node under study. Corollary 1 The lower bound LB(w) of the partial solution w is given as follows: LBðwÞ¼zðwÞþX m h¼1 rh c lm ghð15Þ Proof Straightforward. h The mathematical model and the B&B algorithm developed in the previous sections could solve small to medium-sized instances; however, the time of resolution to solve large-sized instances grows exponentially in the experimental results. Therefore, developing fast heuristic algorithm to yield near-optimal solutions in a reasonable running time is still of great importance. In the next section, a solving method is proposed to solve the problem. 5 Heuristic algorithm In this section, a heuristic algorithm, which is denoted Batching and Scheduling algorithm (B&S), is proposed. This algorithm is composed of two steps, the first one consists in defining the size of the batches and the second one will schedule them according to the different constraints of the problem. The B&S algorithm starts by generating an initial solution through the means of a progressive constructive procedure. Then, the above-mentioned two-steps process is applied until a predefined stop condition is satisfied. At first, some elements of the current solution are constructed. Then, a local improvement phase based on a swap operator is applied to the reconstructed solution in order to improve its quality. Finally, B&S chooses the optimum solution between the current solution and the solution obtained from the improvement procedure. Let us denote that ðqk;clk;BkÞis the notation which will be used for a solution of a batch k, where the first term qk describes the number of jobs in this batch, the second term clkdescribes the customers destination of batch kand the third term Bkis the arrival time of this batch. For example, a solution of three batches, which contains 2, 3 and 2 jobs, respectively, belongs to customers 2, 3 and 1, respectively, and arrives at due dates 1000, 1015 and 1020, respectively, will be written as follows: ½ð21;cl2;1000Þ;ð32;cl3;1015Þ;ð23;cl1;1020Þ Based on the prune rule, the following heuristic algorithm is proposed as follows: for level 0, there is no job. For the first level, which includes only last job n, there is only one possible joint solution which is ð1;cln;BnÞ. For level k (includes qjobs), all ‘‘good’’ solutions for a number of k jobs will be kept. The process to build ‘‘good’’ solutions for level kis described as follows: (1) build solutions of level k by considering all the solutions in the retained ‘‘good’’ solutions of all the previous levels from 1 to ðk1Þ. For each retained solution of level k0k, a new solution of level kis built by simply adding a batch of (kk0Þjobs, if this is possible. Then, this procedure is repeated until the level nis reached. The details of the algorithm (1) are presented as follows: The generation of the initial solution and the construction procedure is represented from line 1 to 4. Then, the batch sizing procedure is represented from line 5 to 17 according Logist. Res. (2016) 9:18 Page 7 of 13 18 123
to a scattering/gathering procedure. The improvement procedure is called in line 14, and then it is described in Algorithm 2. The batch sizing procedure, performed in an iterative way, extends a partial solution by adding one job from a set Jof all jobs. The construction of the good solution advances progressively and in a hierarchical manner. The process starts from the last job and arrives recursively to the first one. The jobs are distributed to the customers to whom they belong, and the batches sizes are defined according to a scattering/gathering procedure described in Algorithm 1. In this algorithm, the number of delivered jobs j varies from 0 to n(line 1). For each level of jdelivered jobs, the different partial solutions are built from the solution of previous levels (\j). Moreover, the necessary number of batches to these solutions is added, to complete the partial solution of level j. After every product addition to level j, the partial solution of this level is completed by adding the necessary delivery scheme to the considered solution in the list of all kept solutions from 0 to (j1), to obtain the new list of solutions of level j. A test of verification of the capacity of the transporter used is done directly after each advancement in level (See line 6 in Algorithm 1). The final step of each level jis denoted in line 15, which is mentioned in Algorithm 1. In this phase, the good solution is memorized and inscribed to level j. After that, a new level ðjþ1;jþ2...Þis started till reaching level n. In the improvement phase, all consecutive batches are swapped, by starting from the last batch recursively to the first one, while the index of the batch is positive (See line 5 in Algorithm 2). After every swap operation, the new solution is kept if it is better than the current solution. If not, a new swap operation is generated. The improvement operation stops when the index of batches equals 0. Let’s take an example to explain the application of the B&S in Algorithm 1, to illustrate the MCBDSP. We consider a problem of three jobs and two customers. The due dates associated with these jobs equal 1000;1100;1150, where jobs 1 and 3 have due dates 1000 and 1150 and belong to customer 1 and job 2 has due date 1100 and belongs to customer 2. The transport delivery cost and time depend upon the customer’s location with (g1¼20;s1¼60 u:tand g2¼15;s2¼40 u:t) belonging to customer 1 and 2, respectively. The customers’ holding costs are defined as follows: (bcl1¼bcl3¼30 and bcl2¼ 15 ), belonging to customer 1 and 2, respectively. The B&S process is described in detail as follows: the process starts by the last job recursively to arrive to the first one. 1. For j¼1; currentJob = 3, there is only one possible joint solution which is ð1;cl1;1150Þ. 2. For j¼2; currentJob j¼3or 2, there are different possible solutions. Firstly, a complementary solution is built by simply adding a batch of (2 1) job to the previous delivery solution. The potential delivery scheme is equal to 2 batches: ½ð1;cl1;1150Þ;ð1;cl2;1100Þ Due to the improvement phase, two solutions could be obtained according to the swap operation which are: ½ð1;cl2;1100Þ;ð1;cl1;1150Þ and ½ð1;cl1;1150Þ;ð1;cl2;1100Þ Then the two potential joint solutions are compared and the good solution is kept, which is: ½ð1;cl2;1100Þ;ð1;cl1;1150Þ 3. For j¼3. currentJob j¼3;2or 1, based on the delivery scheme of the first step, the new delivery schemes are: ½ð1;cl1;1150Þ;ð1;cl2;1100Þ;ð1;cl1;1000Þ and ½ð1;cl1;1150Þ;ð1;cl1;1000Þ;ð1;cl2;1100Þ: 18 Page 8 of 13 Logist. Res. (2016) 9:18 123