Abstract

A problem of parallel machine scheduling with coordinated job deliveries is handled to minimize the makespan. Different jobs call for dissimilar sizes of storing space in the process of transportation. A range of jobs of one customer in the problem have priority to be processed on two identical parallel machines without preemption and then delivered to the customer by two vehicles in batches. For this NP-hard problem, we first prove that it is impossible to have a polynomial heuristic with a worst-case performance ratio bound less than 2 unless P = NP. Thereafter, we develop a polynomial heuristic for this problem, the worst-case ratio of which is bounded by 2.

1. Introduction

Production and distribution operations are two key operational functions in a supply chain; it is critical to integrate these two functions and schedule them jointly in a coordinated manner so as to achieve optimal operational performance [1]. However, in traditional scheduling problems, it is always assumed that there are enough vehicles for delivery of jobs that are finished with no time needed for transportation. Unlike conventional scheduling, a scheduling problem with two stages is investigated in the current research, with the first stage for processing jobs on two parallel machines while the second for delivering jobs that are finished using two vehicles.

In integrated production and outbound distribution scheduling (IPODS) problems, it is required to coordinate scheduling, batching, and delivery decisions at all levels of the supply chain in order to minimize the overall scheduling and delivery cost [2]. In the last two decades, various IPODS models have been widely studied. Chen [1] conducted a comprehensive survey on these models. Based on the survey, the problem of interest is regarded as an IPODS model of jobs with general size and a finite quantity of vehicles. Therefore, in the following, we just review a few closely related research works. In recent years, some works on IPODS models with parallel machines and equal-size jobs were done, in which all the jobs have the same size. For example, Hall and Potts [3] studied several models having enough vehicles. In their models, all the finished products are delivered to one customer. The models with multiple customers were also investigated in [4, 5]. Wang and Cheng [6] ever studied a model with two identical parallel machines and a single vehicle to minimize the makespan. In this model, an unavailable interval existed on one of the machines due to preventive maintenance, and an unfinished job can resume processing after the machine becomes available again. They showed that the problem is NP-hard and proposed a heuristic with a worst-case ratio of . Recently, Pan and Su [7] developed an improved heuristic with a worst-case ratio of . Obviously, for the models where the jobs have generally different sizes, it will be considerably tougher to resolve compared with models involving jobs of equal size since the batching decision now involves bin packing, which alone is NP-hard in the strong sense [8] in the case that it does not allow split delivery. Chang and Lee [9] took the lead to research models involving jobs of general size. In accordance with their models, one can use only a vehicle for delivery of jobs during the second stage. They proposed two heuristics with worst-case ratio of and 2, respectively, for the models with single machine configuration and two identical parallel machine configurations. After that, several improved heuristics were proposed. For the model with single machine configuration, He et al. [10] and Zhong et al. [11] put forward a modified heuristic and a most feasible heuristic with ratios in the worst case of and , where ϵ is positive and can be an arbitrary value approximating 0; for the model with two identical parallel machine configurations, Zhong et al. [11] provided a heuristic with a worst-case ratio of , and Su et al. [12] proposed a heuristic with a worst-case ratio of , except for two particular cases. For the model with more than one vehicle, Chen and Pundoor [13] carried out a research study on a model having enough vehicles and all jobs therein have their deadlines. For the purpose of minimizing total cost for transportation, they developed a heuristic for the model. Jiang and Tan [14] designed a polynomial-time heuristic with a worst-case ratio of 2 for the model with a single machine and two vehicles. However, to the best of our knowledge, little attention is paid on the models with identical parallel machines and a finite number of vehicles not less than two.

The problem we study is an extension of the model studied by Jiang and Tan [14], in which the machine environment in the first stage is extended from one machine to two identical parallel machines. The problem in the research is summarized as follows: for a cluster of customer’s jobs with the number of n and independent from each other, , each of which must be first nonpreemptively processed by one of the two identical parallel machines, and , in a manufacturing system and then delivered to the customer. Job , , needs a processing time of in the manufacturing system and has a size which represents the physical space as it is loaded in vehicles. There are two homogeneous vehicles ( and ) that can be used for delivery of batched completed jobs originally in the manufacturing system. The capacity of each of the vehicles is z. It indicates that one can arrange completed jobs to match the physical space of vehicles provided the total size is smaller than z. One delivery batch refers to jobs that are delivered all at once by the same vehicle. One vehicle takes a time period of T, for transportation while delivering a batch of jobs, a duration from the beginning moment of the vehicle in delivery of the batch to that when it goes back to the machine after the delivery. As for the goal, it is to search for a schedule of handling jobs in manufacturing systems, followed by delivery of completed jobs to customers so as to minimize the time needed for all jobs in N waiting for processing and delivery to customers. For ease of analysis, makespan of a schedule is defined as . It is duration from one of the vehicles accomplishing delivery of the last batch to customers to the moment it goes back to the manufacturing system. Under the condition, what we need to solve is to search for a schedule that can minimize the makespan.

