Abstract

This paper investigates an integrated scheduling of production and distribution model in a supply chain consisting of a single machine, a customer, and a sufficient number of homogeneous capacitated vehicles. In this model, the customer places a set of orders, each of which has a given release date. All orders are first processed nonpreemptively on the machine and then batch delivered to the customer. Two variations of the model with different objective functions are studied: one is to minimize the arrival time of the last order plus total distribution cost and the other is to minimize total arrival time of the orders plus total distribution cost. For the former one, we provide a polynomial-time exact algorithm. For the latter one, due to its NP-hard property, we provide a heuristic with a worst-case ratio bound of 2.

1. Introduction

Integrated scheduling of production and distribution problem coordinates the scheduling, batching, and delivery decisions at the detailed scheduling level of the supply chain so as to achieve optimal operational performance in a supply chain. The problem has been attracting considerable attention from scheduling researchers as well as operation managers in the past few decades. In this paper, we study a static offline model on scheduling a set of orders, , on a single machine and batch delivering them to the customer. In the production stage, each order , associated with a release date and a processing time , needs to be processed once without interruption. Order cannot be processed before and is required to process time units on the machine. In the distribution stage, completed orders are delivered to the customer in batches by a sufficient number of homogeneous vehicles so that each vehicle will be used at most once and each delivery shipment will be transported by a dedicated vehicle. Without loss of generality, we assume that vehicles () are available at time 0. Each order is packaged into a standard-size pallet for delivery convenience regardless of its size, and each vehicle can deliver at most orders. The delivery cost incurred by each shipment is . Since all orders are delivered to the same customer and the delivery time of any vehicle is the same, we assume without loss of generality that the delivery time is 0. For a given solution, we use , , and to denote the processing completion time of order , the arrival time of order , and total distribution cost, respectively. Additionally, define and . The problem is to find a feasible solution such that one of the following two objective functions is minimized: (1) the arrival time of the last order plus total distribution cost, that is, ; (2) the total arrival time of orders plus total distribution cost, that is, . In the following, let and represent the two variations of model to minimize (1) and (2), respectively.

The researches on integrated scheduling of production and distribution models have been studied extensively in recent years, and the majority of them assume that all orders are available at time 0 (e.g., Hall and Potts [1]; Hall and Potts [2]; Chen and Vairaktarakis [3]; Chen and Pundoor [4]; Ji et al. [5]; Li and Ou [6]; Wang and Cheng [7]; Armstrong et al. [8]; Jiang and Li [9]; Jiang et al. [10]; Li et al. [11]; and Viergutz and Knust [12]). However, in some applications orders have arbitrary release dates. Hence, some related models involving release dates were also studied. Potts [13] was the first to study the model with single machine in which each order is delivered individually and immediately upon its completion. A heuristic with a worst-case ratio bound of 3/2 was proposed to minimize the arrival time of the last order. After that, Hall and Shmoys [14] proposed a better heuristic for the model with a worst-case ratio bound of 4/3. Zdrzałka [15] provided a heuristic with a worst-case ratio bound of 3/2 for a similar model with constraints that preemption is permitted and a sequence-independent setup time is incurred before processing a job. Gharbi and Haouari [16] studied a model with identical-parallel-machine configuration and proposed an exact branch-and-bound algorithm to solve the model. In addition, a polynomial-time approximation scheme was presented for this model by Mastrolilli [17]. Moreover, the single machine online model was also studied by Seiden [18], Hoogeveen and Vestjens [19], and van den Akker et al. [20], respectively. In recent years, batch delivery and delivery cost are involved in the models. Averbakh and Xue [21] and Averbakh [22] assumed that the orders are released online and batch delivered to the customer. To minimize the sum of the total flow time and total delivery cost, they proposed online algorithms for the single machine model with uncapacitated and capacitated deliveries, respectively. Fan [23] presented an approximation algorithm for the offline version of the model with uncapacitated deliveries proposed by Averbakh and Xue [21]. Lu et al. [24] studied an offline single machine model with capacitated deliveries that assumed that only one vehicle is available to deliver orders. They showed that the problem of minimizing the arrival time of the last order is strongly NP-hard and provided a -approximation algorithm. Liu and Lu [25] proposed an improved approximation algorithm for the model, which improved the performance ratio from 5/3 to 3/2. However, to the best of our knowledge, little attention is paid on the offline model with release dates in which the delivery batches are capacitated and delivery cost is considered in the objective functions. For more information, we refer the reader to Chen [26] for a comprehensive review on integrated production-distribution scheduling models.

