The Scientific World Journal

Volume 2014, Article ID 979238, 7 pages

http://dx.doi.org/10.1155/2014/979238

## Asymptotic Analysis of SPTA-Based Algorithms for No-Wait Flow Shop Scheduling Problem with Release Dates

^{1}Software College, Northeastern University, Shenyang 110819, China^{2}School of Business Administration, Northeastern University, Shenyang 110819, China

Received 31 August 2013; Accepted 30 October 2013; Published 9 February 2014

Academic Editors: P. A. D. Castro, B. Liu, X.-l. Luo, and Y. Shi

Copyright © 2014 Tao Ren et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We address the scheduling problem for a no-wait flow shop to optimize total completion time with release dates. With the tool of asymptotic analysis, we prove that the objective values of two SPTA-based algorithms converge to the optimal value for sufficiently large-sized problems. To further enhance the performance of the SPTA-based algorithms, an improvement scheme based on local search is provided for moderate scale problems. New lower bound is presented for evaluating the asymptotic optimality of the algorithms. Numerical simulations demonstrate the effectiveness of the proposed algorithms.

#### 1. Introduction

The no-wait flow shop is a very typical scheduling setting in steel production, food production, service industry, and so forth [1]. In this scheduling problem, jobs have to be processed on a set of machines following the same route. There is no intermediate storage between any two adjacent machines. The finished job has to remain on the upstream machine, until the downstream machine becomes available. The jobs to be processed arrive to the system over time. The goal is to achieve a job sequence that minimizes the sum of total completion times. For formally stating the scheduling problems, the standard three-field notation [2] is employed in the succeeding content.

Röck [3] reported the strong NP-hardness for problem F2*|*no-wait*|*Σ. As the F2*|*no-wait*|*Σ problem is a special case of the F*|*no-wait, *|*Σ problem, it implies that obtaining the optimal solution in polynomial time for the latter is impossible. Wang et al. [4] considered the F*|*no-wait*|*Σ problem, where is the weight of job and is the discounted rate. The authors developed efficient polynomial time algorithms for finding the optimal schedules of the problem. Su and Lee [5] investigated a no-wait and separate setup two-machine flow shop system with a single server (i.e., F2 S1*|*no-wait, *|*Σ). They proposed optimal solutions for several restricted cases and some properties for general case as well as established the heuristic and branch and bound algorithms to tackle the problem. Huang et al. [6] addressed a no-wait flow shop problem with two-stage multiprocessor (i.e., F2(P1, P2)*|*no-wait, *|*Σ, where is the setup time of job ). They implement integer programming model and an ant colony optimization to test, analyze, and compare simulated data. Framinan et al. [7] proposed a new constructive heuristic based on an analogy with the two-machine problem in order to select the candidate to be appended in the partial schedule. They conducted computational tests to show that the proposed heuristic outperforms existing ones. Zhao and Tang [8] extend the artificial immune system approach by proposing a new methodology termed as Psycho-Clonal algorithm to deal with problem F*|*no-wait *|*Σ. Qian et al. [9] presented a hybrid algorithm based on differential evolution (HDE) to solve the F*|*no-wait, , *|*Σ, where denotes the sequence dependent setup time. The superiority of HDE in terms of searching quality, robustness, and efficiency is demonstrated by simulations.

For the unlimited buffer version of this problem (i.e., F*|**|*Σ) Liu et al*.* [10] reported the asymptotic optimality of two heuristic algorithms based on the Shortest Processing Time among Available job (SPTA) rule, namely, the SPTA-F and SPTA-A rules. In this paper, we try to prove that these rules are also asymptotically optimal for problem F*|**no-wait*, *|*Σ in sense of probability limit. An improvement scheme is introduced for the heuristics to enhance the quality of the original solutions. For numerically evaluating the experimental results, new lower bound is provided for the problem. At the end of the paper, computational results demonstrate the convergence of the heuristics and the performance of the improvement scheme.

The remainder of the paper is organized as follows. The formulated expression of the no-wait flow shop is given in Section 2. The asymptotic analysis on the SPTA-based algorithms is introduced in Section 3. The improvement scheme and new lower bound are presented in Section 4. Some computational results are provided in Section 5 and this paper closes with the conclusion in Section 6.

#### 2. Problem Statement