Since so far as we know that we are the first to consider the model with two machines and two vehicles, this paper has two objectives. Our first objective is to analyze the computational complexity of our model and provide some optimality properties satisfied by the model. Also, the well-known algorithms for similar models could not solve our model. So, our second objective is to develop a fast heuristic targeting the problem. Organization of the rest of the research is shown as follows: Section 2 introduces notations, along with several optimality properties of the problem of interest at first. Section 3 provides a heuristic for the problem of interest, followed by analysis of performance of the heuristic in the worst case. Section 4 draws on conclusions.

2. Notations and Preliminaries

The section introduces the following notations at first. These notations are used uniformly throughout the paper:P: total times for processing all jobs in a manufacturing system, i.e., .As to a schedule δ for the problem, it is defined that: total quantity of batches to be delivered in δ.For each , we define the following:: kth batch delivered in δ.: sum of processing times of all the jobs in batch .: time for a vehicle to depart from the manufacturing system for delivering .: time for preparation of , representing the latest time for completing processing of jobs allocated to . It is worth noting that in any possible schedule, there is .Unless it is ambiguous, , , , and are simplified as , , , and , separately.For the optimum schedule, it is defined that: optimum makespan.: time moment at which machines complete processing of the last job.: amount of batches delivered.

Several optimality properties of the problem are given as follows. Because of straightforwardness of the conditions, the proofs are omitted.

Lemma 1. An optimal schedule exists for a problem meeting the following conditions:(i)There is no idle time between the jobs processed on any machine(ii)For each delivery batch, all the jobs in the batch that are processed on the same machine are processed consecutively on that machine(iii)Jobs assigned to one batch and processed on the same machine can be processed on that machine in any orderHence, only schedules that satisfy the above properties are considered further.

Lemma 2. .
Clearly, our problem is NP-hard since a special case with transportation time is equivalent to solving the classical two parallel machine makespan minimization problems, which are NP-hard.

Lemma 3. It is impossible to have a polynomial heuristic with a worst-case performance ratio bound less than 2 unless P = NP.

Proof. We prove this by a reduction from the following PARTITION problem, which is known to be NP-complete [8].
PARTITION: Given n natural numbers , is there a subset such that ?
Given this instance of PARTITION, we consider an instance of our problem with n jobs, , whereAs a subset satisfying can be attained. It is obvious that the above PARTITION instance has an affirmative answer when and only when there are two batches formed in the optimal schedule for the instance. As to the schedule, jobs in and are separately processed by machines and followed by assignment to two different batches, each of which is delivered by one vehicle, with the makespan of . In contrast, it needs three batches or more for the instance for any subset satisfying . One of the vehicles at least delivers two batches, so the makespan of relevant schedule is .
It is assumed that there exists a polynomial heuristic for our problem with worst-case ratio bound less than 2. For the formation of two batches under the optimal schedule of the instance, as has been noted, the optimal makespan is . It is obvious that the presumptive algorithm is able to search the optimal schedule all the time, as the makespan when 3 batches are under demand. This is supposed to be a polynomial-time algorithm for which the bound of a performance ratio in the worst case is 2. Therefore, through the reduction above, the algorithm is able to resolve the PARTITION instance just in the polynomial time, implying that P = NP, which contradicts our claim that .
Therefore, for the problem, there is no possibility for obtaining a polynomial heuristic with a worst-case performance ratio bound less than 2 unless P = NP.

3. Heuristic

In this section, we first introduce the following algorithm FFD (First Fit Decreasing) [15], which is a classical algorithm for solving the bin-packing problem. It will be applied to constitute batches in the heuristic proposed. Note that vehicle capacity (z) and job sizes () proposed in the research underlay the algorithm FFD.

3.1. Algorithm FFD

Step 1: sort the jobs in a nonincreasing order of size ()Step 2: assign the job with the largest size to Step 3: For j = 2, …, n, if the jth largest job is considered, then assign it to the lowest indexed batch such that the total job size of the corresponding batch does not exceed z

