Skip to main content
The Scientific World Journal logoLink to The Scientific World Journal
. 2015 Feb 16;2015:804968. doi: 10.1155/2015/804968

Integrated Production and Distribution Scheduling Problems Related to Fixed Delivery Departure Dates and Weights of Late Orders

Shanlin Li 1,*, Maoqin Li 1
PMCID: PMC4345271  PMID: 25785285

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 J = {J 1, J 2,…, J n} of n independent orders from its customers to be processed on a single assembly line. Order J i has a processing time p i, a weight w i and a desired due date d i 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 z possible vehicle departure time instants T 1, T 2,…, T z, whereby at time T j, 1 ≤ jz, there are v j 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., v j) of containers available on a given flight with departure time T j. 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 C orders (e.g., in the air flight case, each container can hold up to C pallets). The v j vehicles can only deliver orders that are completed by time T j. 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 T z ≥ ∑i=1 n p i; 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 J i is delivered at time T j and T j > d i, we define U i to be 1; if order J i is delivered at time T j and T jd i, we define U i to be 0. We say in a given feasible schedule an order J i is early if U i = 0 and late if U i = 1. The minimum total weight of late orders ∑i=1 n w i U i 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 ∑i=1 n w i U i 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 w i < w j, then p ip j for all J i, J jJ. 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: (1)∑i=1 n w i U i and (2) the number of vehicles used subject to the condition that ∑i=1 n w i U i 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 S be a SPT schedule. Let S(T i, T j) denote the set of orders completed in the interval (T i, T j] in S. Let T z+1 be any integer greater than T z. We then assign the orders to the vehicles by the following algorithm.

Algorithm FD

Input. An SPT schedule S. For each departure time T j, for 1 ≤ jz, there are v j vehicles available for delivery at T j.

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

Method

  1. S(T z, T z+1): = ; T 0 : = 0.

  2. For j = 1 to z do the following:

    • (a)
      assign the orders in S(T j−1, T j) to one of the v j vehicles available at time T j;
    • after an order is assigned to a vehicle, it is removed from S(T j−1, T j);
    • (b)
      if all of the v j vehicles are full and there is still at least one unassigned order in S(T j−1, T j), then put all the unassigned orders into S(T j, T j+1);
  3. if S(T z, T z+1) = 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 O(nlog⁡⁡n) time.

Let (S 1, S 2) be a SPT schedule of the instance of the problem. Clearly, there is no feasible schedule for the instance of the problem if |S 2| = ∑j=k z v j C and ∑JiS1 p i > T k−1, where 1 ≤ kz. 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 1 ≤ in, let di¯=max{TmTmdi,1mz} and for each 1 ≤ jz, let N0,j={Jidi¯=Tj,1in}. Clearly, an order J iN 0,j is early if and only if it is completed and delivered by time T j 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 J j before order J i if J j is merged into a set of orders S and w j = w i, where J iS.

Algorithm WF

Input. J and N 0,1,…, N 0,z.

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

Method

  1. P = ∑i=1 n p i; t : = 0. T 0 : = 0. N 0,0 : = .

  2.  For j = z down to 1 do the following.

    • (2.1)
      Let R t,j be all the orders in N t,j, arranged in decreasing order of their weights.
    • (2.2)
      If v j C < |R t,j|, then update N t,j−1 : = N t,j−1F t,j and R t,j : = R t,jF t,j, where F t,j are the first |R t,j| − v j C orders from R t,j.
    • (2.3)
      p : = ∑JiRt,j p i.
    • (2.4)
      Schedule the orders in R t,j from time Pp to P. These orders will be delivered by the vehicles available at time T j.
    • (2.5)
      P : = Pp.
    • (2.6)
      If P > T j−1, find J ltN t,jl such that w lt = min⁡{w iJ i ∈ ⋃i=0 j−1 N t,i}, where 0 ≤ j lj − 1. Update N t,0 : = N t,0, N t,1 : = N t,1,…, N t,jl−1 : = N t,jl−1, N t,jl : = N t,jl∖{J lt}, N t,jl+1 : = N t,jl+1,…, N t,j−1 : = N t,j−1, N t,j : = R t,j,…, N t,z−1 : = R t,z−1, N t,z : = R t,z ∪ {J lt}, and t : = t + 1; return to (2).
  3. Stop. The schedule (R t,1,…, R t,z) is an optimal feasible schedule, where the orders in R t,j will be delivered by the vehicles available at time T j and ∑i=0 t−1 w li = min⁡∑w j U j.