Generally, a no-wait flow shop involves machines in series and jobs to be executed. Each job requires to be sequentially processed on each of the machines without preemption. The processing time of job , , on machine , , is . It is supposed that all the processing times are independently and identically distributed (i.i.d.) random variables defined on interval . The jobs arrive to the system with a release date , which is the earliest time when the job is available. A regular assumption on the release dates is that they are nonnegative. The permutation schedule is adopted; that is, the jobs pass the whole system maintaining the sequence that they are processed on the first machine. Let and be the starting time and completion time of job on machine , , , respectively. There is no intermediate storage between successive machines. The retention time of job on machine is denoted as , where the value of maximum is zero as no blocking occurs. The objective value of algorithm is denoted as (ALG) and the optimal value is denoted as (OPT). The objective is to find a schedule that optimizes the total completion time (TCT) for all jobs on the final machine.

#### 3. Asymptotic Analysis on the SPTA-Based Algorithms

In this section, we implement performance analysis on the SPTA-F and SPTA-A rules for the no-wait flow-shop TCT problem. The mathematical proof reveals the asymptotic optimality of these SPTA-based algorithms.

##### 3.1. Asymptotic Optimality of the SPTA-F Algorithm

The SPTA-F rule schedules the job with the minimum value of , , among the available ones whenever the first machine is idle. Without regard to the extra time (caused by blocking) when jobs remain on the machines, the total time on the first machine can be treated as a lower bound (LB1) for the problem, where the asymptotic optimality of LB1 for the associated single machine problem has been provided by Kaminsky and Simchi-Levi [11]: where (LB1) denotes the objective value of LB1. Therefore, the following results are presented.

Theorem 1. *Let the processing times of job , , , , be independent random variables having the same continuous distribution defined on . With probability one, one has
**
where (SPTA-F) is the objective value obtained by the SPTA-F rule.*

*Proof. *Denote the completion time of job , , on the first machine in as . Therefore, we have
Note that
Under the assumption of Theorem 1, for every , , with probability one, Xia et al. [12] proved that
where . With inequalities (4) and (5), dividing on both sizes of (3) and taking limit, we have
For the objective values, we have
Noting limit (6), dividing on the both sides of (7), and taking limit, we can get the result.

##### 3.2. Asymptotic Optimality of the SPTA-A Algorithm

The SPTA-A rule schedules the job with the minimum value of , , among the available ones whenever the first machine is idle. Similarly, the associated lower bound (LB2) is provided for the problem: where (LB2) denotes the objective value of LB2. For LB1 and LB2, Xia et al. [12] presented the following result.

Lemma 2. *Under the assumption of Theorem 1, for a given instance of the flow shop problem and its corresponding optimal solutions of LB1 and LB2, with probability one, one has
**
where (LB1) and (LB2) denote the optimal values of LB1 and LB2, respectively.**With this lemma, one can obtain the asymptotic optimality for the SPTA-A rule.*

Theorem 3. *Under the assumption of Theorem 1, with probability one, one has
**
where (SPTA-A) is the objective value obtained by the SPTA-A rule.*

*Proof. *For a given problem instance, we have
Referring to the proof of Theorem 1, we obtain
Noting Lemma 2 and limit (12), dividing on the both sides of (7), and taking limit, we can get the result.

#### 4. Improvement Scheme and Lower Bound

This section provides an improvement based on the properties of job sequencing to enhance the performance of the SPTA-based algorithms. For numerical verifying the asymptotic optimality of the algorithms, a new lower bound is presented.

##### 4.1. Improvement Scheme for SPTA-Based Algorithm

Before giving the improvement scheme, several properties for problem F2*|**no-wait*, *|*Σ are introduced first.

*Property 1. *For F2*|**no-wait*, *|*Σ, if jobs and satisfy , and , and , then the optimal sequence is that job is scheduled before job .

*Proof (by contradiction). *Suppose the optimal sequence is that job is scheduled before job . The completion times of job in sequences and are and , respectively. For sequence , we have
For sequence , we have
Because sequence is optimal,
Hence,
which leads to a contradiction.

*Property 2. *For F2*|**no-wait*, *|*Σ, if jobs and satisfy , and , and , then the optimal sequence is that job is scheduled before job .

*Proof (by contradiction). *Suppose the optimal sequence is that job is scheduled before job . The completion times of job in sequences and are and , respectively. For sequence , we have
For sequence , we have
Because sequence is optimal,
Hence,
which leads to a contradiction.

*Property 3. *For F2*|**no-wait*, *|*Σ, if jobs and satisfy , and , and , then the optimal sequence is that job is scheduled before job .

*Proof (by contradiction). *Suppose the optimal sequence is that job is scheduled before job . The completion times of job in sequences and are and , respectively. For sequence , we have
For sequence , we have
Because sequence is optimal,
Hence,
which leads to a contradiction.

