A Novel Assembly Line Scheduling Algorithm Based on CE-PSO

With thewidespread application of assembly line in enterprises, assembly line scheduling is an important problem in the production since it directly affects the productivity of the whole manufacturing system. The mathematical model of assembly line scheduling problem is put forward and key data are confirmed. A double objective optimization model based on equipment utilization and delivery time loss is built, and optimization solution strategy is described. Based on the idea of solution strategy, assembly line scheduling algorithm based on CE-PSO is proposed to overcome the shortcomings of the standard PSO. Through the simulation experiments of two examples, the validity of the assembly line scheduling algorithm based on CE-PSO is proved.


Introduction
With the rapid development of economy and technology, there is a trend of diversification in manufacturing companies [1].In order to meet this tendency, many advanced manufacturing modes, such as just-in-time (JIT), material requirements planning (MRP), manufacturing resource planning (MRPII), enterprise resource planning (ERP), and computer integrated manufacturing (CIM), are proposed [2].Computer integrated manufacturing system (CIMS) based on the combination of new production organization principles and concepts is one of new production models [3].Many examples prove that successful application of CIMS in manufacturing enterprises has brought huge improvement to the production, operation, and management of enterprises [4].The assembly line scheduling is one of the difficult problems in the application of CIMS [5,6].
In the actual production process, enterprises may achieve the make-to-order (MTO) thought balancing the flexible production planning and controlling the production management.Since an excellent schedule of assembly line is able to meet the need of market, which is also the requirement of JIT, the assembly line planning and scheduling has become an important means for the enterprise to save resources, reduce costs, increase productivity, and improve the overall operational efficiency [7,8].
Assembly line scheduling is a nondeterministic polynomial (NP) complete problem.With the development of heuristic algorithm, many advanced algorithms, such as genetic algorithm and ant colony (AC) algorithm, are applied to solve the scheduling problem [9,10].The paper [11] defines the production scheduling as a function of technical process and workpiece delivery from the perspective of production tasks and orders.In order to solve the problem of the production line scheduling in the MTO enterprise, the paper [12] establishes a general model of the MTO enterprise scheduling by applying the theory of linear programming MTO enterprises based on the analysis of its scheduling features and the stipulation of the scheduling.The adaptive genetic algorithms for solving scheduling model are proposed.The paper [13] introduces the concept of advanced planning and scheduling in order to study the problem of the production planning and scheduling which exists in discrete manufacturing.Through analyzing and applying the core ideas of the concept which is comparative advantage of constraints theory, the paper builds the advanced scheduling model based on machine capacity by applying the linear programming algorithm.Although there is a great development in the area of the production scheduling, no systematical methods and theories can solve all the assembly line scheduling application problem because of a huge gap between theoretical research and practical application.Particularly with the widespread adoption of 2 Mathematical Problems in Engineering JIT in the scheduling problems, the delivery just-in-time becomes increasingly important.In practical application, the scheduling method can respond to the dynamics of the system, but the result of the method is not guaranteed.Some methods of scheduling can theoretically provide optimal scheduling, but these often can only solve the problem of single target due to its computational complexity.
In this paper, a multiobjective optimization function based on equipment utilization and delivery time loss is constructed and a Catfish Effect (CE) Particle Swarm Optimization (PSO) algorithm is applied to solve the assembly line scheduling problem in view of its high solution precision and good robustness [14].

