Abstract

We consider an integrated production and distribution scheduling problem faced by a typical make-to-order manufacturer which relies on a third-party logistics (3PL) provider for finished product delivery to customers. In the beginning of a planning horizon, the manufacturer has received a set of orders to be processed on a single production line. Completed orders are delivered to customers by a finite number of vehicles provided by the 3PL company which follows a fixed daily or weekly shipping schedule such that the vehicles have fixed departure dates which are not part of the decisions. The problem is to find a feasible schedule that minimizes one of the following objective functions when processing times and weights are oppositely ordered: (1) the total weight of late orders and (2) the number of vehicles used subject to the condition that the total weight of late orders is minimum. We show that both problems are solvable in polynomial time.

1. Introduction

An increasing number of companies now adopt make-to-order business models in which products are custom-made and delivered to customers within a very short lead time directly from the factory. Consequently, there is little or no finished product inventory in the supply chain such that production and outbound distribution are intimately linked and must be scheduled jointly. A majority of the companies worldwide rely on the 3PL providers for their daily distribution and other logistics needs [1]. 3PL providers often follow a fixed daily or weekly schedule for serving their customers. For example, many package delivery service providers such as UPS and FedEx have daily fixed package pickup times; and most 3PL rail, ocean, and air freight service providers have a fixed weekly schedule for a specific origin-destination pair.

In this paper, we study integrated production and outbound distribution scheduling decisions commonly faced by many manufacturers that operate in a make-to-order mode and rely on a 3PL provider for finished product delivery to customers where the 3PL provider follows a fixed delivery schedule. Examples of such manufacturers include most high-end custom-made consumer electronics product manufacturers based in Asia that rely on air flights (which have fixed departure times) to deliver finished products to the US and European markets. The production and distribution scheduling problem faced by such a manufacturer can be described as follows. At the beginning of a planning horizon, the manufacturer has received a set of independent orders from its customers to be processed on a single assembly line. Order has a processing time , a weight and a desired due date which is negotiated and agreed on by the manufacturer and the customer who placed the order. Finished orders are delivered by vehicles which have fixed departure times. In the planning horizon, there are possible vehicle departure time instants , whereby at time , , there are vehicles available for delivery. In the air flight case, each vehicle represents an air freight container. Based on a contractual agreement between the manufacturer and the 3PL provider, the manufacturer can use a certain number (e.g., ) of containers available on a given flight with departure time . Usually the 3PL provider charges the manufacturer a fixed transportation cost for each air freight container used. Thus, the total transportation cost is represented by the total number of vehicles (i.e., total number of containers) used. Each order is packaged into a standard-size pallet for delivery convenience regardless of the order size. Each vehicle can deliver at most orders (e.g., in the air flight case, each container can hold up to pallets). The vehicles can only deliver orders that are completed by time . A feasible schedule is one in which each order has completed processing and delivered by one of the available vehicles. Without loss of generality, we may assume that ; otherwise, there is at least one order that cannot be delivered and hence there is no feasible schedule.

In a given feasible schedule, if order is delivered at time and , we define to be 1; if order is delivered at time and , we define to be 0. We say in a given feasible schedule an order is early if and late if . The minimum total weight of late orders measures the delivery timeliness relative to the customers desired due dates and is one of the most commonly used measurements in practice. The problem of minimizing is NP-hard as it contains the NP-hard classical single-machine total weight of late orders scheduling problem [2] as a special case when the delivery part is not considered. In this paper, we consider the special case of the problem in which processing times and weights are oppositely ordered; that is, if , then for all . That processing times and weights are oppositely ordered is the case in many practical applications. For example, when production resources are comparative shortage, one would prefer the order with shorter processing time. Our problem is to find a feasible schedule that minimizes one of the following objective functions: and the number of vehicles used subject to the condition that is minimum. We show that all two problems are solvable in polynomial time.