Algorithm WF consists of t + 1 iterations. For ease of presentation, we present the detailed output data obtained by the t + 1 iterations as follows:

R0,j0,,R0,z,Jl0,wl0;;Rt1,jt1,,Rt1,z,Jlt1,wlt1;Rt,1,,Rt,z, (1)

where for k = 0,1,…, t − 1, 1 ≤ j kz, P − ∑Ji∈⋃j=jkzRk,j p i > T jk−1, J lkJ∖⋃j=jk z R k,j, and w lk = min⁡{w iJ iJ∖⋃j=jk z R k,j}.

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:

  1. j 0j 1 ≥ ⋯≥j t = 1,

  2. w l0w l1 ≤ ⋯≤w lt−1,

  3. for each 0 ≤ kt − 1 and k + 1 ≤ it, J lk ∈ ⋃j=jk z R i,j and is a late order if the orders in R i,j are delivered at time T j.

Proof —

Let (R 0,j0,…, R 0,z), J l0, and w l0 be the output data obtained by the first iteration of Algorithm WF. Then, we have that P − ∑Ji∈⋃j=mzR0,j p iT m−1, |R 0,m| ≤ v m C for m = z, z − 1,…, j 0 + 1, and P − ∑Ji∈⋃j=j0zR0,j p i > T j0−1, |R 0,j0| ≤ v j0 C. We now run the second iteration on the data (N 1,0, N 1,1,…, N 1,z). It follows from Steps (2.1) and (2.2) that R 1,z = R 0,z ∪ {J l0} if |R 0,z| < v z C and R 1,z = R 0,z ∪ {J l0}∖{J l} otherwise, where w l = max⁡{w iJ iR 0,z ∪ {J l0}}. Since order processing times and order weights are oppositely ordered, we have p l = min⁡{p iJ iR 0,z ∪ {J l0}}. In either case, ∑JiR1,z p i ≥ ∑JiR0,z p i. This implies that P − ∑JiR1,z p iP − ∑JiR0,z p iT z−1. Further, we have that for m = z − 1,…, j 0,

j=mzR1,j=j=mzR0,jJl0ifj=mzR0,j<j=mzvjC, (2)
j=mzR1,j=j=mzR0,jJl0Jlifj=mzR0,j=j=mzvjC, (3)

where p l = min⁡{p iJ i ∈ ⋃j=m z R 0,j ∪ {J l0}}. This implies that for m = z − 1,…, j 0 + 1, P − ∑Ji∈⋃j=mzR1,j p iP − ∑Ji∈⋃j=mzR0,j p iT m−1. Thus, j 0j 1 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 J l0J∖⋃j=j0 z R 0,j and J l1J∖⋃j=j1 z R 1,j, where w l0 = min⁡{w iJ iJ∖⋃j=j0 z R 0,j} and w l1 = min⁡{w iJ iJ∖⋃j=j1 z R 1,j}. Due to (i), j 0j 1. By (2), ⋃j=j0 z R 1,j = ⋃j=j0 z R 0,j ∪ {J l0} if ∑j=j0 z|R 0,j| < ∑j=j0 z v j C. In the case, since J∖⋃j=j0 z R 0,jJ∖⋃j=j1 z R 1,j, we have that w l0w l1. By (3), ⋃j=j0 z R 1,j = ⋃j=j0 z R 0,j ∪ {J l0}∖{J l} if ∑j=j0 z|R 0,j| = ∑j=j0 z v j C, where w l = max⁡{w iJ i ∈ ⋃j=j0 z R 0,j ∪ {J l0}}. In the case, since J∖⋃j=j0 z R 0,j⊇{J l} ∪ J∖⋃j=j1 z R 1,j, along with w lw l0, we have that w l0w l1. Thus, the first inequality w l0w l1 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 k ∈ {0,1,…, t − 1}, suppose J lkN 0,k0. Clearly, J lk is a late order if it is delivered at time T j, where k 0 < jz. To show (iii), there are two cases to consider: (a) k 0 < j k and (b) k 0j k.