Related Work
2.1.PSO Algorithm.The Particle Swarm Optimization (PSO) is an evolutionary computation developed by Zeng and Cui [15].It simulated the social swarm behavior of bird group in the early time.PSO treats each individual as a particle which has no weight and volume in  dimensional search space and the particle flies at a certain speed in the search space.The speed is dynamically adjusted based on the flying experience of individual and group [16].
(3) In (3),  1 and  2 are the acceleration constants, which take the value in (0, 2). 1 and  2 both are a random number between (0, 1);  is inertia coefficient between (0, 1) and it has the ability of keeping inertia expansion of particle movement to explore new areas.
PSO was developed and used as a useful computation technique to tackle the optimization problem.However, in PSO algorithm, particles seek the optimal solution by its own memory ability and the information shared among particles.At the beginning of PSO algorithm, the particles have quick convergence speed.When most of the particles have similar state with the passage of time, the convergence speed of the particles becomes slow, which maybe leads to the algorithm into a local optimal solution.This is also called "precocious phenomena" [20].
As the optimization performance of the original PSO algorithm is not ideal, various revised versions of PSO have been studied to overcome "precocious phenomena." The related work includes modifying the updating formula, introducing new operator into PSO, and developing hybrid PSO algorithm [21].Currently, chaos PSO algorithm, genetic PSO algorithm, immune PSO algorithm in adaptive, and bee evolutionary PSO algorithm are studied to improve the diversity of particle population and guide directions to research [22,23].With the continuous improvement, PSO algorithm has been used in many fields because of its simple concept, easy implementation, few parameters to tune, and excellent optimization ability.

Catfish Effect PSO.
Most of advanced PSO algorithms aim to modify the position coordinates of individual particles, instead of the population.However, Catfish Effect PSO (CE-PSO) algorithm can modify the position coordinates of the population to obtain the noninferior set on behalf of the entire solution space, homogeneous distribution, and immediate Pareto front and improve convergence velocity of PSO algorithm [24].
Catfish Effect (CE) refers to the effect that a strong competitor called catfish has in causing the weak sardines to better themselves.CE mechanism is the fact that the algorithm introduces dynamic and competitive individuals into the population to change social loafing and inspire community [25].In the framework of CE mechanism, three core elements are as follows.
(1) The population has been at a relatively stable level, and the catfish particle needs to be introduced to achieve the population objectives.
(2) The catfish particle has high quality and individual competitiveness in the population.
(3) The catfish particle can use negative incentives to enhance population vitality.
Different from PSO algorithm, speed evolution equations of CE-PSO algorithm are shown as The inspiration of catfish Catfish effect The stability condition The introduction of catfish The dynamic condition

Catfish particles
Ordinary particles In ( 4),  1 is a threshold value of population diversity and () is a function which is used to evaluate the population diversity at the time .If () ≤  1 , the diversity of the population is poor and catfish particle is introduced into population; if () > , CE-PSO algorithm and PSO algorithm have the identical definition.
The effect of CE to PSO algorithm is shown in Figure 1.Compared with PSO algorithm, CE-PSO algorithm monitors the diversity of the population [26].When the diversity is poor, CE-PSO algorithm introduces the catfish particle with the driving role to encourage population activity and maintain the population diversity [27].In order to improve the search performance, CE-PSO algorithm can regulate flight mode of sardine particles dynamically according to the convergence of catfish [28].
Due to the good performance of CE-PSO algorithm, CE-PSO is applied to solve assembly line scheduling problem.

Mathematical Model of Assembly Line
Scheduling Problem The assumptions of assembly line scheduling problem are as follows.
(1) The machining sequence of workpiece is determined in advance; namely, there is a clear constraint on all the machines in each workpiece, which can be expressed as (2) A machine can only realize a single process of a workpiece, and a workpiece can only be machined in a machine at a time.
(3) There is waiting time among the processes of workpieces, and the idle time of the machine is permitted.
(4) For each workpiece, the starting time of the process is equal to or later than the ending time of the preceding process.
(5) The number of machines and workpieces is certain before scheduling.
(6) All the workpieces can be machined from zero time.(7) The readiness time of machine is negligible.
The main parameters of assembly line scheduling problem are represented as follows.

Equipment Utilization.
Equipment utilization refers to the percentage of the running machines in all the machines.It reflects the economic and technical indicators of production efficiency.The machines mean a variety of devices in the assembly line.Equipment utilization can be expressed as 3.1.2.Delivery Time Loss.In the actual production, there is stock cost if orders are completed ahead of schedule; there is delay cost if orders cannot deliver on time [29].So delivery time loss is defined to reflect customer satisfaction, which is expressed as In ( 6),  1 is stock factor,  2 is delay factor,  ≥   means that the orders are completed ahead of schedule, and  ≤   means that the orders cannot deliver on time.