Research on integrated production and outbound distribution scheduling problems is relatively recent but has attracted a rapidly growing interest in the last several years [3]. In most of the problems considered in the literature, vehicle departure times are not fixed and need to be determined along with other decisions. Only a handful of problems considered in the literature involve fixed vehicle departure times. Such problems can be classified into two types based on vehicle availability. One type assumes that there are infinite number of vehicles available at each departure time, whereas the other type assumes that there are a limited number of vehicles available at each departure time. Stecke and Zhao [4], Melo and Wolsey [5], and Zhong et al. [6] all consider similar problems with an infinite number of vehicles where each order has a deadline which has to be satisfied and the objective is to minimize the total transportation cost. Their problems differ slightly in the structure of the transportation cost. Since the focus of this paper is on problems with a finite number of vehicles, we do not review these papers in detail.

Li et al. [79] and Zandieh and Molla-Alizadeh-Zavardehi [10] study several similar problems with a finite number of vehicles at each departure time which are all motivated by applications involving synchronizing assembly operations of consumer electronics products such as PCs and air transportation schedules. Orders may have different sizes and the capacity of a vehicle is measured by the total size (weight or volume) of orders that it can carry. There is an earliness or tardiness penalty if an order is delivered earlier or later than the due date. The objective is to minimize the total transportation cost and total weighted earliness and tardiness penalty. Li et al. [9] consider the case where all the orders are processed on a number of parallel production lines, whereas the other papers consider the case with a single production line. The problems are strongly NP-hard as they contain the strongly NP-hard classical single-machine total weighted tardiness scheduling problem [11] as a special case when the delivery part is not considered. These papers propose various heuristics for solving their problems. Wang et al. [12] study a problem with a finite number of vehicles which involves coordinating mail processing and distribution schedules at a mail processing and distribution center. The objective is to minimize the total unused vehicle capacity. The authors show that this problem is strongly NP-hard and propose dispatching rules and heuristics.

Fu et al. [13] consider a problem where there is a limit on the total delivery capacity at each departure time. Each order has a delivery departure deadline, a production window, a size, and a profit. The problem is to select a subset of orders to accept so as to maximize the total profit of the accepted orders under the constraint that each accepted order is processed within its production window, the delivery of this order is departed by its delivery departure deadline, and the total size of the orders delivered at each departure time does not exceed the available vehicle capacity limit. The problem is strongly NP-hard as it contains the bin packing problem as its special case when only the delivery part is considered. The authors propose a polynomial time approximation scheme for the problem.

Leung and Chen [14] discuss an integrated production and distribution scheduling problem. In the beginning of a planning horizon, the manufacturer has received a set of orders to be processed on a single production line. Completed orders are delivered to customers by a finite number of vehicles provided by the 3PL company which follows a fixed daily or weekly shipping schedule such that the vehicles have fixed departure dates. The problem is to find a feasible schedule that minimizes one of the following objective functions: (a) the maximum lateness of orders, (b) the number of vehicles used subject to the condition that the maximum lateness is minimum, and (c) the weighted sum of the maximum lateness and the number of vehicles used. They show that all three problems are solvable in polynomial time.

The remainder of this paper is organized as follows. In Section 2, we give a simple algorithm to check the feasibility of a given instance of the problem. In Sections 3 and 4, we give polynomial time algorithms to solve problems (1) and (2), respectively. We conclude the paper in Section 5.

2. Feasibility

Given an instance of the problem, we first need to determine whether there is any feasible schedule. The following Algorithm FD come from Leung and Chen [14] and are stated. The idea is to schedule the orders in Smallest-Processing-Time first (SPT) order. Let be a SPT schedule. Let denote the set of orders completed in the interval in . Let be any integer greater than . We then assign the orders to the vehicles by the following algorithm.

Algorithm FD

Input. An SPT schedule . For each departure time , for , there are vehicles available for delivery at .

Output. “Yes” if it is possible to deliver all the orders in the schedule , “No” otherwise.