(a) Consider k 0 < j k. Assume that J lk ∈ ⋃j=jk z R k+1,j does not hold. It follows from the argument of (i) that ∑j=jk z|R k,j| = ∑j=jk z v j C, ⋃j=jk z R k+1,j = ⋃j=jk z R k,j, and w lk = max⁡{w iJ i ∈ ⋃j=jk z R k,j ∪ {J lk}}; that is, p lk = min⁡{p iJ i ∈ ⋃j=jk z R k,j ∪ {J lk}}. This, along with w lk = min⁡{w iJ iJ∖⋃j=jk z R k,j}, that is, p lk = max⁡{p iJ iJ∖⋃j=jk z R k,j}, implies that, for any J i1J∖⋃j=jk z R k,j and J i2 ∈ ⋃j=jk z R k,j, p i1p i2. Thus, we have that there is a SPT schedule (S 1, S 2) such that |S 2| = ∑j=jk z v j C and ∑JiS1 p i > T jk−1, where S 1 = J∖⋃j=jk z R k,j and S 2 = ⋃j=jk z R k,j. 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, J lk ∈ ⋃j=jk z R k+1,j and is a late order if the orders in R k+1,j are delivered at time T j. Further, it follows from the argument of (i) that ⋃j=jk z R k+2,j = ⋃j=jk z R k+1,j ∪ {J lk+1} if ∑j=jk z|R k+1,j| < ∑j=jk z v j C and  ⋃j=jk z R k+2,j = ⋃j=jk z R k+1,j ∪ {J lk+1}∖{J l} if ∑j=jk z|R k+1,j| = ∑j=jk z v j C, where w l = max⁡{w iJ i ∈ ⋃j=jk z R k+1,j ∪ {J lk+1}}. This, along with w lkw lk+1 and J lk merged into ⋃j=jk z R k+1,j before J lk+1, implies that J lk ∈ ⋃j=jk z R k+2,j and is a late order if the orders in R k+2,j are delivered at time T j. Similarly, we can show J lk ∈ ⋃j=jk z R i,j and is a late order if the orders in R i,j are delivered at time T j for i = k + 3,…, t.

(b) Consider k 0j k. Note the fact that order J lk is pushed by the iterations from N 0,k0 into J∖⋃j=jk z R k,j. By Steps (2.1) and (2.2), we have that |R k,j| = v j C for j = j k,…, k 0 and w lk = max⁡{w iJ i ∈ ⋃j=jk k0 R k,j}. This implies J lk ∈ ⋃j=k0+1 z R k+1,j  (⊆⋃j=jk z R k+1,j). Otherwise, it follows from the argument of (i) that ∑j=k0+1 z|R k,j| = ∑j=k0+1 z v j C, ⋃j=k0+1 z R k+1,j = ⋃j=k0+1 z R k,j, and w lk = max⁡{w iJ i ∈ ⋃j=k0+1 z R k,j ∪ {J lk}}, and then we have that ∑j=jk z|R k,j| = ∑j=jk z v j C, ⋃j=jk z R k+1,j = ⋃j=jk z R k,j, and w lk = max⁡{w iJ i ∈ ⋃j=jk z R k,j ∪ {J lk}}. Similar to the argument of case (a), we can derive a contradiction. Similarly, we can show J lk ∈ ⋃j=jk z R i,j and is a late order if the orders in R i,j are delivered at time T j for i = k + 2,…, t. This ends the proof for (iii).

Theorem 2 . —

Algorithm WF correctly finds a feasible schedule that minimizes the total weight of late orders in O(zn 2log⁡⁡n) time.

Proof —

We first prove that ⋃j=jk z R k,j has not only exactly k late orders {J l0,…, J lk−1} but also the maximum total processing time and the minimum total weight ∑i=0 k−1 w li of late orders among all schedules for k = 0,1,…, t − 1, where {J l0,…, J lk−1} = and ∑i=0 k−1 w li = 0 if k = 0. By the definition of N 0,z and Steps (2.1) and (2.2) of Algorithm WF, we have that R 0,z is a set of early orders delivered at time T z with the maximum total processing time among all schedules. Similarly, we have that ⋃j=m z R 0,j is a set of early orders with the maximum total processing time among all schedules for m = z − 1,…, j 0.

