Abstract

We consider a scheduling problem where a set of jobs are first processed on a machine with an unavailability interval and, then, delivered to the customer directly. We focus on an integrated schedule of production and distribution such that the sum of the maximum delivery time and total delivery cost is optimized. We study two classes of processing machines in the production part. In the first class, the serial-batch machine, the processing time of a batch is the sum of the processing times of its jobs. In the second class, the parallel-batch machine, the processing time of a batch is the maximum processing time of the jobs contained in the batch. The machine has a fixed capacity, and the jobs are processed in batches under the condition that the total size of the jobs in a batch cannot exceed the machine capacity. Two patterns of job’s processing, i.e., resumable and non-resumable, are considered if it is interrupted by the unavailability interval on the machine. In the distribution part, there are sufficient vehicles with a fixed capacity to deliver the completed jobs. The total size of the completed jobs in one delivery cannot exceed the vehicle capacity. We show that these four problems are NP-hard in the strong sense in which the jobs have the same processing times and arbitrary sizes, and we propose an approximation algorithm for solving these four problems. Moreover, we show that the performance ratio of the algorithm is 2 for the serial-batch machine setting, and the error bound is 71/99 for the parallel-batch machine setting. We also evaluate the performance of the approximation algorithm by the computational results.

1. Introduction

Joint consideration of production and distribution is so beneficial in making higher level decisions for the manufacturers in the realistic supply chain environment that many researchers kept on studying on various models of such integrated scheduling problems. Potts [1] was probably the first researcher who considered scheduling with job delivery. Hall and Potts [2] studied integrated scheduling that involves a supplier, a manufacturer, and a customer. Up to now, there are an increasing number of literature and a variety of new models on scheduling problems with job delivery. For one machine, Chen and Vairaktarakis [3] studied the problem to minimize the weighted sum of maximum delivery time and total transportation cost with a relative preference, in which sufficient vehicles without capacity limit were used to deliver completed jobs to customers. They proposed two optimal algorithms for one customer and multiple customers. Chen [4] and Wang et al. [5] have surveyed the integrated scheduling problems of production and distribution operation.

In most models of scheduling with delivery, one machine processes one job at a time. However, a new kind of integrated scheduling problems concerned with batch processing has already been investigated by many researchers. Batch scheduling is motivated by many industrial manufacturing processes. For example, in the burn-in stage of semiconductor manufacturing, burn-in ovens can handle up to multiple jobs simultaneously. Generally, batch-processing machine has two versions: serial-batch and parallel-batch, according to [6]. When processed on the serial-batch machine, jobs may be batched and one job in a batch is processed at a time so that the processing time of a batch is the sum of the processing times of its jobs. Learning effect of jobs is always accompanied with the serial-batching scheduling problems. Lee et al. [7] and Pei et al. [810] investigated the serial-batching scheduling problems with deteriorating jobs or learning effects to minimize the makespan. There is no setup time in [7], but there are independent setup times in [810]. Pei et al. [11] considered the coordinated scheduling problem of production and transportation with deteriorating jobs. The batches including completed jobs would be delivered to a customer by a single vehicle with only one batch in one delivery. They analysed some useful properties and presented a heuristic for the general case and two optimal algorithms for two special cases. Lu et al. [12] studied the integrated production and delivery scheduling on a serial-batch machine to minimize the makespan and considered four different problems from the situations whether split is allowed in the production or delivery of the jobs.

When processed on the parallel-batch machine, several jobs can be processed as a batch simultaneously on a machine at one time such that the processing time of a batch is the maximum processing time of the jobs contained in the batch. The bounded parallel-batch-processing machine setting is introduced by Lee et al. [13], which is always encountered in burn-in operations in the semiconductor industry and heat treatment operations in the metalworking industries. Uzsoy [14] showed the problem is NP-hard to minimize makespan on a single bounded parallel-batch machine and provided some approximation algorithms. And Brucker et al. [15] discussed two variants: the unbounded model and the bounded model. Lee and Lee [16] developed a heuristic by iterative decomposition of a mixed integer programming model. Li et al. [17], Gong et al. [18], Lu and Yuan [19], and Cheng et al. [20] considered some integrated scheduling of production and distribution on parallel-batch-processing machines. In [20], the authors focused on finding a schedule of the jobs and a delivery plan so that the maximum delivery time of jobs is minimized. They showed that the problem can be solved optimally in O (nlogn) time if the jobs have identical sizes and proposed two approximation algorithms with an asymptotical performance ratio of 11/9 if the jobs have identical processing times and 2 if the jobs have arbitrary processing times and arbitrary sizes.

