Research Article  Open Access
Assembly Line Balancing Based on Beam Ant Colony Optimisation
Abstract
We use a hybrid approach which executes ant colony algorithm in combination with beam search (ACOBS) to solve the Simple Assembly Line Balancing Problem (SALBP). The objective is to minimise the number of workstations for a given fixed cycle time, in order to improve the solution quality and speed up the searching process. The results of 269 benchmark instances show that 95.54% of the problems can reach their optimal solutions within 360 CPU time seconds. In addition, we choose order strength and time variability as indicators to measure the complexity of the SALBP instances and then generate 27 instances with a total of 400 tasks (the problem size being much larger than that of the largest benchmark instance) randomly, with the order strength at 0.2, 0.6 and 0.9 three levels and the time variability at 515, 6575, and 135145 levels. However, the processing times are generated following a unimodal or a bimodal distribution. The comparison results with solutions obtained by priority rule show that ACOBS makes significant improvements on the quality of the best solutions.
1. Introduction
An assembly line is a continuous production line consisting of materials and workstations combined with conveyor belts, and it can link men and machines closely and efficiently [1]. Assembly lines are floworiented systems that are indispensable for both the production of high quantity standardized products and low volume production of customized products [2]. Effective design and redesign of assembly lines require high investment and running costs and are essential in manufacturing industries [3]. In addition, assembly planning and control play important roles in managing expanding product ranges, reducing delivery time and costs, and increasing profitability [4].
The Assembly Line Balancing Problem (ALBP) is a wellstudied classic problem [5] and can be seen as a generalization of the Bin Packing problem where precedence constraints are added [6]. It focuses on assigning tasks to workstations with the aim of satisfying the precedence relationships among the tasks, the workload limitation of the workstations, and optimizing performance measures [7]. According to Becker and Scholl [8], there are four types of ALBP: SALBPI aims to minimise the number of workstations with a given fixed cycle time; SALBPII minimises the cycle time with a given number of workstations; SALBPE aims to minimise the cycle time and the number of workstations at the same time by considering their relation with the total idle time or the inefficiency of the line; SALBPF determines the feasibility of the problem with given the number of workstations and the cycle time.
ALBP is a wellknown NPhard problem, and it has been researched for more than sixty years. It was first studied by Salveson [5] who constructed a mathematical model of ALBP and suggested a solution procedure. For decades, the core problem has been extended to meet robotic, machining, and disassembly contexts, but even the simple version is still challenging [3].
Exact methods and approximate methods have been used to solve ALBP. According to Baybars [9], if n denotes the total number of tasks, there are n! possible sequences of tasks in SALBP; if there are r precedence constraints, then there are approximately n!/2r distinct, feasible sequences. Consequently, the required computational time for obtaining an optimal solution with an exact method for most of ALBP increases exponentially with the instance size considered [3]. This limits the performance of exact methodologies especially when the problem size is extremely large. Therefore, exploring efficient heuristic methodologies to cope with large scale ALBP within an acceptable time period is clearly necessary.
Recently, metaheuristic algorithms such as the genetic algorithm, particle swarm optimisation and the ant colony optimisation algorithm have been used to deal with ALBP due to these algorithms’ good performance on optimisation [1].
Swarm intelligence algorithms are based on the collective behavior in decentralized, selforganized systems and consist of agents interacting with each other and the environment. There is no centralized control structure. This kind of algorithms can be scalable since the number of agents can be easily added or removed. Besides, each agent is simple to design, and reliance on individual agents is small. Although each agent is not sophisticated, complex tasks can be solved in cooperation. As to ant colony algorithm, its main novel idea is the synergistic use of cooperation among many relatively simple agents which communicate by distributed memory implemented as pheromone deposited on edges of a graph [10]. The colony as a whole coordinates the activities without a direct communication between individual ants, as an isolated ant basically moves at random [11]. Each ant can build a solution step by step, and information left by other ants is used during the solution generation process. Good solutions can be obtained eventually without direct communication.
ACO has good performance on solving combinatorial optimisation problems. To effectively address the assembly line balancing problem with complicating factors such as parallel workstations, stochastic task durations, and mixedmodels, McMullen and Tarasewich [12] proposed an approach based on ant techniques and, in comparison with other heuristics, showed that the proposed method is competitive with other heuristic methods in terms of the performance measures used in the study. Bautista and Pereira [13] used an ant algorithm incorporating some ideas that have offered good results with SALBP to solve the time and space constrained ALBP and get much better results than those by Tabu search. Kucukkoc and Zhang [14] and Zhong and Ai [1] also explored ALBP with ant colony based approaches. Therefore, ACO based methodologies show promising performance in coping with ALBP, and ACO is sufficiently flexible to be combined with other algorithms to achieve better performance.
With the development of products, the problem size is increasing and the complexity in the assembly process is greatly increasing to a large extent. Although many explorations have been undertaken by researchers, the development of methods to suit the complex assembly context is urgent, with the increasing of complexity of ALBP. In this study, we focus more on the performance of the algorithm on the large scale ALBP. In order to deal with ALBP in a large problem size, we hybridized ACO with Beam Search (ACOBS) to improve the efficiency and improve the computational performance of the algorithm so that satisfactory results can be obtained within an acceptable computation time. The paper is organized as follows: Section 2 presents works solving ALBP by ant techniques; Section 3 shows the problem description with the mathematical model; the algorithm of ACOBS is comprehensively developed in Section 4; the proposed algorithm is tested with benchmark instances at first and then the larger scale problems are generated to further explore the performance of the algorithm. The computational results are given in Section 5, and Section 6 gives contributions of the work and the future directions.
2. Literature Review
The ant colony algorithm has been applied to solve ALBP, and the traditional ant colony algorithms have been adapted to deal with the complex models of ALBP. Furthermore, researchers have also validated the effectiveness of the ant colony heuristic in solving ALBP. Baykasoğlu and Dereli [15] integrated the computer method of sequencing operations for assembly lines, ranked the positional weight heuristic, and the ant colony heuristic to deal with the simple and Ushaped ALBPs. Additionally, Fattahi et al. [16] developed a heuristic approach based on the ant colony optimisation approach to solve the medium and largesize scales of this problem, since the problem is NPhard. The experimental results validate the effectiveness and the efficiency of the proposed algorithm.
SALBP, which belongs to a class of intensively studied combinatorial optimisation problems known to be NPhard, has attracted the attention of researchers and practitioners of operations research for almost half a century [2]. With the development of ALBP, the core problem has been extended from a manual assembly background to robotic, machining, and disassembly contexts; thus there are various industrial environments and line configurations [3]. Researchers try to narrow down the gap between academic research and the reality faced by practitioners, with more constraints considered in order to explore more realistic problems. To effectively address the assembly line balancing problem with complicating factors such as parallel workstations, stochastic task durations, and mixedmodels, McMullen and Tarasewich [12] proposed an approach based on ant techniques, and comparison with other heuristics showed that the proposed method is competitive with other heuristic methods in terms of the performance measures used in this study. Simaria and Vilarinho [11] presented an method to solve the twosided mixedmodel ALBP with an ant colony optimisation algorithm, where two ants “work” simultaneously to build a balancing solution which verifies the precedence, zoning, capacity, side, and synchronism constraints. The superior performance of the approach was demonstrated by the results of a computational experiment. AkpıNar et al. [17] presented a hybrid algorithm combining an ant colony algorithm with a genetic algorithm for type I mixedmodel ALBP with features such as parallel workstations, zoning constraints and sequence dependent setup times between tasks. To carry out assembly sequence planning and assembly line balancing simultaneously, Lu and Yang [18] proposed an ant colony algorithm based on the searching mechanism and the pheromone updating mechanism. In addition, the assembly task time, the time for changing assembly directions, changing assembly tools, and the time for moving heavy parts in the workstation were also considered.
There are many situations in which multiple objectives are taken into account and these objectives are sometimes conflicting. Therefore, methods to solve multiobjective ALBP are valuable to guide practitioners. McMullen and Tarasewich [19] simultaneously addressed the objectives of crew size, system utilization, the probability of jobs being completed within a certain time frame, and system design costs, and the superiority of the modified ant colony optimisation technique was shown in comparative results. Zha and Yu [20] presented a new hybrid algorithm of ant colony optimisation and filtered beam search to solve the Uline rebalancing problem with two objectives. In the process of constructing a path, each ant explores several nodes for one step and chooses the best one by global and local evaluation at a given probability. The proposed algorithm was shown to be good at solving the Uline rebalancing problem. Kucukkoc and Zhang [14] introduced a typeE parallel twosided ALBP and proposed a new ant colony optimisation method with optimised parameters for solving the problem and found promising ways to simultaneously minimise two conflicting objectives, namely, cycle time and number of workstations.
Some researchers used one colony of ants to update the pheromone values and guide the searching process, while other researchers used multiple colonies of ants in the searching process so as to make the searching process more efficient. Multiple ants can be applied to the searching process in multiple objective problems. Agrawal and Tiwari [21] utilized collaborative ant colony optimisation, which maintained bilateral colonies of ants which independently identified the two sequences but utilized the information obtained by their collaboration to guide the future path in solving a balancing problem in mixedmodel disassembly, and the effectiveness and robustness of the proposed approach were well demonstrated. Ozbakir et al. [22] studied parallel assembly lines with a novel multiplecolony ant algorithm, and the effective algorithm was examined with benchmark instances and compared with other algorithms.
In conclusion, there are many approaches related to ACO and ALBP, and developing approaches that can solve ALBP within an acceptable time were critical in real industrial applications, since ALBP is a NPhard problem and ALBP of complex products brings new challenges. More advances in methods to solve ALBP are necessary to suit the dynamic and changing industrial environment.
3. Problem Description
3.1. Problem Description
ALBP is about assigning tasks to workstations, while optimizing certain criterion and not violating a number of possible restrictions, and can be divided into Simple Assembly Line Balancing Problem (SALBP) and General Assembly Line Balancing Problem (GALBP) [9].
For SALBP, the cumulative constraints associated with the available work time at workstations, and the precedence constraints established by the order in which the tasks must be executed need to be taken into account [23]. Nevertheless, GALBP problems contain additional considerations, such as the restricted assignment of tasks [24], or the assignment in a block of certain tasks [25]. Large scale SALBP is considered in this study.
According to Baybars [9], there are five main assumptions in SALBP: (A1) a task cannot be split among two or more stations, and all tasks must be processed. (A2) tasks cannot be processed in arbitrary sequences due to technological precedence requirements. (A3) all stations under consideration are equipped and manned to process any one of the tasks, and any task can be processed at any station. (A4) the task process times are independent of the station at which they are performed and of the preceding or following tasks. (A5) the assembly system is assumed to be designed for a unique model of a single product.
3.2. Mathematical Model
Notation : total number of tasks; : upper bound of the total number of workstations; : lower bound of the total number of workstations, for ; : processing time of task , for ; : cycle time; : set of pairs of tasks such that immediately precedes ; : set of tasks that precede (succeed) , for ; : lower bound on the number of the workstation to which task can be assigned, for ; : upper bound on the number of the workstation to which task can be assigned, for ;
Variables 1, if and only if task is assigned to workstation ; otherwise, 0 (); 1, if and only if any task is assigned to workstation (); otherwise, 0.
The mathematical model of SALBPI is as follows:The objective function (1) minimises the total number of workstations; constraint (2) suggests that every task is assigned to one and only one workstation; workload constraints (3) and (4) imply that the total processing time of each workstation does not exceed the cycle time; constraint (5) ensures that all the precedence relations are satisfied.
3.3. Reversibility of ALBP
One ALBP instance can transfer to its reverse version after all the precedence relationships are reversed. If is a solution for the reverse problem, then a solution for the original problem can be obtained by inverting the workstation orders of . Thus, a solution for the original problem can be . Following Bautista and Pereira [13], we solve the original problem and the reverse problem, respectively, and then choose a better solution from the solutions obtained.
Before comparing the solutions of the two versions, solutions of the reverse problem are transferred to those of the original problem. There are two criteria for selecting the best solution: number of workstations and idle time in the last workstation. The second criterion is added due the fact that there are always large plateaus when only the first criterion is used, and more idle time in the last workstation means better resource utilization of the previous workstations. When there are several solutions with the same number of workstations, preference goes to the solution with more idle time in the last workstation, and then the solution will be chosen randomly if there are still ties after the above two steps.
4. The Algorithm of ACOBS
For the classical ant colony algorithm, many ants search for solutions separately in one iteration. According to Dorigo et al. [28], there are three kinds of classical ant colony algorithm: ant system, antdensity, and antquantity, and for the latter two models, each ant lays pheromone at each step, while for ant system, ants lay pheromone after the end of the tour. Thus, pheromone values are updated by global information in the ant system model, while local information is used to update the pheromone values in the other two models. Not surprisingly, the results of ant system model are better since global information rather than local information is used to guide the solution searching process.
However, with the ant system model, although ants may start from different starting points, there will still be large amounts of repetition when the algorithm progresses step by step during the searching process. For SALBPI, even if different tasks are chosen by different ants to assign the current workstation, there is still a large possibility that the task sets generated by some ants for one workstation are the same. When there is no rule to prevent this kind of repetition, the searching process will not be effective when compared to other methods. This motivates us to add rules to prevent the repetition of assignment for each workstation.
Beam search is an adaptation of the branch and bound method in which only certain nodes are evaluated, and only promising nodes are kept for further branching and the remaining nodes are pruned permanently [29]. Beam width and the number of extensions are two important parameters in beam search, which progresses level by level, and moves downward from the best promising nodes at each level. is defined to be the beam width [29]. Meanwhile, the running time of beam search is polynomial of the problem size; thus an efficient searching process must involve more searching constraints. The extension number allowed for each node can be restricted to further speed up the searching process.
Since the beam search algorithm progresses level by level and ALBP can be seen as task assignment workstation by workstation, the searching framework of the beam search can be easily applied to ALBP. Of course, repetition of task assignment for every workstation can be controlled when using the beam search structure. On the other hand, for each workstation, selection rule in the ant colony algorithm can be used for task selection, and the quality of solution in one iteration can be used in the next iteration to guide the searching direction.
The general logic of the ACOBS algorithm is as follows: At first, due to the reversibility of SALBPI, a better solution is chosen after solving the original problem and the reverse problem once respectively, following the priority rule. The chosen solution is used to initialize the bestsofar solution (). In addition, the results obtained by priority rule are compared with those obtained by ACOBS to show the extent that ACOBS improves the quality of solutions. Next, within a certain time, solutions to original problem and the reverse problem are obtained by using ACOBS for each iteration. The pheromone values are updated corresponding to the solutions obtained so as to guide the searching process of the next iteration. If there is a better solution than (determined by the abovementioned criteria in Section 3.3), is updated by a better one.
4.1. Priority Rule
Before assigning tasks, the priority values of tasks are computed as follows:Starting from the first workstation, put all the tasks in a set and set the idle time to be . is the number of successors of task . Also, tasks whose predecessors have been assigned are put into the set . Figure 1 shows the flowchart for priority rule. The assignment is implemented by the following steps:
Step 1. Determine the available tasks. Examine tasks in and put all tasks with processing time equal to the idle time into the available task set , since saturating the time resource of a workstation is preferable in order to improve the utilization of resources. If is empty, tasks with no predecessor and processing time less than the idle time are put into set .
Step 2. If is not empty, choose a task with the highest priority value from (if there is more than one task with the highest priority value, choose one from them randomly), and go to Step 3. If the set is empty, go to Step 4.
Step 3. Delete the chosen task from , set and to be , and the idle time will decrease by the processing time of the assigned task. Go to Step 1.
Step 4. Close the current workstation. If is not empty, open a new one and set the cycle time to be and then go to Step 1; if is empty, end the procedure.
4.2. ACOBS Algorithm
There are four steps in the ACOBS algorithm. The first step is used to initialize the parameters, and Steps 2 to 4 are repeated within a certain time. The flowcharts for ACOBS and BS are shown in Figures 2 and 3.
Step 1 (initialization). Generate one solution by using the priority rule described in Section 4.1 for the original problem and its reverse version. Then two criteria that are introduced in Section 3.3 are used to choose a better solution, which is used to initialize the bestsofar solution.
Additionally, the pheromone value is one important concept in the ant colony algorithm, and it is used to guide the searching process for good solutions. Let () be the pheromone value between task and workstation , and all the pheromone values are initialized to be 0.5.
Step 2 (generate solutions from the original problem and the reverse one respectively by BS). Unlike the priority rule which is used for task selection, the selection rule here makes use of the pheromone values and priority values of the tasks. Unlike the computation of priority values used in priority rule, the priority values used in ACOBS are processed as follows [30] after they are computed using (6):where and .
When choosing tasks from the set , the probability that task is chosen by workstation is used. Choose a task by maximizing the probability or by roulettewheel method is determined randomly with the same probability. is calculated by the summation rule as follows [Choose a task by maximizing the probability or by roulettewheel method is determined 29]:Partial solutions are extended by a set of tasks assigned to one workstation. In order to better illustrate the procedure of the algorithm, we illustrate the situation for the first workstation at first, and then the next steps are given.
At first, task assignment for the first workstation is explored for times, and the procedure is the similar as that by priority rule, but task selection rule here contains pheromone values and the priority values of tasks. Let be the initial empty partial solution set and be the set that stores the task sets of the last workstation of all the partial solutions. For the first workstation, the two sets are the same. After each exploration, the task assignment for the first workstation, which is different to those in and its lower bound (will be described later) is less than , which is the number of workstations needed in the bestsofar solution, is put into and , because the task assignment for the first workstation is also a partial solution.
After the assignment of the first workstation, there will be at most partial solutions in . One partial solution is picked one time, and then the following steps are repeated until the partial solution is extend for times (Let denotes the workstation which is currently considered; ): (S1) ; stores the task set for workstation . (S2) implement task assignment for workstation , and get the task set for the workstation. (S3) extend the partial solution considered by the task set for workstation . If the extended solution is a complete solution, go to Step 4, else go to Step 5. (S4) put the extended partial solution to which stores the complete solutions. (S5) If the lower bound (described below) of the workstation needed after the assignment for the partial solution is less than and is different from all the factors in , the partial solution will be put into . (S6) if , end this procedure; else and and go to Step 2.
There are criteria to select the partial solutions generated, and only partial solutions which will not lead to solutions worse than can be extended in the next round. When choosing extensions after filling one workstation, two criteria are used. First, let be the set of tasks not assigned according to one partial solution , and the lower bound on the workstations needed is as follows [2]:Partial solutions are ranked by increasing the lower bound defined above. If there are ties after ranking by the first criterion, our preference goes to partial solutions with less idle time in the last workstation (further ties are broken randomly). Finally, for each workstation considered, there will be generated, and denotes the width of beam and denotes the number of partial solutions obtained.
This step ends where there is no partial solution that can be extended. The partial solution set is empty when it is about to open a new workstation, and the extended partial solution, which is the complete solution, is put into .
Step 3 (choose the iteration best solution and update pheromone values). Since in Step 2, if the lower bound for a partial solution is no less than , it is aborted. Thus, there may be a situation in which there is no solution obtained in Step 2. If so, the bestsofar solution is used to update the pheromone values.
If there is a solution obtained in Step 2, an iteration best solution is chosen with the two criteria introduced in Section 3.3. is then used to update the pheromone values. Pheromone values between task and workstation (; ) are updated. There are two updating processes, pheromone evaporation, for each needs to be updated, and there is left after evaporation. is the evaporation rate, assigned as 0.1 in this study. increases when task is assigned to workstation in .
When a pheromone value is too small, task tends never to be assigned to workstation ; when the value is too large, task tends always to be assigned to workstation . Consequently, the solution space is small, and this may lead to bad quality of the solutions generated. Thus, the pheromone values are restricted to the interval to prevent stagnation [32], and and . If a pheromone value is larger than after updating, it will be replaced by ; if the value is smaller than after updating, it is replaced by .
If is better than (by using criteria in Section 3.3), is updated by .
Step 4 (calculating the convergence value). After the initialization of the pheromone values in Step 1, the convergence value is 1. All the pheromone values are initialized to be 0.5 when the convergence value is less than 0.05. According to Kong et al. [33], pheromone reinitialization is an important strategy to avoid premature convergence by preventing the algorithm searching around a local optima continuously with low effectiveness. The convergence value is calculated as follows [30]:
5. Computational Results
The ACOBS algorithm was implemented in MATLAB and was run on all the instances using an Intel Core i76700 (3.40 gigahertz) processor, with 32 gigabytes of available memory. The computation times spent on obtaining the best solutions and the standard deviations are reported, and all running time reported is given in CPU time seconds.
5.1. Results of Benchmark Instances of SALBPI
5.1.1. Results by ACOBS
In order to exhibit the superior performance of the algorithm developed in this paper, we tested the algorithm with benchmark instances (SALBPI) published on https://assemblylinebalancing.de/.
There are 269 benchmark instances of SALBPI. Optimal solutions can be obtained for 170 instances by using the priority rule only. After ten runs of ACOBS (360 CPU time seconds for each run, there are 87 more instances whose optimal solutions can be obtained by the ACOBS algorithm. There are 12 instances whose optimal solutions cannot be found by ACOBS (, ), however, when the time limit increases, the results are better. For example, for the instance Warnecke (with task number of 58 and cycle time of 60), the optimal result can be found, with the average solution found to be 27.7 (standard variation is 0.483); there are three runs in ten in which the optimal solution can be found, with the running times of 2931.790, 2687.077, and 3570.333. Of course, due the increased searching space, the results can be better when the width of the beam and the number of extensions increase. However, this will increase the running time.
Table 1 show the results of the benchmark instances. For each instance, the given cycle time, best solution ever found, solution found by priority rule, the best solution found by ACOBS, the difference between solution found by priority rule, and the best solution found by ACOBS are reported. Besides, the average and standard variation of solutions found in ten runs and the running times are also reported. The running time here is the computational time to find the best solution by ACOBS for the first time. We can see from Table 1 that the algorithm performs well in most instances, but there are some instances that are a little tricky (tricky instances here refer to those whose optimal results cannot be found or cannot be found in every run). Such tricky instances are marked in Table 1. We explore their characteristics in order to have a better understanding of the complex instances and lay the foundation for the generation of such tricky instances.
 
Note.indicates that an optimal solution is found; beside the average of solution indicates trickiness. 
5.1.2. Comparative Results with ACO, Genetic Algorithm, and Particle Swarm Algorithm
According to the results shown in Table 1, ACOBS can achieve significantly better results than those obtained by the priority rule. However, further comparative experiments are needed to show the superiority of ACOBS. The Ant Colony Optimization (ACO), which has similar framework with ACOBS except the beam search part, Genetic Algorithm (GA) in Leu et al. [26] and Particle Swarm Optimization (PSO) in Dou et al. [27], are used to compare with the ACOBS.
Since ACOBS begins with a solution obtained by the priority rule, the other algorithms will also use the priority rule to get the initial solutions. Specifically, ACO will initialize the bestsofar solution by the priority rule, and the number of ants is set to be 20 to compare with ACOBS which has the beam width of 20; GA with population size of 50 has initial solutions obtained by the priority rule and four heuristic methods in Leu et al. [26] (except the third one in [26]), and 10 initial solutions are obtained with these five methods applied to the original problem and the reverse one; PSO has 30 initial solutions, with 10 obtained the same way as the 10 initial solutions obtained in GA, and the other initial solutions are randomly generated. Thus, the best solutions found by ACO, GA, and PSO will not be worse than those found by the priority rule as well. The other parameters in GA and PSO are the same as those in the corresponding two published papers.
The numbers of instances that can reach optimal solutions by ACO, GA, and PSO are 33, 24, and 23, respectively. Figure 4 shows the comparative results between ACO, GA, and PSO on the 99 benchmark instances whose optimal solutions cannot be reached by the priority rule. On the x axis are the 99 instances, and on the y axis are the differences between the best solutions found in 10 runs within 360 CPU time seconds and the corresponding optimal solutions. For GA and PSO, the difference between the best solution found and the corresponding optimal one ranges from 0 to 2. However, the largest difference between the best solution found by ACO and the corresponding optimal solution is 1. What is more, there are significantly more points related to ACO falling on the x axis, which means that among the three algorithms considered, ACO has comparatively better ability in searching solutions for ALBP.
In order to highlight the integration of beam search to ACO, ACO is compared with ACOBS. With the increase of beam width in ACOBS from 20 to 100, the number of ants used in ACO is increased to be 100, and the running time limit is also set to be 720 CPU time seconds. The numbers of instances whose optimal solutions can be reached by ACO and ACOBS are 33 and 87, respectively. The comparative result is shown in Figure 5. From the points falling on x axis, we can see that there are many instances, whose optimal solutions cannot be reached by ACO but they can be reached by ACOBS. Thus, with the integration of beam search, ACOBS achieves significantly better solutions than those obtained by ACO. Thus, ACOBS improves a lot in solving ALBP, compared with ACO.
Therefore, ACO shows superiority compared with GA in Leu et al. [26] and PSO in Dou et al. [27], and ACOBS improves ACO by integrating beam search in ACO.
5.2. Results of Randomly Generated Instances
According to Scholl [34], the following three indicators can be used to measure the complexity of the ALBP instances:
Order Strength (OS): OS is defined as the number of arcs in the transitive closure of the precedence graph divided by , that is, the maximal number of arcs in an acyclic graph with nodes. The middle values of OS seem to be harder than the low or high order strength values [35]. Nevertheless, when OS is 1 there is only one task sequence feasible; when OS is 0, SALBPI becomes the bin packing problem, which is also NPhard [34].
Time Variability (TV): TV is measure by , which reflects the time structure of one instance. and denote the longest and shortest processing time, respectively. A smaller TV suggests a higher complexity.
Time Interval (TI): The interval is defined as , which indicate the relation between the cycle time and the processing times. Instances with a time interval that is small and near to the right border of is expected to be relatively complicated.
Thus, we consider OS, TV, and time interval to measure the complexity of instances. We can see from Table 2 that the minimum processing time tends to be quite small (usually 1, with 5 and 7 as larger values). The OS seems to be around 0.2, 0.6, and 0.8. The smallest TV is 7.571, while the largest one can be 277.2. Additionally, the ratio of the minimum processing time to cycle time tends to be less than 0.1, and the maximum processing time ranges from 0.5 to a figure that is close to 1. The ratio of mean processing time to cycle time varies from 0.157 to 0.445. The minimum variation of processing time is 8.205; however, the largest is approximately 5000 times the minimum one.
 
Note. For instances of Scholl, only the statistical information of tricky instances with the smallest and largest cycle time is reported in order to show the tendency character of the problem; “Sum” in the second column is the sum of processing times; and “” and “” denote the minimum and maximum task time, respectively. 
Finally, we choose OS and TV as the main measurements for the tricky level of instances, and set three levels of OS (0.2, 0.6, and 0.9) and three levels of TV (515, 6575, and 135145). We pay attention to the minimum processing time, and give priority to the instance with a smaller minimum processing time. As we want to explore the larger scale instance, we choose the problem size to be 400. As the tricky level and the problem size level are high, we enlarge the time limit of one run from 360 CPU time seconds to 720 CPU time seconds and the width of beam increases to be 100 and the number of extensions increases to 30.
5.2.1. Generation of Random Instances
The random instances generation consists two parts: arc generation and task times generation.
Arc generation: According to Otto et al. [36], the concept of stages allows for a direct manipulation of stages characteristics. Following Otto et al. [36] and Kolisch et al. [37], we use three steps to generate precedence arcs. Firstly, the average number of tasks per stage is selected, and then the number of tasks per stage is generated following a truncated normal distribution (that is, the number is generated following a normal distribution iteratively until the number is no less than 1). Next, each beginning node (nodes have no predecessor) is assigned one successor, and each other node is assigned one predecessor. After assignments for all the nodes, one successor is chosen randomly for those having no successor. Finally, the second step is repeated until the expected complexity is reached.
During the abovementioned procedure, the following aspects should be taken into account. First, there should be redundant arcs. According to Kolisch et al. [37], let be a network with node set and arc set , and an arc is called redundant if there are arcs ,…, and . Second, predecessors and successors of nodes can only be chosen from the previous stage and the next stage, respectively. Last, tasks are always considered in the order of increasing order, and the added precedence relationships follow the topological rule.
Task times generation: Kilbridge and Wester [38] found that task times usually follow a unimodal or a bimodal distribution. Following Morrison et al. [35], processing times of tasks are generated randomly according to some prespecified normal distribution. Three kinds of task times are used: peak at the bottom: tasks times are drawn from a normal distribution with the mean centered around small times; peak in the middle: task times are drawn from a normal distribution with the mean of C/2; bimodal: task times are drawn from a combination of two normal distribution with means centered around small and large times.
Besides, task times are rounded to the next integer and possible rounding effects are compensated by setting the default cycle time to 1000, which is large enough to allow flexible time structures [36].
5.2.2. Results of Randomly Generated Instances
Tables 3(a) and 3(b) show the statistical description of the precedence graph and processing times of randomly generated instances, respectively. For the OS levels of 0.2 and 0.4, the number of stages is 40, while for the OS level of 0.9, the number of stages is 50. The number of stages is tuned by hand, and we find that when the number of stages is large, the number of iterations to add arcs so as to increase OS is less.
(a) Statistical description of precedence graphs of random instances.  
 
(b) Statistical description of processing times of random instances.  
 
Note. Figures in the brackets of last two columns are means and standard deviations of one normal distribution, which is used to generate a bimodal distribution. 
As to processing times, there are three types of distribution to generate the processing times for each TV level and the three TV values for one TV level are close in order to control the impact of TV, if impacts of OS or distribution types of processing times are expected to be examined.
Surprisingly, the solutions found by PR are the same with those found by ACO. The column of difference refers to the differences between the solutions obtained by priority rule and those obtained by ACOBS, and this can indicate the extent to which ACOBS improves the quality of solutions. Figure 6 shows the comparative results of ACO and ACOBS. For 11 instances, the solutions found by ACO are the same with those by ACOBS, while for the other 16 instances, there are significant improvements in solution quality by ACOBS compared with ACO.
We can see from Table 4 that the most significant tendency is that instances whose processing times follow the bimodal distribution are more difficult, consistent with Morrison et al. [35], since for all OS levels, there are 11 instances where there is no improvement after using ACOBS with the time limit of 720 CPU time seconds, with solution quality of only one such kind of instance improved (OS level is 0.2, TV level is 135145). Besides, there are two instances where there is no improvement on solution quality, with OS levels of 0.6 and 0.9 respectively and TV levels of 515 and 6575, respectively. However, the similarity is that their processing times are generated following the distribution peak in the middle.

As to the standard deviation of the solutions obtained and improved by ACOBS, it seems that the standard deviations for instances with processing times generated following the normal distribution (peaking at the bottom) tend to be 0. This implies that these kinds of instances are easiest to be solved.
Although the time limit to run ACOBS is not quite large, some tendencies have already been shown. This can be useful to explore the characteristics of large scale instances.
6. Conclusions
A method based on the priority rule is used at first to generate the first best so far solution. After using this method once on the original problem and the reverse problem respectively, 63.20% of the total benchmark instances can reach the optimal results. Based on the best so far solution obtained by priority rule, ACOBS searches for larger solution space in order to reach more optimal results. After ten runs (360 CPU time seconds for each run), 95.54% of the total benchmark instances can reach the optimal results. What is more, these results are better when increases in the width of the beam or the number of extensions are allowed, or by increasing the time limit for one run. We can conclude that the algorithm of ACOBS is good in solving SALBPI.
Premature convergence is a challenging problem for ACO, and several strategies are used to deal with this problem. First, the pheromone values are restricted to the interval of [0.01, 0.99] to prevent stagnation, so that there will not be too large pheromone values that some tasks tend to be assigned to the same workstation, and there will not be too small pheromone values that some tasks tend to avoid being assigned to a workstation. Thus, stagnation can be prevented [32]. Also, there is an evaporation process when update the pheromone values, so it is discouraged to assign one task to the same position. Second, when choosing task from the available task set, the probability that each task in the set is chosen will be calculated. But with equal probability, one task will be chosen from the set by maximizing the probability, or by the roulettewheel method. Thus, in this way, tasks with a higher probability have a larger chance to be selected, but tasks with a lower probability still have chances to be selected. Third, the convergence value is calculated in every iteration. Since the pheromone values are initialized to be 0.5, the convergence value is 1 at the beginning. When all the pheromone values are close to 0.99 or 0.01, the convergence value will be close to zero. The pheromone values will be reinitialized to be 0.5 when the convergence value is less than 0.05, and this will prevent the stagnation [33]. Therefore, the strategies above always try to search for alternative solutions rather than staying at the stagnation state. The good results of ACOBS compared with the results of ACO, GA, and PSO also demonstrate that the algorithm has the ability of jump out of local optimum and prevent premature convergence.
With the development of the manufacturing industry and the transformation from mass production to customization, assembly of complex products within an acceptable period has become urgent. Thus, we are concerned more about large scale ALBP in this study. In order to further examine the performance of the algorithm in more complicated instances, we generate large scale SALBPI instances randomly and explore solutions for them with ACOBS. OS and TV are chosen to measure the complexity of the random instances. Compared with solutions obtained by priority rule, there are significant improvements in the quality of the best solutions after applying ACOBS, which shows that ACOBS is efficient for small scale instances as well as large scale instances. Therefore, ACOBS is a promising tool for solving SALBPI, especially for those of complex products.
We browse further improvements, based on the current ACOBS, since there are a number of extensions for the assignment of the workstation considered and the algorithm can be greatly improved by parallel computing. When taking advantage of this parallel feature, the algorithm will be able to perform better.
Data Availability
All the benchmark instances (SALBPI) used in this study can be found on https://assemblylinebalancing.de/.
Conflicts of Interest
The authors declare that there are no conflicts of interest regarding the publication of this paper.
Acknowledgments
The work described in this paper was supported by a grant from the Natural Science Foundation of China (Grant no. 71471158). The authors also would like to thank the Hong Kong Polytechnic University Research Committee for financial and technical support and a grant under student account code RURR.
References
 Y.G. Zhong and B. Ai, “A modified ant colony optimization algorithm for multiobjective assembly line balancing,” Soft Computing, vol. 21, no. 22, pp. 6881–6894, 2017. View at: Publisher Site  Google Scholar
 A. Scholl and C. Becker, “Stateoftheart exact and heuristic solution procedures for simple assembly line balancing,” European Journal of Operational Research, vol. 168, no. 3, pp. 666–693, 2006. View at: Publisher Site  Google Scholar  MathSciNet
 O. Battaïa and A. Dolgui, “A taxonomy of line balancing problems and their solutionapproaches,” International Journal of Production Economics, vol. 142, no. 2, pp. 259–277, 2013. View at: Publisher Site  Google Scholar
 G. Q. Huang, Y. F. Zhang, X. Chen, and S. T. Newman, “RFIDenabled realtime wireless manufacturing for adaptive assembly planning and control,” Journal of Intelligent Manufacturing, vol. 19, no. 6, pp. 701–713, 2008. View at: Publisher Site  Google Scholar
 M. E. Salveson, “The assembly line balancing problem,” Journal of Industrial Engineering, vol. 6, pp. 18–25, 1955. View at: Google Scholar
 T. S. Wee and M. J. Magazine, “Assembly line balancing as generalized bin packing,” Operations Research Letters, vol. 1, no. 2, pp. 56–58, 1982. View at: Publisher Site  Google Scholar
 E. Celik, Y. Kara, and Y. Atasagun, “A new approach for rebalancing of Ulines with stochastic task times using ant colony optimisation algorithm,” International Journal of Production Research, vol. 52, no. 24, pp. 7262–7275, 2014. View at: Publisher Site  Google Scholar
 C. Becker and A. Scholl, “A survey on problems and methods in generalized assembly line balancing,” European Journal of Operational Research, vol. 168, no. 3, pp. 694–715, 2006. View at: Publisher Site  Google Scholar
 I. Baybars, “A survey of exact algorithms for the simple assembly line balancing problem,” Management science, vol. 32, no. 8, pp. 909–932, 1986. View at: Google Scholar
 M. Dorigo and L. M. Gambardella, “Ant colony system: a cooperative learning approach to the traveling salesman problem,” IEEE Transactions on Evolutionary Computation, vol. 1, no. 1, pp. 53–66, 1997. View at: Publisher Site  Google Scholar
 A. S. Simaria and P. M. Vilarinho, “2ANTBAL: an ant colony optimisation algorithm for balancing twosided assembly lines,” Computers & Industrial Engineering, vol. 56, no. 2, pp. 489–506, 2009. View at: Publisher Site  Google Scholar
 P. R. McMullen and P. Tarasewich, “Using ant techniques to solve the assembly line balancing problem,” Institute of Industrial Engineers, vol. 35, no. 7, pp. 605–617, 2003. View at: Google Scholar
 J. Bautista and J. Pereira, “Ant algorithms for a time and space constrained assembly line balancing problem,” European Journal of Operational Research, vol. 177, no. 3, pp. 2016–2032, 2007. View at: Publisher Site  Google Scholar
 I. Kucukkoc and D. Z. Zhang, “TypeE parallel twosided assembly line balancing problem: Mathematical model and ant colony optimisation based approach with optimised parameters,” Computers & Industrial Engineering, vol. 84, pp. 56–69, 2015. View at: Publisher Site  Google Scholar
 A. Baykasoǧlu and T. Dereli, “Simple and utype assembly line balancing by using an ant colony based algorithm,” Mathematical and Computational Applications, vol. 14, no. 1, pp. 1–12, 2009. View at: Publisher Site  Google Scholar
 P. Fattahi, A. Roshani, and A. Roshani, “A mathematical model and ant colony algorithm for multimanned assembly line balancing problem,” The International Journal of Advanced Manufacturing Technology, vol. 53, no. 1–4, pp. 363–378, 2011. View at: Publisher Site  Google Scholar
 S. Akpınar, G. M. Bayhan, and A. Baykasoglu, “Hybridizing ant colony optimization via genetic algorithm for mixedmodel assembly line balancing problem with sequence dependent setup times between tasks,” Applied Soft Computing, vol. 13, no. 1, pp. 574–589, 2013. View at: Publisher Site  Google Scholar
 C. Lu and Z. Yang, “Integrated assembly sequence planning and assembly line balancing with ant colony optimization approach,” The International Journal of Advanced Manufacturing Technology, vol. 83, no. 14, pp. 243–256, 2016. View at: Publisher Site  Google Scholar
 P. R. McMullen and P. Tarasewich, “Multiobjective assembly line balancing via a modified ant colony optimization technique,” International Journal of Production Research, vol. 44, no. 1, pp. 27–42, 2006. View at: Publisher Site  Google Scholar
 J. Zha and J.J. Yu, “A hybrid ant colony algorithm for Uline balancing and rebalancing in justintime production environment,” Journal of Manufacturing Systems, vol. 33, no. 1, pp. 93–102, 2014. View at: Publisher Site  Google Scholar
 S. Agrawal and M. K. Tiwari, “A collaborative ant colony algorithm to stochastic mixedmodel Ushaped disassembly line balancing and sequencing problem,” International Journal of Production Research, vol. 46, no. 6, pp. 1405–1429, 2008. View at: Publisher Site  Google Scholar
 L. Ozbakir, A. Baykasoglu, B. Gorkemli, and L. Gorkemli, “Multiplecolony ant algorithm for parallel assembly line balancing problem,” Applied Soft Computing, vol. 11, no. 3, pp. 3186–3198, 2011. View at: Publisher Site  Google Scholar
 J. Bautista, C. BatallaGarcía, and R. AlfaroPozo, “Models for assembly line balancing by temporal, spatial and ergonomic risk attributes,” European Journal of Operational Research, vol. 251, pp. 814–829, 2016. View at: Google Scholar
 A. Scholl, M. Fliedner, and N. Boysen, “Absalom: Balancing assembly lines with assignment restrictions,” European Journal of Operational Research, vol. 200, no. 3, pp. 688–701, 2010. View at: Publisher Site  Google Scholar
 O. Battaïa and A. Dolgui, “Reduction approaches for a generalized line balancing problem,” Computers & Operations Research, vol. 39, no. 10, pp. 2337–2345, 2012. View at: Publisher Site  Google Scholar
 Y. Leu, L. A. Matheson, and L. P. Rees, “Assembly Line Balancing Using Genetic Algorithms with Heuristic‐Generated Initial Populations and Multiple Evaluation Criteria,” Decision Sciences, vol. 25, no. 4, pp. 581–605, 1994. View at: Publisher Site  Google Scholar
 J. Dou, J. Li, and C. Su, “A novel feasible task sequenceoriented discrete particle swarm algorithm for simple assembly line balancing problem of type 1,” The International Journal of Advanced Manufacturing Technology, vol. 69, no. 912, pp. 2445–2457, 2013. View at: Publisher Site  Google Scholar
 M. Dorigo, V. Maniezzo, and A. Colorni, “Ant system: optimization by a colony of cooperating agents,” IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics, vol. 26, no. 1, pp. 29–41, 1996. View at: Publisher Site  Google Scholar
 I. Sabuncuoglu and M. Bayiz, “Job shop scheduling with beam search,” European Journal of Operational Research, vol. 118, no. 2, pp. 390–412, 1999. View at: Publisher Site  Google Scholar
 C. Blum, “BeamACO for simple assembly line balancing,” INFORMS Journal on Computing, vol. 20, no. 4, pp. 618–627, 2008. View at: Publisher Site  Google Scholar
 D. Merckle and M. Middendorf, “An ant algorithm with a new pheromone evaluation rule for total tardiness problems,” in RealWorld Applications of Evolutionary Computing: Proceedings of the EvoWorkshops 2000: EvoIASP, EvoSCONDI, EvoTel, EvoSTIM, EvoRob, and EvoFlight Edinburgh, Scotland, UK, April 17, 2000, vol. 1803 of Lecture Notes in Computer Science, pp. 290–299, Springer, Berlin, Germany, 2000. View at: Publisher Site  Google Scholar
 M. LópezIbáñez, T. Stützle, and M. Dorigo, “Ant colony optimization: A componentwise overview,” in Handbook of Heuristics, pp. 1–37, 2016. View at: Google Scholar
 M. Kong, P. Tian, and Y. Kao, “A new ant colony optimization algorithm for the multidimensional knapsack problem,” Computers & Operations Research, vol. 35, no. 8, pp. 2672–2683, 2008. View at: Publisher Site  Google Scholar  MathSciNet
 A. Scholl, “Data of assembly line balancing problems,” Schriften zur Quantitativen Betriebswirtschaftslehre, 16/, TH Darmstadt, 1993. View at: Google Scholar
 D. R. Morrison, E. C. Sewell, and S. H. Jacobson, “An application of the branch, bound, and remember algorithm to a new simple assembly line balancing dataset,” European Journal of Operational Research, vol. 236, no. 2, pp. 403–409, 2014. View at: Publisher Site  Google Scholar
 A. Otto, C. Otto, and A. Scholl, “Systematic data generation and test design for solution algorithms on the example of {SALBPG}en for assembly line balancing,” European Journal of Operational Research, vol. 228, no. 1, pp. 33–45, 2013. View at: Publisher Site  Google Scholar  MathSciNet
 R. Kolisch, A. Sprecher, and A. Drexl, “Characterization and Generation of a General Class of ResourceConstrained Project Scheduling Problems,” Management Science, vol. 41, no. 10, pp. 1693–1703, 1995. View at: Publisher Site  Google Scholar
 M. Kilbridge and L. Wester, “The Balance Delay Problem,” Management Science, vol. 8, no. 1, pp. 69–84, 1961. View at: Publisher Site  Google Scholar
Copyright
Copyright © 2018 Jiage Huo 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.