Engineering
Vol.06 No.13(2014), Article ID:52144,8 pages
10.4236/eng.2014.613081
A Branch-and-Bound Based Heuristic Algorithm for Minimizing Makespan in Machining-Assembly Flowshop Scheduling
Kazuko Morizawa
Graduate School of Engineering, Osaka Prefecture University, Osaka, Japan
Email: morizawa@eis.osakafu-u.ac.jp
Copyright © 2014 by author and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/



Received 11 September 2014; 31 October 2014; accepted 23 November 2014
ABSTRACT
This paper proposes a heuristic algorithm, called list-based squeezing branch and bound algo- rithm, for solving a machine-fixed, machining-assembly flowshop scheduling problem to minimize makespan. The machine-fixed, machining-assembly flowshop consists of some parallel two-ma- chine flow lines at a machining stage and one robot at an assembly stage. Since an optimal sche- dule for this problem is not always a permutation schedule, the proposed algorithm first finds a promising permutation schedule, and then searches better non-permutation schedules near the promising permutation schedule in an enumerative manner by elaborating a branching procedure in a branch and bound algorithm. The results of numerical experiments show that the proposed algorithm can efficiently provide an optimal or a near-optimal schedule with high accuracy such as mean relative error being less than 0.2% and the maximum relative error being at most 3%.
Keywords:
Scheduling, Heuristic, Branch and Bound Algorithm, Machining-Assembly Flowshop, Makespan

1. Introduction
Recently manufacturers face to more competitive situation, because of shorten product life cycles and diversifi- cation of products. Flexible Manufacturing Cell (FMC) has attracted a lot of attention as a production system to cope with a multi-product, small-lot production efficiently in such a situation. The FMC usually consists of two stages: A machining stage with some parallel machines (or flow lines) and an assembly stage with a few robots. Sun et al. [1] formulate the scheduling problem for minimizing makespan in an FMC as Machining-Assembly Flowshop Scheduling (shortly MAFS) problem to minimize makespan, and divide into two cases: A machine- fixed case and a machine-unfixed case.
This paper deals with the machine-fixed MAFS problem with
parallel, two-machine flow lines at the machining stage and one assembly robot at the assembly stage. Each of
component parts of any job is processed on a prespecified two-machine flow line at the machining stage, and these parts are assembled on an assembly robot at the assembly stage after all component parts have been completed. Although two-stage flow- shop scheduling problems with one machine at each stage to minimize makespan can be solved efficiently by Johnson’s algorithm [2] , the machine-fixed, MAFS problem is strongly NP-complete, even when the machining stage consists of two parallel machines [3] [4] . In case of MAFS with two-lines consisting of two machines at the machining stage, a branch and bound algorithm (shortly B & B) [5] and a heuristic method [6] have been proposed to solve a small-sized and a large-sized problem, respectively.
This paper proposes a kind of hybrid heuristic algorithms, incorporating a local search procedure into the squeezing B & B [7] [8] . The performance of the proposed method is compared with a branch and bound algo- rithm with a limited computation time of one hour. Numerical experiments solving one hundred instances gen- erated randomly for each problem size are implemented to demonstrate that the proposed heuristic method can efficiently provide near-optimal schedules with high accuracy.
2. Scheduling Model
This paper deals with a machine-fixed MAFS model with the following conditions:
・ A machining stage consists of
parallel flow lines with two non-identical machines, named
,
,
, and an assembly stage consists of one robot
(See Figure 1).
・ Each of
jobs has
parts and these parts are processed on the pre-specified lines at the machining stage and assembled on a robot at the assembly stage.
・ Any assembly operation for each job cannot be started until machining operations for all parts of each job have been completed.
・ Machining time of
th parts of job
,
,
,
, and assembly time, 

・ Setup time is independent of job sequence and included in each processing time.
・ Transfer time between machines is negligible.
・ All jobs are ready at time zero, and no job can be split or preempted.
・ No machine can process more than one operation at a time, and all machines are always available during a scheduling period.
The scheduling criterion is to minimize makespan
It has proved that the best permutation schedule is not always optimal to this scheduling problem [5] . But, fortunately, it can be shown that FCFS (First Come First Served) rule provides an optimal assembly schedule to minimize makespan under a set of given schedules for machining flow line

Figure 1. Scheduling model.
3. Heuristic Algorithm
3.1. Basic Concept
Since the MAFS problem treated in this paper is NP-complete, we propose an efficient heuristic method, called “List-Based Squeezing Branch and Bound Algorithm (LSQ)”. The LSQ is a B & B-based local search algorithm elaborated for improving the efficiency of the squeezing B & B [7] [8] for the large-sized problems.
The squeezing B & B is a heuristic method which aims at obtaining a near-optimal schedule as close to the optimum as possible within a given computation time. In the squeezing B & B, parent nodes to be branched at branching level 


























After 





The procedure is terminated when the branching process reaches the bottom level of the search tree, and then the best schedule is selected from among the schedules obtained at the bottom level as the solution by the squeezing B & B.
Since the squeezing B & B does not implement any backtracking, the time complexity of the squeezing B & B can be controlled by the