Up to now, most works have studied the machine setting which is always available. But, the machines can become unavailable during the production stage due to the occurrence of breakdowns or the necessity for maintenance and repair, which is called as the scheduling under the constraint of machine unavailability. When job processing is interrupted by machine unavailability, the interrupted job may be resumable or nonresumable once the machine is available again. In the resumable case, the interrupted job can be processed continuously, but in the nonresumable case, the interrupted job needs to be processed anew. For the integrated scheduling problem with a capacitated vehicle to minimize the maximum delivery time, Wang and Cheng [21] showed that it is NP-hard and proposed a 3/2-approximation algorithm and provided the instance with the worst-case ratio 3/2. More details on this research stream can be found in the work of Wang et al. [5] and Ma et al. [22]. There are a few literatures concerned with the integrated scheduling problem on the batch-processing machine with the unavailable constraints. Pei et al. [23] considered a single-machine serial-batching scheduling problem with a machine availability constraint, position-dependent processing time, and time-dependent setup time. Fan et al. [24] studied the integrated scheduling problem to minimize the maximum delivery time to the customer on a single bounded parallel-batch machine with an unavailability interval. For the nonresumable jobs, two approximation algorithms with the worst-case ratios 3/2 and 5/3 are explored in two cases where the jobs have the same size and arbitrary processing times, and the jobs have the same processing time and arbitrary sizes, respectively.

In this paper, we consider an integrated scheduling problem for a customer on a bounded batch machine with a machine unavailability period, where the jobs have identical processing times and sufficient capacitated vehicles are used to deliver the completed jobs to the customer. The objective is to minimize the sum of the delivery time when the last completed job is delivered to the customer and the total delivery cost. There are four classes of problems corresponding to different conditions during the processing of the interrupted job after the unavailability period and the type of machine, i.e., serial-batching and parallel-batching. In the practical aluminum-making process, serial-batching is common. Cylindrical aluminum ingots are processed one after another in the same batch on an extrusion machine, which has a schedule to be checked. Also, in the burn-in stage of semiconductor manufacturing, the burn-in oven can handle up to multiple jobs simultaneously, which is the form of parallel-batching. The oven must be stopped to accept inspection as a plan. All completed jobs have to be transported to the customer as soon as possible. Therefore, how to schedule the production and the delivery effectively is worth to study in such complicated settings.

2. Problem Formulation

A set of jobs is given, where job has the processing time and size . Each job has an arbitrary size but an identical processing time for . In the production part, the machine has a capacity , i.e., it can simultaneously process several jobs as a batch if their total size does not exceed the machine capacity. We discuss two types of batches, that is, serial-batching and parallel-batching. For the serial-batching, the processing time of a batch is the sum of the processing times of its jobs. For the parallel-batching, the processing time of a batch is the maximum processing time of the jobs contained in the batch. Meanwhile, the machine has an unavailability period because of maintenance and breakdown. Let be the length of the unavailability period, i.e., . If there is, at least, one job in a batch that is interrupted by the unavailable period , the interrupted job may be processed continuously just after , in which case we call it resumable and denoted by r − a, or needs to be processed anew after , defined as nonresumable and denoted by nr − a. In the latter case, the processing time of the batch containing this job is not affected for the parallel-batching mao the sum of and the total processing time of the jobs and the idle time of the machine for the serial-batching machine. In the delivery part, there are sufficient vehicles to deliver the completed jobs to the customer and each of them has the same capacity . Similar to [20], we assume that , where x ≥ 2 and x is a positive integer. The transport price of one trip between the machine and the customer is denoted by and the total delivery cost is denoted by . Let be the delivery time of job , i.e., the arrival time of the batch containing job to the customer. Let be the maximum delivery time of all the jobs. Our goal is to minimize the sum of maximum delivery time and total delivery cost. Using the five-field notation proposed by Chen [4] to denote an integrated scheduling problem, we denote the four classes of the problem in this paper as follows:

Here, h1 denotes one unavailability interval and V (∞, c) presents the situation of the vehicle. Also, because there is one customer, the vehicle should transport jobs directly from the manufacturer to the customer. In the problems and , s-batch means serial-batching. On the contrary, in the problems and , -batch means parallel-batching.

We organize the rest of the paper as follows. In Section 3, we show that all problems are NP-hard in the strong sense and propose some elementary properties. In Section 4, we present an approximation algorithm for these four problems and prove the different error bounds for these four problems. In the last section, we conclude our results and discuss the direction of the future research.

3. Properties of Four Problems