*Property 4. *For F2*|**no-wait*, *|*Σ, if jobs and satisfy , and , and , then the optimal sequence is that job is scheduled before job .

*Proof (by contradiction). *Suppose the optimal sequence is that job is scheduled before job . The completion times of job in sequences and are and , respectively. For sequence , we have
For sequence , we have
Because sequence is optimal,
Hence,
which leads to a contradiction.

On the basis of these properties, we design an improvement scheme to promote the solution obtained by SPTA-based rules.

The machines are divided into groups and denote group , . The processing time of job on machine , , in group is defined by . Therefore, the improvement scheme is stated formally as follows.

*Improvement Scheme*

*Step 1.* Generate the initial sequence with SPTA-based rule and calculate the objective value . Reindex the jobs from 1 to .

*Step 2.* Divide the machines into groups. For each machine group , , execute the following adjustment substeps for sequence .

*Step 2.1.* For two jobs and with , if one of the following conditions is satisfied: , , , and , then interchange jobs and and calculate the objective value.

*Step 2.2.* If the objective value obtained in the previous substep is smaller than , retain the current sequence; otherwise, hold the original sequence unchangeably.

*Step 3.* Stop the proceeding until all the jobs in each machine group are checked, and select the sequence with the minimum objective value as the final solution.

Obviously, without regard to the no-wait constraint, the improvement scheme can also solve the F*|**|*Σ problem.

##### 4.2. New Lower Bound

For the F*|**|*Σ problem, Bai and Ren [13] presented an asymptotically optimal lower bound, LB-BR, as a substitute for the optimal schedule:
where (LB-BR) denotes the objective value obtained by LB-BR. Obviously, this lower bound can solve problem F*|*no-wait, *|*Σ directly. But we find that LB-BR is not a real lower bound, and sometimes it may be larger than the optimal solution. Consider the following instance.

*Example 4. *A two-machine flow shop scheduling problem involves two jobs (machines and , jobs and ) without release date. The processing times of the jobs are listed as follows:
where is an arbitrary small positive number. The LB-BR in the SPTA-A sequence has the objective value of , but the optimal sequence has the optimal solution of . Clearly, . To avoid such cases, a new lower bound, , is introduced to deal with the flow shop total completion time problem, including no-wait constraint:
where

Calculating the value of for sequence , we have

#### 5. Numerical Simulation

This section designed a series of simulation experiments to show the convergence of the SPTA-based rules and the effectiveness of the improvement scheme for different size problems. In the computational testing, the following parameters are varied:(1)machines: 3, 5, and 10 machines for testing the SPTA-based rules; 10, 15, and 20 machines for testing improvement scheme;(2)jobs: 100, 500, 1000, and 1500 jobs for testing the SPTA-based rules; 10, 20, 50, 80, and 100 jobs for testing improvement scheme;(3)processing times: randomly generated from a discrete uniform distribution on [12, 13] and a discrete normal distribution with expectation 5 and variance 25;(4)release dates: , , , where is a random variable generated independently from a discrete uniform distribution on [12, 13].

Ten different random trials are performed for each combination of these parameters, respectively. The averages are reported in the tables.

##### 5.1. Convergence Trend of SPTA-Based Algorithms

Tables 1 and 2 listed the mean relative ratio for the SPTA-F/A rule, where denotes the and rules. Tables 3 and 4 report the ratio for the associated lower bound obtained by the SPTA-F/A rule. The data in Tables 1 and 2 showed that the ratios approach zero as the number of jobs increases, indicating that convergence trend is independent of processing time distributions and suggesting that the SPTA-based algorithms are asymptotically optimal. For five machines and uniform distribution, for example, the ratios of the SPTA-F rule dropped from 0.05581 to 0.00895, when the number of jobs increases from 100 to 1500. The ratios in Tables 3 and 4 revealed that one lower bound dominating the other is impossible. With Lemma 2, we can conclude that the two lower bounds are asymptotically equal when the job number is sufficiently large for the same instances.

##### 5.2. Performance of Improvement Scheme

As the experiments in Section 5.1 demonstrate nonsignificant difference for the SPTA-F and SPTA-A rules, we select one of them for testing the performance of the improvement scheme. Table 5 listed the mean relative ratio for the improvement scheme, where denotes the objective value obtained by the improvement scheme. The data in Table 5 indicate that the improvement scheme enhances the performance of the SPTA-F rule effectively for moderate-sized problems. As the problem scale continues to enlarge, the improvement is weakened and the running time lengthens. Therefore, obtaining the near-optimal solution with the SPTA-based rules directly for large-scale problems is more practical.