Lemma 4 (see [16]). For an instance I of binning, assuming that and are separate numbers of bins used for the optimal solution and the solution obtained using the FFD algorithm, we have .

In the following, we will present a heuristic for the problem and analyze its worst-case performance. This heuristic is described as follows.

3.2. Heuristic HA

Step 1: FFD algorithm is used to assign jobs to batches. Supposing the amount of formed batches is .Step 2: As to jobs in batch , the total times for processing them are calculated and denoted as , for . The batches are retrieved so that .Step 3: Batches are assigned one after another from to a machine having a lower load before assignment (allocating jobs in one batch to the same machine). Jobs in each batch are sorted according to a random order.Step 4: The first and second vehicles are supposed to deliver all batches allocated to machines and . Each vehicle needs to distribute each finished batch waiting for delivery whenever; in the case that there are more than one batch finished under conditions that a vehicle is available, the vehicle requires dispatching a batch having the lowest index.

We first analyze the time complexity of heuristic HA. Since it is well known that the time complexity of the FFD algorithm is , it will take time period in Step 1; also, it will take times to obtain all for in Step 2; the job batch assignment will cost at most in Step 3, and the batch delivery will take at most in Step 4 depending on . So, we have that heuristic HA has a time complexity of . It is supposed that represents the makespan from heuristic HA. Furthermore, in the solution of the heuristic, let and represent time moments for finishing jobs sorted in the last two machines and . Then, . Also, define .

Lemma 5 (see [9]). .
Based on heuristic HA, batches are indexed in a nondecreasing order of their processing times and are assigned one by one to the machine that has a smaller load before the batch is assigned. It can be shown easily that each batch with an odd index is assigned to machine and delivered by vehicle ; for batches having even indexes, they are allocated to , followed by delivery using vehicle . Furthermore, the delivery of a batch with a smaller index happens earlier compared with that having a larger index. Suppose that x and y are separate total times for dealing with jobs allocated to the first and second batches in a solution attained using heuristic HA, that is, and .

Corollary 1. ; if .

Proof. Because , for , according to Step 2, we have and if , which mean that and if .

Lemma 6. .

Proof. It is assumed that represents the amount of batches when an optimal method is used to allocate jobs to batches, instead by algorithm FDD in Step 1. Obviously, there is . Meanwhile, based on Lemma 4, which suggests .

Lemma 7. The schedule attained using heuristic HA is considered.(i)On conditions that a batch exists for machine so that and , there is , for (ii)In the case that machine is assigned with a batch so that and , there is , for

Proof. (i)Recall that batches are indexed and delivered in a nondecreasing order of , . Note that and . Since , by Lemma 1(i). Since , there is . Thus, for . It follows that . Applying the same argument repetitively, there is , for (ii)Similar to (i).

Corollary 2. Consider the schedule obtained by heuristic HA. If , then if is odd and if is even.

Lemma 8. If , then .

Proof.

Corollary 3. If or , then .

Lemma 9. If is odd and , then .

Proof. If , then according to Lemma 8. Now, suppose that . By Corollary 2, if is odd.

Case 1. .

Case 2. .Clearly, if . Because is odd and , we only need to consider the case with . If , thenTherefore, we have if is odd and .

Lemma 10. If is even and , then .

Proof. If , then according to Lemma 8. Now, suppose that . By Corollary 2, if is even. Hence,Obviously, if . Because is even and , we only need to consider the case with . If , by Lemma 6, we have or .
If and , thenIf , thenTherefore, we have if is even and .
From Corollary 3, Lemma 9, and Lemma 10, we have

Theorem 1. .
According to Lemma 3 and Theorem 1, we can conclude that our heuristic is a best possible polynomial heuristic for the problem.

4. Conclusion

The study investigated the scheduling problem involving two identical parallel machines with coordinated delivery of jobs to minimize the makespan, which can be viewed as an IPODS model involving two parallel machines that are completely the same, as well as general-size jobs. We first showed that the problem is NP-hard and then provided a polynomial heuristic for the problem. We also proved that it is impossible to have a polynomial heuristic for this problem with a worst-case performance ratio bound less than 2 unless P = NP; besides, the performance ratio of our heuristic in the worst case has a bound of 2, which means that our heuristic is the best possible one. Models involving more than two vehicles or machines are expected to be studied in future research.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the Science Foundation of Chinese Education Commission (18YJC630041) and Scientific research project of Tianjin Education Commission, China (2019SK069).