In this section, we analyse the computational complexity of the problems .

Theorem 1. Problems are all strongly NP-hard.

Proof. Consider the special case of problems and , in which , , and c = 0, i.e., the processing time of each job is zero, and there is no unavailability interval on the machine and no delivery in problem . Hence, the problem is equivalent to minimize the number of batches, i.e., the bin-packing problem, which is a well-known strongly NP-hard problem. Therefore, problems and are strongly NP-hard.
Similarly, we construct the special case of problems and , in which and c = 0. Since each job has a processing time of , every batch has a processing time of . Hence, the problem is also equivalent to the bin-packing problem. Therefore, problems and are both strongly NP-hard.
Associating with the bin-packing problem, we study some properties of the optimal solutions for these four problems.

Lemma 1. There exists an optimal schedule of the problem for , satisfying the following properties:(1)Let to be the number of batches in the optimal schedule ; then, (2)The batches are processed consecutively before and after the unavailability period(3)The batch that becomes available earlier is delivered earlier(4)The first delivery includes batches, and each of the last deliveries x batches, where and are two positive integers satisfying and This lemma can be proved similar with the proof in [21].

4. Algorithm and Analyses

To minimize the objective function value, we must assign many enough jobs in every batch to reduce the number of batches and deliveries. Therefore, associating with the algorithm of the bin-packing problem, we present the following algorithm to solve four scheduling problems.

4.1. Algorithm H

Step 1: reindex all jobs as so that .Step 2: use the First Fit Decreasing (FFD) rule to assign the jobs into batches, in which jobs are to be processed together on the machine. Build the first empty batch and put the job into it one by one in the sequence in Step 1 if the current total sizes of the batch are no more than U. When all the jobs have been checked and there are still jobs need to be assigned, build the second batch and assign the remaining jobs as the sequence in Step 1. Repeat the assignment until there is no job left. Let X be the number of batches produced in Step 2.Step 3: assign the batches in a nondecreasing order of their processing times to process continuously from time 0 except the unavailability interval.Step 4: Let. and deliver the first completed batches in . Also, deliver x batches immediately in the following every delivery. When the last x batches are delivered to the customer, the algorithm finishes.

Recalling the FFD rule for the bin-packing problem, we can easily obtain Lemma 2.

Lemma 2. (see [25]). .
Based on Lemma 2, we can explore the corresponding values of and if (see Table 1).
In order to list the corresponding relationship of values between and if , we use two positive integers and such that similar to that in [26]. Hence, we can obtain Table 2.
Furthermore, we analyse the relationship of the objective function values produced by algorithm H and the optimal schedule in the problems , respectively. For convenience, we use to denote the schedule obtained by algorithm H for the problem .

Lemma 3. (1), where are the idle times on the machine before the unavailability interval in schedules , for the problem , respectively(2), where are the idle times on the machine before the unavailability interval in schedules , for the problem , respectively

Proof. (1)According to Step 3 of Algorithm H, the batches are processed in a nondecreasing order of their processing times. Let , be the number of jobs completed before the beginning time of schedules , , respectively. Because the length of the available time before on the machine is the fixed, we have . Hence, .(2)Because the processing time of each batch is equal to no matter how many jobs are in it and the starting time of processing is zero by the algorithm H, it is obvious that the idle time in must be no more than that in , i.e., . For the problem , we use , ,, and to denote the maximum delivery time, the total delivery cost in , and (), respectively. We can easily conclude every value of , , , and for .

Lemma 4. (1)In the problem , and (2)In the problem , and (3)In the problem , and , (4)In the problem , and

Proof. Because the processes of batches are resumable in the problem , the difference between the result of the algorithm H and the optimal solution is only the number of deliveries. In the problem , the idle time of the machine is also different between the result of the algorithm H and the optimal solution. Moreover, in the problem , the total processing time is needed in the solution of the algorithm H, but is needed in the optimal solution. Also, the difference of the idle time of the machine is obvious in the objective function value of the algorithm H and the optimal schedule in the problem .
It is notable that the completion time of the last batch is larger than the ending time of the unavailability interval in the optimal schedule (). Otherwise, the performance ratio will approach infinity.
From the objectives of every problem, we find that the relationship between and is critical. Hence, we explore the following lemma.

Lemma 5. (See [24]). .

Proof. is obvious. Due to x ≥ 2, Lemma 2, and the explanation of , , we can deduceMoreover, if , we havewhich contradicts Lemma 2.
Consequently, we can easily obtain the corresponding values of and if (see Table 3).
To simplify the expression the objective function value of each problem, we use and to denote the objective function values obtained by algorithm H and the optimal schedule, respectively.