Method(1); .(2)For to do the following:(a) assign the orders in to one of the vehicles available at time ;after an order is assigned to a vehicle, it is removed from ;(b) if all of the vehicles are full and there is still at least one unassigned order in , then put all the unassigned orders into ;(3)if then return “Yes,” else return “No.”If the algorithm returns “Yes,” then there is a feasible schedule; otherwise, there is no feasible schedule. The overall running time of the algorithm is time.

Let be a SPT schedule of the instance of the problem. Clearly, there is no feasible schedule for the instance of the problem if and , where . In the remainder of this paper, we will assume that there is a feasible schedule for the given instance.

3. Total Weight of Late Orders

In this section we give a polynomial-time algorithm to solve the total weight of late orders problem. For each , let and for each , let . Clearly, an order is early if and only if it is completed and delivered by time for a given schedule. The following algorithm decides whether there is a feasible schedule that minimizes the total weight of late orders. To break ties when sequencing the orders in decreasing order of their weights, we employ the last-in first rule; that is, we arrange order before order if is merged into a set of orders and , where .

Algorithm WF

Input. and .

Output. A feasible schedule that minimizes the total weight of late orders.

Method(1); . . .(2) For down to 1 do the following.(2.1)Let be all the orders in , arranged in decreasing order of their weights.(2.2)If , then update and , where are the first orders from .(2.3).(2.4)Schedule the orders in from time to . These orders will be delivered by the vehicles available at time .(2.5).(2.6)If , find such that , where . Update , , , , , and ; return to .(3)Stop. The schedule is an optimal feasible schedule, where the orders in will be delivered by the vehicles available at time and .

Algorithm WF consists of iterations. For ease of presentation, we present the detailed output data obtained by the iterations as follows: where for , , , , and .

The following lemma describes some properties of the data obtained by Algorithm WF.

Lemma 1. Let the data in (1) be obtained by Algorithm WF. All of the following hold:(i), (ii),(iii)for each and , and is a late order if the orders in are delivered at time .

Proof. Let , , and be the output data obtained by the first iteration of Algorithm WF. Then, we have that , for , and , . We now run the second iteration on the data . It follows from Steps (2.1) and (2.2) that if and otherwise, where . Since order processing times and order weights are oppositely ordered, we have . In either case, . This implies that . Further, we have that for , where . This implies that for , . Thus, holds. The proof of the following inequalities in (i) is similar to that of the first inequality. We conclude that (i) holds.
By Algorithm WF, we have that and , where and . Due to (i), . By (2), if . In the case, since , we have that . By (3), if , where . In the case, since , along with , we have that . Thus, the first inequality in (ii) holds. The proof of the following inequalities in (ii) is similar to that of the first inequality. We conclude that (ii) holds.
For any , suppose . Clearly, is a late order if it is delivered at time , where . To show (iii), there are two cases to consider: (a) and (b) .
(a) Consider . Assume that does not hold. It follows from the argument of (i) that , , and ; that is, . This, along with , that is, , implies that, for any and , . Thus, we have that there is a SPT schedule such that and , where and . This implies that there is no feasible schedule for the instance of the problem, which contradicts the assumption that there is a feasible schedule for the given instance. Thus, and is a late order if the orders in are delivered at time . Further, it follows from the argument of (i) that if and   if , where . This, along with and merged into before , implies that and is a late order if the orders in are delivered at time . Similarly, we can show and is a late order if the orders in are delivered at time for .
(b) Consider . Note the fact that order is pushed by the iterations from into . By Steps (2.1) and (2.2), we have that for and . This implies . Otherwise, it follows from the argument of (i) that , , and , and then we have that , , and . Similar to the argument of case (a), we can derive a contradiction. Similarly, we can show and is a late order if the orders in are delivered at time for . This ends the proof for (iii).

Theorem 2. Algorithm WF correctly finds a feasible schedule that minimizes the total weight of late orders in time.