By (2) and (3), we have that ⋃j=j0 z R 1,j = ⋃j=j0 z R 0,j ∪ {J l0} if ∑j=j0 z|R 0,j| < ∑j=j0 z v j C and ⋃j=j0 z R 1,j = ⋃j=j0 z R 0,j ∪ {J l0}∖{J l} if ∑j=j0 z|R 0,j| = ∑j=j0 z v j C where w l = max⁡{w iJ i ∈ ⋃j=j0 z R 0,j ∪ {J l0}}. This, along with (iii) of Lemma 1, w l0 = min⁡{w iJ iJ∖⋃j=j0 z R 0,j} and ⋃j=j0 z R 0,j being a set of early orders with the maximum total processing time among all schedules, implies that ⋃j=j0 z R 1,j has not only exactly a late order J l0 but also the maximum total processing time and the minimum weight w l0 among all schedules. Further, by Steps (2.1) and (2.2) of Algorithm WF, we have that ⋃j=m z R 1,j has not only exactly a late order J l0 but also the maximum total processing time and the minimum weight w l0 among all schedules for m = j 0 − 1,…, j 1. Similarly, we can show the result for k = 2,…, t − 1.

We below prove that (R t,1,…, R t,z) is a feasible schedule minimizing the total weight of late orders. By Algorithm WF, the feasibility is obvious. For any feasible schedule S = (R 1,…, R z), where the orders in R j are delivered at time T j for j = 1,…, z, we have that ⋃j=j0 z R j contains at least a late order. Otherwise, by ∑Ji∈⋃j=j0zRj p i ≤ ∑Ji∈⋃j=j0zR0,j p i, we have that ∑JiS∖⋃j=j0zRj p iP − ∑Ji∈⋃j=j0zR0,j p i > T j0−1. This contradicts the feasibility of S. Given that ⋃j=j0 z R j contains at least a late order, ⋃j=j1 z R j contains at least two late orders. Otherwise, ⋃j=j1 z R j contains a late order. By ∑Ji∈⋃j=j1zRj p i ≤ ∑Ji∈⋃j=j1zR1,j p i, we have that ∑JiS∖⋃j=j1zRj p iP − ∑Ji∈⋃j=j1zR1,j p i > T j1−1. This contradicts the feasibility of S. Similarly, we can show that ⋃j=jk z R j contains k + 1 late orders at least for k = 2,…, t − 1. Thus, (R t,1,…, R t,z) is a feasible schedule minimizing the number of late orders. This, along with ∑i=0 t−1 w li 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 O(zn 2log⁡⁡n) time. The algorithm consists of n + 1 iterations at most since there are n late orders at most. To calculate the complexity of the algorithm we first calculate in a preprocessing step the sets (d1¯,,dn¯) and (N 0,1,…, N 0,z). The calculation of the set (d1¯,,dn¯) takes O(nlog⁡⁡z). The calculation of the set (N 0,1,…, N 0,z) takes O(nlog⁡⁡z) also. Step (1) takes O(n) time. Step (2) is iterated z times. Within each iteration, the most time-consuming step is Step (2.1), sorting the orders in decreasing order of their weights, which takes O(nlog⁡⁡n) time. Hence Step (2) takes O(znlog⁡⁡n) time. Thus, the overall running time of the algorithm is O(zn 2log⁡⁡n) 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 (R t,1,…, R t,z) was obtained by Algorithm WF. By the fact that if |R t,j| < v j C, then each order in ⋃i=1 j−1 R t,i is an early order and will be a late order if we push the order to be delivered by vehicles at T j. Thus, either there is no feasible schedule or the total weight of late orders will be increased if we push some order in R t,i to be delivered by vehicles at T i+1,…, T z. By the optimality of ∑i=0 t−1 w li, we have that the total weight of late orders will not be decreased if we push some order in R t,i to be delivered by vehicles at T 1,…, T i−1. 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. z sets of orders R t,1,…, R t,z given by Algorithm WF.

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