Theorem 2. Algorithm H is a 2-approximation algorithm for solving the problem () and the problem (), and the worst-case ratio is tight.

Proof. According to Lemma 4, it is obvious thatFrom Table 3, we have that the algorithm reaches the worst-case ratio when and .
For the problem (), because of (1) in Lemma 3, we haveSimilarly, when and , the algorithm reaches the worst-case ratio.
Consider the following instance: n = 6,  = 2, U = 7, x = 2, , and , . The schedule produced by algorithm H is as follows: the first delivery including job as the first batch is delivered at time 2; the second delivery including two batches, which consist of jobs and and jobs , , and respectively, is delivered at time . Hence, . However, in the optimal schedule, there is only one delivery, including two batches which consist of jobs , , and and jobs , , and respectively. This delivery occurs at time , and the optimal objective value is . If is sufficiently large, we have .
For the problem () and the problem (), we obtain the error bound of algorithm H in the following theorem.

Theorem 3. Algorithm H has an error bound 71/99 when solving the problem () and the problem ().

Proof. Because of (2) of Lemma 3, we have We only need analyse the upper bound of . Moreover, we prove the result in two cases according to and , respectively.Case 1: . We discuss this case in two subcases.Subcase 1.1: when we consider the situation that , we can obtain the following inequality for () according to Table 3: For , according to Tables 1 and 2. For , , we have .Subcase 1.2: when we consider the situation that , we have the following inequality from Table 3 except for :Moreover, associating with , we haveWhen k=0, k=1 with = 4, it is easy to deduce that inequality (7) holds when, .For , . Moreover, we have according to Tables 1 and 2. Hence, .Case 2: . We can easily obtain the inequality (10).Because according to Table 2 and according to Lemma 5, we obtainand and .

5. Computational Results

Since the four problems are all strongly NP-hard and the bin-packing problem is contained in these problems, solving them will be costly and time consuming. But, in order to evaluate the effectiveness of the algorithm H, we consider four numerical simulations for the small size problems. The optimal schedule is obtained by processing the batches according to the branch-and-bound algorithm for the bin-packing problem in [27] and delivering as (4) in Lemma 1.

The approximation algorithm and the branch-and-bound algorithm are coded in VC++, and the computational experiments are run on a personal computer. We utilize three different job numbers, n = 30 and 50. Let the processing time of each job be 1, and the sizes of all jobs are generated randomly from a discrete uniform distribution [1, 10]. Let the capacity of the machine U = 3, 7 and the capacity of the vehicle V = xU = 2U, 10U. We set two levels of the length of the unavailability period and two levels of the beginning time of the unavailability interval in the experiments. The cost of each delivery batch is set as For each combination of n, , , and , 20 random instances are used, and the computational results are summarized in from Tables 4 to 7, which reports the average number of seconds of CPU time of the optimal solutions and the solutions of algorithm H for each combination of parameters. The percentage error of the solution produced by the algorithm H is calculated as .

It is observed from Tables 47 that the average CPU times increase in polynomial times for the algorithm H when the number of jobs increase and increase in exponential times for the branch-and-bound algorithm. It is found that the average worst-case error bounds of the optimal solution of () and () are generally more than () and () because of the nonresumable conditions. Finally, the most important thing is that these four tables show that the approximation algorithm performs efficiently and the actual error bounds of four problems are lower than the theoretical error bounds.

6. Conclusions

We consider four integrated scheduling problems to minimize the sum of the maximum delivery time and the total delivery cost, in which a set of jobs are first processed on a single batch machine with an unavailability interval and, then, delivered to the customer directly, and the jobs have the same processing time and arbitrary sizes. We show that these four problems are all strongly NP-hard and propose an approximation algorithm for them. Moreover, we obtain that the worst-case error bound of the algorithm for the serial-batch machine setting and the parallel-batch machine setting, respectively. We also provide computational results to evaluate the performance of the heuristics.

The direction of future research may focus on other settings of jobs and vehicles, such as jobs with arbitrary processing times and arbitrary sizes or one vehicle with limited capacity.

Data Availability

Radom data used to support this study can be obtained from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This research was supported by the National Natural Science Foundation of China (116013 16), the key discipline “Applied Mathematics” of Shanghai Polytechnic University (XXKP Y1604), the subproject of “first class postgraduate education leading plan,” Research Center of Resource Recycling Science and Engineering, and Gaoyuan Discipline of Shanghai—Environmental Science and Engineering (Resource Recycling Science and Engineering) of Shanghai Polytechnic University.