Proof. We first prove that has not only exactly late orders but also the maximum total processing time and the minimum total weight of late orders among all schedules for , where and if . By the definition of and Steps (2.1) and (2.2) of Algorithm WF, we have that is a set of early orders delivered at time with the maximum total processing time among all schedules. Similarly, we have that is a set of early orders with the maximum total processing time among all schedules for .
By (2) and (3), we have that if and if where . This, along with (iii) of Lemma 1, and being a set of early orders with the maximum total processing time among all schedules, implies that has not only exactly a late order but also the maximum total processing time and the minimum weight among all schedules. Further, by Steps (2.1) and (2.2) of Algorithm WF, we have that has not only exactly a late order but also the maximum total processing time and the minimum weight among all schedules for . Similarly, we can show the result for .
We below prove that is a feasible schedule minimizing the total weight of late orders. By Algorithm WF, the feasibility is obvious. For any feasible schedule , where the orders in are delivered at time for , we have that contains at least a late order. Otherwise, by , we have that . This contradicts the feasibility of . Given that contains at least a late order, contains at least two late orders. Otherwise, contains a late order. By , we have that . This contradicts the feasibility of . Similarly, we can show that contains late orders at least for . Thus, is a feasible schedule minimizing the number of late orders. This, along with being the minimum total weight, implies that Algorithm WF correctly finds a feasible schedule that minimizes the total weight of late orders.
We now show that the algorithm can be implemented to run in time. The algorithm consists of iterations at most since there are late orders at most. To calculate the complexity of the algorithm we first calculate in a preprocessing step the sets and . The calculation of the set takes . The calculation of the set takes also. Step takes time. Step is iterated times. Within each iteration, the most time-consuming step is Step , sorting the orders in decreasing order of their weights, which takes time. Hence Step takes time. Thus, the overall running time of the algorithm is time.

4. Number of Vehicles Used

In this section we show that the problem of minimizing the number of vehicles used subject to the constraint that the total weight of late orders is minimum can be solved in polynomial time. We assume that we have found the schedule that minimizes the total weight of late orders using the algorithm given in the previous section. The schedule was obtained by Algorithm WF. By the fact that if , then each order in is an early order and will be a late order if we push the order to be delivered by vehicles at . Thus, either there is no feasible schedule or the total weight of late orders will be increased if we push some order in to be delivered by vehicles at . By the optimality of , we have that the total weight of late orders will not be decreased if we push some order in to be delivered by vehicles at . The following algorithm finds a solution with a minimum number of vehicles used under the constraint that the total weight of late orders is minimum by pushing some orders to an earlier departure time for delivery.

Algorithm MV

Input. sets of orders given by Algorithm WF.

Output. A vehicle assignment: , where the orders in will be delivered by the vehicles available at time , so that the number of vehicles used is minimum.

Method(1). .(2)For down to 1 do the following.(a)Let be all the orders in , arranged in nondecreasing order of their processing times, and , where and are nonnegative integers, and and is the set of the first orders from .(b) If , then update and , and the orders in will be delivered by the vehicles at time and proceed to the next .(c) Let be the first orders from , where is the maximal nonnegative integer such that .(d) If , then update , , and and the orders in will be delivered by the vehicles available at time and proceed to the next .(e) Call Subalgorithm CA to computer . Then update and , and the orders in will be delivered by the vehicles at time and proceed to the next .

Subalgorithm CA(1) the first orders from , arranged in nondecreasing order of their processing times.(2)Sort the orders in in ascending order of their processing times.(3)If , then stop and output .(4) For to , let .(5) the first orders from .(6) For down to 1 do the following.(a) Sort the orders in in ascending order of their processing times.(b) If ,(b1) if , stop and output ;(b2)update the first orders from and return .(c) If , then stop and output .(d) If , stop and output if and update the first orders from and return else.(e) Update the first orders from and proceed to the next .

Theorem 3. Algorithm MV finds an optimal solution with the minimum number of vehicles used under the constraint that the total weight of late orders is minimum in time.