This branching procedure is called “list-based squeezing” and the B & B-based parallel search algorithm us- ing the list-based squeezing is called list-based squeezing Branch and Bound algorithm (LSQ). In the same way as the squeezing B & B, the basic procedure of the LSQ is terminated when the branching process reaches the bottom level of the search tree, and then the best schedule obtained at the bottom level is selected as the solution. The quality of the solution can be improved by implementing the LSQ iteratively according to the new job-list which is renewed by the current best schedule with a better value of the performance measure than that of the current job-list.
Since the job-list in the LSQ is corresponding to an initial solution in a general local search procedure, the LSQ can be also considered as a kind of local search algorithms which searches neighborhood of an initial schedule in an enumerative manner according to the lower bound like a branch and bound algorithm and the size of neighborhood is restricted by the value of
For the MAFS problem of this paper, the LSQ is applied as a two-phase heuristic search algorithm. In the first phase, a promising permutation schedule is searched according to a job-list and then better non-permutation schedules are searched according to both some job-lists for non-permutation scheduling and the best permuta- tion schedule obtained in the first phase. In both phases, the LSQ is implemented iteratively.
3.2. Job-List
A job-list used in the LSQ is an initial schedule for searching better schedules. In the LSQ, the job-list is ob- tained first by using any promising heuristic method and the neighborhood is searched in an enumerative man- ner by employing a restricted branching procedure according to the job-list. The following four heuristic me- thods are proposed for obtaining a job-list for permutation scheduling to the MAFS problem.
1) Find a machining flow line 


inal MAFS problem. By applying Johnson’s algorithm [2] to the artificial two-machine problem, an approximate permutation schedule for the original problem is obtained.
2) Construct 



3) Find a machining flow line 




4) For each

ing 




ing a lower bound 

Select a schedule with the minimum makespan for the original MAFS problem from among the set of sche- dules generated by the above four heuristic methods and set the schedule as the job-list for permutation sche- duling, denoted by



The job-lists for non-permutation scheduling are obtained as follows:
1) Consider 









2) Adopt the best permutation schedule obtained in the first phase to a job-list for non-permutation scheduling, resulting in a job-list



These two kinds of job-lists are used for selecting some unscheduled jobs to be branched in the non-permu- tation scheduling phase. Select first 


3.3. Branching Rules
In the permutation scheduling phase of the proposed algorithm, the ordinary branching rule which generate nodes for the 









Furthermore, another branching rule is also proposed for more effective non-permutation scheduling. In this branching rule, find first a bottleneck machining flow line





These two kinds of branching rules for non-permutation scheduling are illustrated in Figure 2(a) and Figure 2(b), respectively.