The model we study in this paper can be viewed as an extension of production scheduling model with release dates. In production scheduling models, the following two functions are analogous to two widely used functions for measuring customer service: total completion time and maximum completion time . In the following, we review some articles on single machine scheduling models with release dates. For ease of presentation, we adopt the well-known three-field notation || introduced by Graham et al. [27], where describes the machine configuration, specifies restrictions and constraints associated with the jobs, and describes the objective function. Baker [28] showed that the preemptive model || is polynomially solvable, whereas Lenstra et al. [29] showed that the nonpreemptive model || is NP-hard in the strong sense. In addition, the model || is polynomially solvable. Lawler [30] pointed out that the nonpreemptive model || is also polynomially solvable. Since both production scheduling with release dates and batch delivery scheduling are considered, our model will be more complex. This leads us to be interested in the computational complexity of and .

In this paper, we analyze the computational complexity of the problems and provide efficient algorithms for the problems, respectively. The paper is organized as follows. In Sections 2 and 3, we study the problems with different objective functions, respectively. In Section 4, we conclude the paper.

2. P1: Minimizing Dmax + T

In this section, we first introduce some optimality properties satisfied for problem . Then, we provide a polynomial-time exact algorithm for it. We now present some preliminary results about the structure of an optimal solution of as follows.

Lemma 1. There exists an optimal solution for problem in which all of the following hold:(1)The orders are delivered in the increasing sequence of their processing completion time.(2)The orders are delivered in shipments, where is the smallest integer no less than . The first shipment contains orders and each of the remaining shipments contains orders.(3)The departure time of each shipment is the time when all the orders in it complete processing.

The above optimality properties are straightforward; we omit the proofs.

Further, we define an Earliest Release Date first (ERD) rule. That is, a set of customer orders is in ERD order if the customer orders are sequenced in a nondecreasing order of their release dates, and the customer orders with equal release dates are sequenced in the arbitrary order.

Lemma 2. There exists an optimal solution for problem in which the customer orders are scheduled in ERD order.

Proof. By Lemma 1, the orders are delivered by vehicles in an optimal solution of problem , which is independent of how the orders are scheduled on the machine. Hence, problem is reduced to minimizing . Because the delivery time of each shipment is assumed to be 0, we have for a given solution, in which is the maximum processing completion time of orders. As a result, the optimal solution of single machine makespan scheduling problem with release dates || is an optimal order processing schedule of problem . Note that ERD rule provides an optimal solution for problem || [30]. Hence, ERD rule provides an optimal order processing schedule for problem .

Based on the results stated in Lemmas 1 and 2, an exact algorithm for problem is given as follows.

Algorithm EA

Step 1. Place all orders in a list in ERD order. Reindex the orders by their position in the list. Set current instant .

Step 2. Choose the first unscheduled order of the list. Schedule it to process at instant . Set . Repeat Step 2 until all orders are scheduled.

Step 3. Deliver the orders such that they satisfy Lemma 1.

In algorithm EA, the majority of computation time is used for sorting orders in Step 1, which takes time. Hence, we have the following.

Theorem 3. Algorithm EA finds an optimal solution of problem in time.

3. P2: Minimizing Dtotal + T

When delivery cost of each shipment is ignored, that is, , problem is reduced to problem ||, which is known to be NP-hard in the strong sense [29]. Thus, problem is also NP-hard in the strong sense. To solve problem , we first study an auxiliary problem . Everything else in problem is the same as in problem except that preemption is allowed; that is, order processing can be preempted and resumed later. We first introduce an optimality property of related to the Shortest Remaining Processing Time first (SRPT) rule, which prescribes to process at each instant the job with the smallest remaining processing time among all already released unfinished jobs, with some unambiguous rule for breaking ties. For example, the jobs can be indexed, and in case of a conflict between jobs with equal remaining processing times, the job with the smallest index would be given priority; such rule is called lexicographic [22]. According to this definition, there is exactly one SRPT order for a given set of jobs. Moreover, for two classical preemptive problems | and ||, the SRPT rule provides an optimal solution [28]. Pruhs et al. [31] also presented the following result.

Lemma 4. In the SRPT job schedule, at any instant the number of processed jobs is not smaller than in any other job schedule.

According to Lemma 4, we obtain the following result satisfied for problem .

Lemma 5. There exists an optimal solution for problem in which the orders are processed in the sequence ordered by SRPT rule on the machine.