Method

  1. T 0 : = 0. v 0 : = 0.

  2. For j = z down to 1 do the following.

    1. Let V j′ be all the orders in R t,j, arranged in nondecreasing order of their processing times, and |V j′| = kC + r, where k and r are nonnegative integers, and 0 ≤ r < C and F is the set of the first r orders from V j′.
    2. If ∑Ji∈∪m=1j−1Rt,mF p i > T j−1, then update A : = and V j : = V j′, and the orders in V j will be delivered by the vehicles at time T j and proceed to the next j.
    3. Let A′ be the first k 0 C + r orders from V j′, where k 0 is the maximal nonnegative integer such that ∑Ji∈∪m=1j−1Rt,mA p iT j−1.
    4. If ⌈|R t,j−1A′|/C⌉ ≤ v j−1 C, then update A : = A′, R t,j−1 : = R t,j−1A, and V j : = V j′∖A and the orders in V j will be delivered by the vehicles available at time T j and proceed to the next j.
    5. Call Subalgorithm CA to computer A. Then update R t,j−1 : = R t,j−1A and V j : = V j′∖A, and the orders in V j will be delivered by the vehicles at time T j and proceed to the next j.

Subalgorithm CA

  1. A′ : = the first k 0 C + r orders from V j, arranged in nondecreasing order of their processing times.

  2. Sort the orders in R t,j−1A′ in ascending order of their processing times.

  3. If |R t,j−1A′| ≤ v j−1 C, then stop and output A = A′.

  4. For h = 1 to j − 2, let R t,h′ : = R t,h.

  5. B : = the first |R t,j−1A′| − v j−1 C orders from R t,j−1A′.

  6. For h = j − 2 down to 1 do the following.

    • (a)
      Sort the orders in R t,h′ ∪ B in ascending order of their processing times.
    • (b)
      If ∑Ji∈∪m=1hRt,m′∪B p i > T h,
      • (b1)
        if |A′| < C, stop and output A = ;
      • (b2)
        update A′ : = the first |A′| − C orders from A′ and return (2).
    • (c)
      If |R t,h′ ∪ B| ≤ v h C, then stop and output A = A′.
    • (d)
      If h = 1, stop and output A = if |A′| < C and update A′ : = the first |A′| − C orders from A′ and return (2) else.
    • (e)
      Update B : = the first |R t,h′ ∪ B| − v h C orders from R t,h′ ∪ B and proceed to the next h.

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 O(z 2 n 2log⁡⁡n) 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 R t,2,…, R t,z to an earlier departure time for delivery.

Let V z and A be the output data obtained by the first iteration of Algorithm MV, where V z = V z′∖A and A is the set of the first |A| orders from V z′ (the orders of V z′ = R t,z have been arranged in nondecreasing order of their processing times). Step (2)(b) corresponds to the case where ∑Ji∈∪m=1z−1Rt,mF p i > T z−1, where F the set of the first |F| orders from V z′ and 0 < |F| < C. In the case, It is impossible to deliver all orders in F by the vehicles at T 1,…, T z−1. This, along with F consisting of the first |F| orders from V z′, means that the number of vehicles used at T z cannot decrease by one. Thus, ⌈|V z′|/C⌉ is the minimal number of vehicles used at T z. However, we cannot push part of orders in F to be delivered by vehicles at T z−1,…, T 1, since, if we do that, it not only does not decrease the number of vehicles used at T z but also increases the amount of orders delivered by vehicles at T z−1,…, T 1. In the case, the data V z = V z′ and A = are optimal. Under the case of ∑Ji∈∪m=1z−1Rt,mF p iT z−1, Step (2)(c) computes the set of orders A′ which made ⌈|V z′|/C⌉ − ⌈|A′|/C⌉ the minimal number possibly of vehicles used at T z, where A′ are the first k 0 C + r orders from V z′. This is because k 0 is the maximal nonnegative integer such that ∑Ji∈∪m=1z−1Rt,mA p iT z−1 and A′ consists of some small orders in V z′. Step (2)(d) corresponds to the case where ⌈|R t,z−1A′|/C⌉ ≤ v z−1 C. This means that we can push all of orders in A′ to be delivered by vehicles at T z−1. Thus, in the case, the output data A = A′ and V z = V z′∖A make ⌈|V z|/C⌉ the minimal number of vehicles used at T z. Under the case of ⌈|R t,z−1A′|/C⌉ > v z−1 C, Step (2)(e) calls Subalgorithm CA to decide a set of orders A such that ⌈|V z|/C⌉ is the minimal number of vehicles used at T z, where V z = V z′∖A. We show below that Subalgorithm CA can really do that.