#### 6. Conclusions

In this paper, we first proved that the SPTA-based algorithms are asymptotically optimal as the problem size tends to infinity for problem F*|**no-wait*, *|*Σ. And then, an improvement scheme based on job swap is presented to boost the performance of the SPTA-based algorithms for moderate scale problems. To evaluate the convergence trend of the algorithms, new lower bound is provided. Computational results show the effectiveness of the proposed algorithms

#### Conflict of Interests

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

#### Acknowledgments

This research is supported partly by the National Natural Science Foundation of China (Grant no. 61104074), Fundamental Research Funds for the Central Universities (Grant nos. N110417005, N100317002, N110617001, and N110417004), China Postdoctoral Science Foundation (Grant no. 2013T60294), Scientific Research Foundation for Doctor of Liaoning Province of China (Grant nos. 20101032, 20111001, 20121001, and 201202076), and 2011 Plan Project of Shenyang City (Grant no. F11-264-1-63).

#### References

- N. G. Hall and C. Sriskandarajah, “A survey of machine scheduling problems with blocking and no-wait in process,”
*Operations Research*, vol. 44, no. 3, pp. 510–525, 1996. View at Google Scholar · View at Scopus - R. L. Graham, E. L. Lawler, J. K. Lenstra, and A. H. G. R. Kan, “Optimization and approximation in deterministic sequencing and scheduling: a survey,”
*Annals of Discrete Mathematics*, vol. 5, pp. 287–326, 1979. View at Publisher · View at Google Scholar · View at Scopus - H. Röck, “Some new results in flow shop scheduling,”
*Zeitschrift für Operations Research*, vol. 28, pp. 1–16, 1984. View at Google Scholar - J.-B. Wang, F. Shan, B. Jiang, and L.-Y. Wang, “Permutation flow shop scheduling with dominant machines to minimize discounted total weighted completion time,”
*Applied Mathematics and Computation*, vol. 182, pp. 947–954, 2006. View at Google Scholar - L.-H. Su and Y.-Y. Lee, “The two-machine flowshop no-wait scheduling problem with a single server to minimize the total completion time,”
*Computers and Operations Research*, vol. 35, no. 9, pp. 2952–2963, 2008. View at Publisher · View at Google Scholar · View at Scopus - R.-H. Huang, C.-L. Yang, and Y.-C. Huang, “No-wait two-stage multiprocessor flow shop scheduling with unit setup,”
*International Journal of Advanced Manufacturing Technology*, vol. 44, no. 9-10, pp. 921–927, 2009. View at Publisher · View at Google Scholar · View at Scopus - J. M. Framinan, M. S. Nagano, and J. V. Moccellin, “An efficient heuristic for total flowtime minimisation in no-wait flowshops,”
*International Journal of Advanced Manufacturing Technology*, vol. 46, no. 9–12, pp. 1049–1057, 2010. View at Publisher · View at Google Scholar · View at Scopus - X. Zhao and J. Tang, “No-wait flow shop scheduling based on artificial immune system,” in
*Proceedings of the IEEE International Conference on Advanced Computer Control (ICACC '10)*, pp. 436–440, March 2010. View at Publisher · View at Google Scholar · View at Scopus - B. Qian, H. B. Zhou, R. Hu, and F. H. Xiang, “Hybrid differential evolution optimization for no-wait flow-shop scheduling with sequence-dependent setup times and release dates,” in
*Advanced Intelligent Computing*, vol. 6838 of*Lecture Notes in Computer Science*, pp. 600–611, 2011. View at Google Scholar - H. Liu, M. Queyranne, and D. Simchi-Levi, “On the asymptotic optimality of algorithms for the flow shop problem with release dates,”
*Naval Research Logistics*, vol. 52, no. 3, pp. 232–242, 2005. View at Publisher · View at Google Scholar · View at Scopus - P. Kaminsky and D. Simchi-Levi, “Asymptotic analysis of an on-line algorithm for the single machine completion time problem with release dates,”
*Operations Research Letters*, vol. 29, pp. 141–148, 2001. View at Google Scholar - C. H. Xia, J. G. Shanthikumar, and P. W. Glynn, “On the asymptotic optimality of the SPT rule for the flow shop average completion time problem,”
*Operations Research*, vol. 48, no. 4, pp. 615–622, 2000. View at Google Scholar · View at Scopus - D. Bai and T. Ren, “New approximation algorithms for flow shop total completion time problem,”
*Engineering Optimization*, vol. 45, pp. 1091–1105, 2013. View at Google Scholar