Proof. Suppose that there exists an optimal solution in which the order processing schedule does not follow the SRPT rule. Denote the number of vehicles used in this solution by . Let be the arrival time of vehicle and the number of the finished orders in time in this solution, . Clearly, . Then, the total arrival time of orders in this solution is equal toBy Lemma 4, at any instant the number of processed orders in the SRPT order processing schedule is the biggest one in all order processing schedules. In addition, , for . Hence, we can rearrange the jobs in the SRPT order without increasing . Also, because the SRPT rule provides an optimal solution for ||, the SRPT order processing schedule is the one in which is minimized. Therefore, we can rearrange the customer orders in the SRPT order without increasing the objective value.

Without loss of generality, we assume that the customer orders are indexed in SRPT order so that . The following dynamic programming algorithm finds an optimal solution for .

Algorithm DP. Define value function = minimum total cost contribution of a solution for the first orders .Initial condition: .Recursive relation: for ,Optimal solution value: it is .

Theorem 6. Algorithm DP finds an optimal solution of problem in time.

Proof. By Lemma 5, in a solution for the first order , where the production schedule follows SRPT rule, the departure time of the last vehicle is always . This implies that the delivery time of all the orders in the last vehicle is . In the recursive relation, the value function is computed by trying every possible size of the last vehicle. Given that the size of the last vehicle is , the total cost contributed by the last vehicle is , where is the contribution to the total delivery time and is the distribution cost. This proves the correctness of the recursive relation and hence the optimality of the algorithm. There are states in this DP, and it takes no more than time to calculate the value for each state. Sorting the orders by SRPT rule takes time. Therefore, the overall time complexity of DP is bounded by .

Corollary 7. The value generated by algorithm DP is a lower bound of the optimal objective value of .

Proof. Because the optimal solution of is a feasible solution of , the optimal objective value of is no larger than that of . By Theorem 6, the solution obtained by algorithm DP is an optimal one for problem . Hence, the value generated by algorithm DP is a lower bound of the optimal objective value of .

In the remainder of this section, we present a polynomial-time heuristic for problem and analyze its worst-case performance.

Heuristic HA

Step 1. Run algorithm DP to obtain a basic solution . Denote the number of vehicles used in this solution by . Let be denoted as the processing completion time of order , for . Place all orders in a list sorted by an increasing order of their processing completion times in this basic solution. Reindex the orders by their position in the list. Set current instant .

Step 2. Choose the first unscheduled order of the list. Schedule it to process at instant . Set . Repeat Step 2 until all orders are scheduled.

Step 3. Use vehicles to deliver orders. Each vehicle delivers the same orders as in . The departure time of each vehicle is the time when all the orders in it complete processing. Denote the resulting solution by .

Clearly, the time complexity of heuristic HA is because the majority of its computation time is to run algorithm DP. Next, we analyze its worst-case performance. Denote the optimal objective value of problems and by and , respectively. Let be denoted as the contribution of solution to the objective value of problem .

Theorem 8. ; that is, the worst-case ratio of heuristic HA is bounded by 2.

Proof. In , let be the order in vehicle with largest processing completion time , . Clearly, . Because there is no idle time between instant and , we haveDenote the arrival time of order in by , for . Let be denoted as the arrival time of vehicle in , . For each order in vehicle , we have . This implies that . In addition, . Hence, we have . Consequently, . Then,Since the numbers of vehicles used in and are equal, the distribution cost of these solutions is also identical. Hence, . By Corollary 7, we have . Hence, .

4. Conclusions

In this paper, we have studied two variations of the integrated scheduling of production and distribution model with release dates and capacitated deliveries, each of which has a different objective function. The first variation is to minimize the arrival time of the last order plus total distribution cost; we first presented some optimality properties satisfied for the variation. Adopting these optimality properties, we proposed a polynomial-time exact algorithm which implies that this problem is easy. The second variation is to minimize total arrival time of the orders plus total distribution cost; due to its NP-hard property, we developed a heuristic for it. In this heuristic, we first construct an auxiliary problem which is the problem with preemptions and develop a dynamic programming algorithm for the auxiliary problem. Then we propose the heuristic based on the solution obtained by the dynamic programming algorithm. Finally, we analyze its worse-case performance and show that its worst-case ratio is bounded by 2.

For future research, it will be worth extending the existing model to parallel machines and developing effective and efficient algorithms.

Competing Interests

The authors declare that there are no competing interests regarding the publication of this paper.

Acknowledgments

This research was supported in part by the National Natural Science Foundation of China (71501051), the Humanities and Social Sciences Research Foundation of Ministry of Education of China (13YJC630239), and the Foundation for Distinguished Young Teachers in Higher Education of Guangdong Province (YQ201403).