Subalgorithm CA consists of k 0 + 1 main iterations for the first k 0 C + r orders, the first (k 0 − 1)C + r orders,…, and the first r orders from V z′, respectively. We now run the first main iteration for the first k 0 C + r orders A′ from V z′. Due to the corresponding case by Step (2)(e), we have that A′ ≠ and |R t,z−1A′| > v z−1 C. We need to proceed through Step (4). Step (4) assigns the orders in R t,h to a temporary set R t,h′ for each h from 1 to j − 2. This is necessary since Subalgorithm CA operates on R t,h′ without changing the content of R t,h. Step (5) assigns the first |R t,z−1A′| − v z−1 C orders from R t,z−1A′ to a set B. If we want to push the orders in A′ to be delivered by vehicles at T z−1,…, T 1, all orders of B are the minimal increment undertaken by vehicles at T z−2,…, T 1 to deliver. Now we proceed through Step (6).

Step (6) consists of z − 2 secondary iterations. We now run the first secondary iteration. If ∑Ji∈∪m=1z−2Rt,m′∪B p i > T z−2, it is impossible to deliver all orders in B by the vehicles at T 1,…, T z−2. This means that the number of vehicles used at T z should to be at least ⌈|V z′|/C⌉ − ⌈|A′|/C⌉ + 1. Step (6)(b1) corresponds to the case where |A′| < C and outputs A = . This, along with A′ ≠ and V z = V z′, implies that ⌈|V z|/C⌉ is the minimal number of vehicles used at T z. Step (6)(b2) corresponds to the case where |A′| ≥ C and starts the second main iteration for the first (k 0 − 1)C + r orders A′ from V z′ to check whether it is possible to push the orders in A′ to be delivered by vehicles at T z−1,…, T 1. On the other hand, ∑Ji∈∪m=1z−2Rt,m′∪B p iT z−2. Step (6)(c) corresponds to the case where |R t,z−2′ ∪ B| ≤ v z−2 C. This means that we can push all of orders in A′ to be delivered by vehicles at T z−1 and T z−2. Thus, the output data A = A′ by Step (6)(c) and V z = V z′∖A make ⌈|V z|/C⌉ the minimal number of vehicles used at T z. Otherwise, Step (6)(e) starts the second secondary iteration to check whether it is possible to push the orders in a set of the first |R t,z−2′ ∪ B| − v z−2 C orders from R t,z−2′ ∪ B to be delivered by vehicles at T z−3,…, T 1. Similarly, we can show the result for the following secondary iterations. If needed, we proceed through the last secondary iteration. Suppose that B is a set of orders output by the (z − 3)th secondary iteration. In the case of ∑JiRt,1′∪B p i > T 1, Step (6)(b1) outputs A = if |A′| < C and Step (6)(b2) starts the second main iteration for the first (k 0 − 1)C + r orders A′ from V z′ else. In the case of ∑JiRt,1′∪B p iT 1, Step (6)(c) outputs data A = A′ if |R t,1′ ∪ B| ≤ v 1 C. Otherwise, Step (6)(d) outputs A = if |A′| < C and starts the second main iteration for the first (k 0 − 1)C + r orders A′ from V z′ else, since it is impossible to deliver all orders in the set of the first |R t,1′ ∪ B| − v 1 C orders from R t,1′ ∪ B by the vehicles at T 0 = 0. Similarly, we can show the result for the following main iterations in Subalgorithm CA, which can really decide a set orders A such that ⌈|V z|/C⌉ is the minimal number of vehicles used at T z, where V z = V z′∖A. 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 (1) takes constant time. Step (2) is iterated z times. Inside the iteration loop, the most time-consuming steps are (2)(a) and (2)(e). Step (2)(a) calls for sorting the orders which takes O(nlog⁡⁡n) time. Step (2)(e) calls Subalgorithm CA which takes O(zn 2log⁡⁡n) time. Thus, the overall time complexity of Algorithm MV is O(z 2 n 2log⁡⁡n).