Production Efficiency.
Production efficiency refers to the percentage of actual output of assembly line in all maximal output.It can be used to measure whether the assembly line is producing as much as possible without wasting precious resources.Theoretically, production efficiency will include all of the points along the production possibility frontier, but it is difficult to measure in practice [30].

A Multiobjective Optimization Model of Assembly Line
Scheduling Problem.From the description of assembly line scheduling problem, equipment utilization and delivery time loss can be chosen as optimization goal since production efficiency is hardly applied in the actual production.Due to the correlation between the goals, optimizing a single goal may cause the neglect of the other goal.As a result, the optimization results can often not accord with the actual situation of assembly line scheduling.In this paper, equipment utilization and delivery time loss are chosen as optimization goals.The fitness function  1 and the objective function min  1 are constructed to realize the comprehensive optimal goals of assembly line scheduling.
Fitness function is defined as The constraint conditions include The fitness function  1 takes advantage of the linear weighted average model of equipment utilization and delivery time loss. 1 and  2 are weight value, and  1 +  2 = 1.Specific values can also be used according to the specific situation.
In constraint conditions (8),   start and   end are the time when the workpiece  starts and ends to process in the machine ,   is the processing time with the workpiece  on the machine , and   is the working time for machine .

Solution Strategy.
In order to solve the assembly line scheduling problem, the following steps are adopted.
(2) According to the scheduling schemes   in step one above, each value of delivery time losses in scheduling scheme is calculated and {  |  = 1, 2, 3, . . ., } with the minimum value of objective function min  1 is taken as the optimal arrangement scheme.

Assembly Line Scheduling Algorithm Based on CE-PSO
Assembly line scheduling algorithm based on CE-PSO sets the following parameters: population quantity , the number of iterations , inertia weight , accelerated constant , the initial position, and velocity of each particle.

Coding of Assembly Line Scheduling Problem.
The most important job is to code in order to solve the assembly  line scheduling problem using CE-PSO algorithm.Three are many coding methods for the scheduling problem.Among the numerous coding methods, coding based on workpiece, coding based on machine, and coding based on operation are used in the optimization problem frequently [31].In view of the particularity of assembly line scheduling problem, a coding method based on operation sequence is adopted in this paper.Each particle   ( = 1, . . ., ) has the length of  × ; then   = ( 1 , . . .,  × ).
In the particle   , each element    ∈ [1, × ] corresponds to a workpiece number.Each workpiece number has  copies in   .Workpiece operation sequence is determined by the position of element in the particle.
Workpiece operation sequence can be expressed by precedence relation diagram.Assuming there are four machines and three workpieces in the assembly line, its precedence relation diagram is shown in Figure 2.
Each processing time of the workpieces in the machines is shown in Table 1.

Batching Strategy.
Since workpieces can be mass produced in the most situations, batching scheduling can reduce the idle time of machines and improve the equipment utilization.Minimum volume batching principle is applied in the assembly line scheduling algorithm in this paper.Assuming the demand of workpiece  is   , minimum volume is  min ; the batch number    is defined as The number   () of workpieces  in each batch  is calculated as

Population Similarity of CE-PSO Algorithm.
In CE-PSO algorithm, population diversity () at the time  is defined as In (12),   () is the optimal particle which has the minimal value of objective function  1 at the time .According to the definition of population diversity, 0 ≤ () ≤ 1.The smaller the value of () is, the worse the population diversity is.If () <  1 , CE-PSO algorithm introduces the catfish particles to enhance the vitality of the population; otherwise, the standard PSO algorithm is applied to produce a new generation of particles.

The Particle
Updating Formula of CE-PSO Algorithm.The particle updating formula is defined as () is the best position of particle  in  iterations: is a random number distributed in [0, 1] uniformly.The meaning of function (  (),   ()) is the adjustment of particles according to their best position in the  iteration.The specific implementation processes are as follows.
(2)   () expresses the new particle  in the iteration .