Figure 2. Example of branching trees generated in non-permuation scheduling phase.(a) In case of all line search; (b) In case of bottleneck line search (







3.4. Lower Bound
Since the LSQ selects parent nodes to be branched according to the minimum lower bound rule, introducing the tight lower bound is important for getting a better performance. It is, however, very hard to define a tight lower bound directly for the MAFS problem, because a set of unscheduled jobs for each machining flow line is not always the same as these of the other lines in the non-permutation scheduling phase. Therefore, we adopt the following lower bound of a partial schedule 





where
Note that





































where, 



3.5. Algorithm
The basic algorithm of the LSQ with bottleneck line search for the non-permutation scheduling for this MAFS problem is presented as follows:
Step 1: Select a squeezing pattern and specify the values of





Step 2: Find a schedule with minimum makespan from among the schedules generated by using four heuris- tics described in 3.2. Set the job sequence of the schedule as the job-list for permutation scheduling

Step 3: Set 

Step 4: Generate 

Step 5: Select first 





Step 6: Calculate the lower bound for each child node by using Equation (1). If there exists nodes whose lower bounds are larger than
Step 7: If


Step 8: Determine the number of nodes to be selected, that is
Step 9: Select the 
Step 10: Set the incumbent best schedule as 



Step 11: Set 




Step 12: Set the job sequence of the schedule obtained by applying Johnson’s algorithm for each machining flow line 




Step13: Find a machining flow line of which completion time of the last job is the latest among 


Step 14: Set



Step 15: If
Step 16: Select first 







Step 17: Generate a child node for each parent node by sequencing the job sequenced at the 



Step 18: Calculate the lower bound for each child node. If there exists nodes whose lower bounds are larger than
Step 19: If







Step 20: Determine the number of nodes to be selected
Step 21: Select the 
Step 22: Set the makespan of the schedule 


Step 23: Set 





Step 24: The schedule 
In this algorithm, the Steps 1-11 present the permutation scheduling procedure and Steps 12-24 present the non- permutation scheduling procedure.
For the case that all lines search is adopted in the non-permutation scheduling phase, Steps 13, 15 and 17 are removed from the above algorithm and Step 16 is replaced by the following Step 16’.
Step 16’: Select first 








4. Numerical Experiments
4.1. Experimental Conditions
To evaluate the performance of the proposed algorithm, numerical experiments are implemented under the fol- lowing conditions.
One hundred instances are generated for each combination of 





・ LSQ(a): The LSQ with 
・ LSQ(b): The LSQ with 
・ LSQ(c): The LSQ with 
・ LSQ(d): The LSQ with 
All algorithms are coded in C-language and run it on a personal computer with CPU of Phenom II X6 3.20 GHz.
4.2. Results
Results of numerical experiments are summarized in Table 1 and Tables 2-4, where “ta(%)” denotes the total average relative error in makespan of the schedule obtained by each heuristic method compared with the optimal
Table 1. Experimental results of LSQ(a)-(d) and the proposed method.
Table 2. Experimental results of the proposed method and the one-hour-truncated B & B (L = 2).
Table 3. Experimental results of the proposed method and the one-hour-truncated B & B (L = 3).
Table 4. Experimental results of the proposed method and the one-hour-truncated B & B (L = 5).
(or best) schedule. The “best” schedule means the best of all schedules obtained by all heuristic algorithms and the one-hour-truncated branch and bound algorithm, and this term is used when the branch and bound algorithm cannot provide the “optimal” schedule within one hour. The notation “
Table 1 shows the results of the proposed method and LSQ(a)-(d) for 

Tables 2-4 show the experimental results of the proposed method and the one-hour-truncated branch and bound algorithm [5] for L = 2, 3, 5, respectively. In these tables, “LSQ” denotes the proposed method and “B & B” denotes the one-hour-truncated branch and bound algorithm, respectively. From Tables 2-4, we find that the performance of “B & B” deteriorates as the problem size increases, i.e., the fraction of instances solved by B & B is 48% for 


5. Conclusion
In this paper, a branch-and-bound-based heuristic algorithm, called “list-based squeezing branch and bound al- gorithm (LSQ)” is proposed for solving a machine-fixed, machining-assembly flowshop (MAFS) scheduling problem with L parallel two-machine flow lines at the machining stage and one assembly robot at the assembly stage. Since an optimal schedule to minimize makespan for this MAFS problem is not always a permutation schedule, two-phase search is implemented by using the LSQ. The first phase provides a promising permutation schedule and the second phase searches better non-permutation schedules near the permutation schedule. Results of numerical experiments show that the proposed LSQ efficiently provides optimal or near-optimal schedules with total average relative error is less than 0.2% and the maximum relative error is at most 3%.
References
- Sun, X., Morizawa, K. and Nagasawa, H. (2003) Powerful Heuristics to Minimize Makespan in Fixed, 3-Machine, As- sembly-Type Flowshop Scheduling. European Journal of Operational Research, 146, 498-516. http://dx.doi.org/10.1016/S0377-2217(02)00245-X
- Johnson, S.M. (1956) An Optimal Two- and Three-Stage Production Scheduling with Setup Time Included. Naval Re- search Logistics Quarterly, 1, 61-68. http://dx.doi.org/10.1002/nav.3800010110
- Lee, C.-Y., Cheng, T.C.E. and Lin, B.M.T. (1993) Minimizing the Makespan in the 3-Machine Assembly-Type Flow- shop Scheduling Problem. Management Science, 39, 616-625. http://dx.doi.org/10.1287/mnsc.39.5.616
- Potts, C.N., Sevast’janov, S.V., Strysevich, V.A., Van Wassenhove, L.N. and Zwaneveld, C.M. (1995) The Two-Stage Assembly Scheduling Problem: Complexity and Approximation. Operations Research, 43, 346-355. http://dx.doi.org/10.1287/opre.43.2.346
- Miyake, Y., Morizawa, K. and Nagasawa, H. (2002) A Branch-and-Bound Algorithm for Minimizing Makespan in a Machine-Fixed, Machining-Assembly Flowshop with Parallel Flowshop Lines. Journal of Japan Industrial Management Association, 53, 292-301.
- Nagasawa, H. and Morizawa, K. (2002) Heuristic Scheduling in Machining-Assembly Flowshop with Parallel Two- Machine Flow Lines at Machining Stage. Journal of Japan Industrial Management Association, 53, 37-46.
- Morizawa, K., Sun, X. and Nagasawa, H. (1998) Squeezing Branch and Bound Algorithm and Its Application to an N/M/F/F Max Problem. Proceedings of 1998 Japan USA Symposium on Flexible Automation, Otsu, 12-15 July 1998, 913-916.
- Morizawa, K., Sun, X. and Nagasawa, H. (2003) Squeezing Branch and Bound Algorithm for the Machine-Fixed, Ma- chining-Assembly Flowshop Scheduling Problem. International Journal of Manufacturing Technology and Management, 5, 20-27. http://dx.doi.org/10.1504/IJMTM.2003.002526
- Dannenbring, G.D. (1977) An Evaluation of Flowshop Sequencing Heuristics. Management Science, 23, 1174-1182. http://dx.doi.org/10.1287/mnsc.23.11.1174