5. Conclusion

In this paper, we have given polynomial-time algorithms for minimizing: (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. An interesting open question is whether the problem related to release dates is NP-hard or not.

Acknowledgment

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

Conflict of Interests

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

References

  • 1.Langley C. J., van Dort E., Sykes S. R. 2005 Third-Party Logistics: Results and Findings of the 10th Annual Study. Georgia Institute of Technology; 2006. [Google Scholar]
  • 2.Karp R. M. Reducibility among combinatorial problems. In: Miller R. E., Thatcher J. W., editors. Complexity of Computer Computations. New York, NY, USA: Plenum Press; 1972. pp. 85–104. [Google Scholar]
  • 3.Chen Z.-L. Integrated production and outbound distribution scheduling: review and extensions. Operations Research. 2010;58(1):130–148. doi: 10.1287/opre.1080.0688. [DOI] [Google Scholar]
  • 4.Stecke K. E., Zhao X. Production and transportation integration for a make-to-order manufacturing company with a commit-to-delivery business mode. Manufacturing and Service Operations Management. 2007;9(2):206–224. doi: 10.1287/msom.1060.0138. [DOI] [Google Scholar]
  • 5.Melo R. A., Wolsey L. A. Optimizing production and transportation in a commit-to-delivery business mode. European Journal of Operational Research. 2010;203(3):614–618. doi: 10.1016/j.ejor.2009.09.011. [DOI] [Google Scholar]
  • 6.Zhong W., Chen Z.-L., Chen M. Integrated production and distribution scheduling with committed delivery dates. Operations Research Letters. 2010;38(2):133–138. doi: 10.1016/j.orl.2009.11.007. [DOI] [Google Scholar]
  • 7.Li K. P., Ganesan V. K., Sivakumar A. I. Synchronized scheduling of assembly and multi-destination air-transportation in a consumer electronics supply chain. International Journal of Production Research. 2005;43(13):2671–2685. doi: 10.1080/00207540500066895. [DOI] [Google Scholar]
  • 8.Li K. P., Ganesan V. K., Sivakumar A. I. Scheduling of single stage assembly with air transportation in a consumer electronic supply chain. Computers & Industrial Engineering. 2006;51(2):264–278. doi: 10.1016/j.cie.2006.02.007. [DOI] [Google Scholar]
  • 9.Li K. O., Sivakumar A. I., Ganesan V. K. Complexities and algorithms for synchronized scheduling of parallel machine assembly and air transportation in consumer electronics supply chain. European Journal of Operational Research. 2008;187(2):442–455. doi: 10.1016/j.ejor.2007.03.006. [DOI] [Google Scholar]
  • 10.Zandieh M., Molla-Alizadeh-Zavardehi S. Synchronizing production and air transportation scheduling using mathematical programming models. Journal of Computational and Applied Mathematics. 2009;230(2):546–558. doi: 10.1016/j.cam.2008.12.022. [DOI] [Google Scholar]
  • 11.Lenstra J. K., Rinnooy Kan A. H., Brucker P. Annals of Discrete Mathematics. Vol. 1. Amsterdam, The Netherlands: North-Holland; 1977. Complexity of machine scheduling problems; pp. 343–362. [Google Scholar]
  • 12.Wang Q., Batta R., Szczerba R. J. Sequencing the processing of incoming mail to match an outbound truck delivery schedule. Computers & Operations Research. 2005;32(7):1777–1791. doi: 10.1016/j.cor.2003.11.029. [DOI] [Google Scholar]
  • 13.Fu B., Huo Y., Zhao H. Coordinated scheduling of production and delivery with production window and delivery capacity constraints. Theoretical Computer Science. 2012;422:39–51. doi: 10.1016/j.tcs.2011.11.035. [DOI] [Google Scholar]
  • 14.Leung J. Y., Chen Z.-L. Integrated production and distribution with fixed delivery departure dates. Operations Research Letters. 2013;41(3):290–293. doi: 10.1016/j.orl.2013.02.006. [DOI] [Google Scholar]

Articles from The Scientific World Journal are provided here courtesy of Wiley

RESOURCES