Proof. We first point out that the solution by Algorithm MV does not change the optimality of the total weight of late orders, since the solution is found by pushing some orders in to an earlier departure time for delivery.
Let and be the output data obtained by the first iteration of Algorithm MV, where and is the set of the first orders from (the orders of have been arranged in nondecreasing order of their processing times). Step (b) corresponds to the case where , where the set of the first orders from and . In the case, It is impossible to deliver all orders in by the vehicles at . This, along with consisting of the first orders from , means that the number of vehicles used at cannot decrease by one. Thus, is the minimal number of vehicles used at . However, we cannot push part of orders in to be delivered by vehicles at , since, if we do that, it not only does not decrease the number of vehicles used at but also increases the amount of orders delivered by vehicles at . In the case, the data and are optimal. Under the case of , Step (c) computes the set of orders which made the minimal number possibly of vehicles used at , where are the first orders from . This is because is the maximal nonnegative integer such that and consists of some small orders in . Step (d) corresponds to the case where . This means that we can push all of orders in to be delivered by vehicles at . Thus, in the case, the output data and make the minimal number of vehicles used at . Under the case of , Step (e) calls Subalgorithm CA to decide a set of orders such that is the minimal number of vehicles used at , where . We show below that Subalgorithm CA can really do that.
Subalgorithm CA consists of main iterations for the first orders, the first orders, , and the first orders from , respectively. We now run the first main iteration for the first orders from . Due to the corresponding case by Step (e), we have that and . We need to proceed through Step . Step assigns the orders in to a temporary set for each from to . This is necessary since Subalgorithm CA operates on without changing the content of . Step assigns the first orders from to a set . If we want to push the orders in to be delivered by vehicles at , all orders of are the minimal increment undertaken by vehicles at to deliver. Now we proceed through Step .
Step consists of secondary iterations. We now run the first secondary iteration. If , it is impossible to deliver all orders in by the vehicles at . This means that the number of vehicles used at should to be at least . Step (b1) corresponds to the case where and outputs . This, along with and , implies that is the minimal number of vehicles used at . Step (b2) corresponds to the case where and starts the second main iteration for the first orders from to check whether it is possible to push the orders in to be delivered by vehicles at . On the other hand, . Step (c) corresponds to the case where . This means that we can push all of orders in to be delivered by vehicles at and . Thus, the output data by Step (c) and make the minimal number of vehicles used at . Otherwise, Step (e) starts the second secondary iteration to check whether it is possible to push the orders in a set of the first orders from to be delivered by vehicles at . Similarly, we can show the result for the following secondary iterations. If needed, we proceed through the last secondary iteration. Suppose that is a set of orders output by the th secondary iteration. In the case of , Step (b1) outputs if and Step (b2) starts the second main iteration for the first orders from else. In the case of , Step (c) outputs data if . Otherwise, Step (d) outputs if and starts the second main iteration for the first orders from else, since it is impossible to deliver all orders in the set of the first orders from by the vehicles at . Similarly, we can show the result for the following main iterations in Subalgorithm CA, which can really decide a set orders such that is the minimal number of vehicles used at , where . For the following iterations in Algorithm MV, we can show the results similarly. At last, the algorithm must be able to find an optimal solution with the minimum number of vehicles used.
We now look at the time complexity of Algorithm MV. In the algorithm, Step takes constant time. Step is iterated times. Inside the iteration loop, the most time-consuming steps are (a) and (e). Step (a) calls for sorting the orders which takes time. Step (e) calls Subalgorithm CA which takes time. Thus, the overall time complexity of Algorithm MV is .

5. Conclusion

In this paper, we have given polynomial-time algorithms for minimizing: the total weight of late orders and the number of vehicles used subject to the condition that the total weight of late orders is minimum. An interesting open question is whether the problem related to release dates is NP-hard or not.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This work was supported in part by the Zhejiang Natural Science Foundation of China Grant Y6110054.