The Specific Steps of CE-PSO Algorithm.
The specific steps of CE-PSO algorithm are as follows.
(2) Generate  initialized particles based on batching strategy and coding method.
(3) The initialization of   () and the global optimal particle (): (4) For  = 1 : , calculate the value of (), generate a random number , update each particle's position according to the particle updating formula, and determine the value of the new   () and () according to the fitness function min  1 and complete the update of   () and ().
(5) End the iteration and output the result after  iterations.The tapping of the sheet metal (20, 10, 10) 4

The Simulation Results and Analysis
The testing of the sheet metal (15, 10, 20) 5 The package of the sheet metal (15, 20, 10)

Example 1.
Take a simple assembly line with 3 workpieces and 3 machines as an example.The precedence relations diagram is shown in Figure 4.Each processing time of the workpieces in the machines is shown in Table 2.
The results of two algorithms are compared in Table 3. From Table 3, the optimization result based on CE-PSO algorithm is better because it has higher equipment utilization and the smaller fitness  1 , which shows the effectiveness of CE-PSO algorithm.

Example 2.
In the assembly workshops of the sheet metal, the assembly line includes 5 machines and produces 3 different types of sheet metal parts.The job element of the sheet metal parts is shown in Table 4.
The precedence relations diagram is shown in Figure 7.
Assume the fact that the demands of three parts  = [100 70 60] and the minimum volume  min = 20.According to the batching strategy above, the batch number of three parts   is calculated as follows: Each processing time of the workpieces in the machines is shown in Table 5.
The comparison of optimization results of assembly line scheduling based on PSO and CE-PSO is shown in Table 6.The comparison of iteration time of two algorithms is shown in Figure 8.
From Table 6, the optimization result based on CE-PSO algorithm is better than that based on PSO algorithm because it has higher equipment utilization and lower delivery time loss and the smaller fitness  1 , which shows the effectiveness of CE-PSO algorithm.From Figure 8, the iteration results of PSO algorithm are similar to those of CE-PSO algorithm at  the beginning 70 steps.With the increase of the iteration steps, CE-PSO algorithm achieves the better optimization result.

Conclusion
Assembling line scheduling has become an important means for the enterprises to save resources, reduce costs, increase productivity, and improve the overall operational efficiency.The assembling line scheduling algorithm based on CE-PSO is proposed in this paper.Equipment utilization and delivery time loss are adopted to construct a fitness function and a multiobjective optimization algorithm based on CE-PSO is described to solve the assembly line scheduling problem.The simulation results show that the assembling line scheduling algorithm based on CE-PSO can obtain better scheduling scheme by comparison with the standard PSO algorithm, which proves its feasibility and effectiveness.

Figure 1 :
Figure 1: The effect of CE on PSO algorithm.

Figure 2 :
Figure 2: Precedence relation diagram with four machines and three workpieces.

Figure 3 :
Figure 3: The workpiece operation sequence in four machines.

2 Figure 4 :Figure 5 :
Figure 4: Precedence relation diagram with three machines and three workpieces.

Figure 6 :
Figure 6: The optimization results of assembly line scheduling based on CE-PSO.

Figure 7 :Figure 8 :
Figure 7: Precedence relation diagram with five machines and three workpieces.
Assume that  workpieces are scheduled to  machines in the assembly line and the working time for machines is   .The maximal and minimal working time of machines are   max and   min , respectively.So,   max ≤   ≤   min .

Table 1 :
Processing time of the workpieces in the machines.
The configuration of computer is CUP Intel Core i7, CPU clock speed 2.60 GHz, internal storage 12.00 GB, and Windows 7 operating system.C language is used to realize the CE-PSO algorithm.

Table 2 :
Processing time of the workpieces in the machines.

Table 3 :
The comparison of assembly line scheduling results in experiment one.

Table 4 :
The job element of the sheet metal parts.

Table 5 :
Processing time of the workpieces in the machines.

Table 6 :
The comparison of assembly line scheduling results in experiment two.