1. Introduction
With the increasing diversification of customer demands and the need to avoid carrying large inventories, mixed-model assembly lines are widely used to meet many automobile manufacturers’ production demands for various products in the contemporary business environment. Although the mixed-model assembly lines have significant advantages in producing cars with the same seed modules, they also bring significant challenges to deal with the problem of material supply, which has become an important issue for both managers and scholars. A suitable material supply system should efficiently meet the requirements of the JIT principle, which means avoiding the shortage of parts and reducing the handling cost at the same time [
1].
Under the mixed-model assembly line mode, many automobile workshops have been equipped with supermarkets and tow trains to deliver parts to assembly lines flexibly and in a timely manner. A supermarket is a small logistics area inside a workshop where parts are stored as semi-finished products and then transferred to nearby workstations to alleviate the high inventory problem on the assembly line [
2]. In addition, it is assumed that the supermarket always has sufficient inventory. This study focuses on the scheduling and routing problem of the tow train, which is subjected to last-in-first-out constraints in mixed-model assembly lines equipped with supermarkets. Several interrelated decision problems have to be solved:
- (1)
Determine the amount of tours.
- (2)
Decide the scheduling route for each tour.
- (3)
Decide on the delivery schedule of the tow train.
- (4)
Determine the wagons to be loaded each tour of the tow train.
The main optimization criteria in the problem are to address the optimal loading of the tow train, the optimal delivery schedule and route, and the appropriate departure time to minimize shipping and line inventory costs.
The remainder of this paper is organized as follows. A brief literature review is presented in
Section 2. In
Section 3, a new mathematical model is presented, and a novel genetic algorithm based on the heuristic for the context is presented in
Section 4. In
Section 5, experimental studies of the computational results for both the mathematical model and the algorithm are reported.
Section 6 presents conclusions and suggestions for future works.
2. Literature Review
According to the type of assembled product, assembly lines can be classified into two types: simple assembly line and mixed-model assembly line [
3]. Mixed-model assembly lines are commonly used to produce various models that belong to the same product segment and different configurations of one model [
4].The Assembly Line Part-feeding Problem (ALPFP) is a complex combinatorial optimization problem [
5]. All types of decision-making problems in logistics ensure that assembly lines never stop because of a shortage of parts or strategic and operational issues. Kilic and Durmusoglu [
6] published a literature review on part-feeding policies, providing part-feeding system components according to feeding policies, objectives, solutions, and application types. Boysen et al. [
7] comprehensively discussed some logistics problems and programs of the methods.
According to the actual situation encountered in a significant automobile assembly plant in Spain, Fathi et al. [
5] proposed a mixed-integer linear programming model and a heuristic annealing algorithm to minimize the number of tours of the fixed route. Comparing the results of the two methods shows that the algorithm provides a better solution in a shorter computing time. Then, considering the constraints of travel delivery times, Fathi et al. [
8] proposed a memetic ant-colony-based heuristic to solve the problem. Fathi et al. [
9] solved two subproblems included in the ALPFP: travel scheduling and towed train loading, and an improved particle swarm optimization algorithm was proposed. Zhou and Shen [
10] considered energy consumption to develop an energy-efficient scheduling method, which is a Taboo-enhanced particle swarm optimization algorithm to solve the multi-objective problem.
While they found that cycle tours are allowed and each train continuously tours its dedicated route, a routing problem in some papers was solved by delivering directly to the line buffer of the shortage part [
11].
Ci Chen [
12] presented a multiple-criteria real-time scheduling approach for multiple-load carriers subject to LIFO (last-in-first-out) loading constraints. In order to avoid part shortage and reduce the total inventory and transportation costs, a backtracking method and a hybrid GASA (genetic algorithm and simulated annealing) method are proposed for configurations involving only one target workstation per delivery; the results show that the GASA method is effective even in large instances [
13]. Zhou and Peng [
14] proposed the point-to-point (P2P) JIT distribution model to ensure the destination station, and developed a modified discrete artificial bee colony metaheuristic to facilitate an effective JIT part supply for minimizing line-side inventory level. Aiming to minimize the inventory holding and total costs of parts handled, Satoglu and Sahin [
15] developed a mathematical model and used heuristics to design an internal milk supply system that minimizes total material handling and inventory maintenance costs and solves scheduling and routing problems. Considering that multiple trains visit stations in batches, Weikang et al. [
16] proposed a nonlinear multi-objective mathematical model, which combines NSGA-II (Non-dominated Sorting Genetic Algorithm-II) and a hybrid heuristic algorithm of variable neighborhood search to solve the scheduling. István [
17] handled daily batch scaling and production scheduling activities by combining traditional manufacturing system simulations with advanced machine learning techniques. According to the characteristics of shipbuilding enterprises and the actual production situation, Song and Zhou [
18] set up a workshop virtual assembly production system, realized the lean production of a shipbuilding workshop, and shortened the production cycle. Mouss et al. [
19] proposed a scheduling method of workshop manufacturing equipment based on automated guided vehicles (AGV) to shorten production time and improve productivity by considering three aspects that affect machine work, product transportation task allocation, and AGV fleet battery management. Binghai and Zhe [
20] studied the dynamic part replenishment scheduling problem under the Kanban system, and proposed a hybrid dynamic scheduling method based on a fuzzy neural network. The goal was to simultaneously optimize a productivity-related goal (throughput of the assembly line) and a cost-related goal (total distribution distance of the automated guided vehicle (AGV)). Wenrui et al. [
21] provided an effective solution to the practical problem of production and transportation coordination in the automobile industry. A bi-objective mixed-integer linear programming (MILP) model was established to jointly optimize the total energy consumption and just-in-time (JIT) indicators. Zhou and Zhu [
22] studied the scheduling and loading of two trains in a mixed-current assembly line (MMAL). By setting the departure time, the number of parts for each departure and the destination station, they established an in-plant milking and departure model to minimize the total inventory on the line side of all stations during the planning period.
The above studies have only focused on part of the ALPFP. This paper fills this gap by raising multiple subproblems to address the optimal traction train loading problem based on the variable path, optimal distribution plan, route problem, and the optimal departure time problem. For the problem of poor local search ability and low global search efficiency of the genetic algorithm, artificial immune genetic algorithm is combined with immune memory, concentration evaluation, and vaccination of the immune algorithm to improve the local search ability and quality of the solution.
4. Artificial Immune Genetic Algorithm
This problem can be solved by indicating when the train can depart and how the parts are delivered in order. The orders are discrete variables, and time is a continuous variable. This paper provides a special artificial immune genetic algorithm (AIGA) based on the heuristic to solve this combinatorial optimization problem.
For the problem of the poor local search ability and low global search efficiency of the genetic algorithm, the artificial immune genetic algorithm is combined with immune memory, concentration evaluation, and vaccination of the immune algorithm to improve the local search ability and quality of the solution. Immune memory can help preserve good gene individuals. The concentration evaluation can eliminate similar individuals. Immune selection can maintain the diversity of the population and avoid the algorithm ending prematurely, and improve the algorithm’s performance and stability. The implementation flow of the artificial immune genetic algorithm is as follows (
Figure 2):
4.1. Encoding and Decoding
In the AIGA, it is critical to find the applicable encoding of the individual. Chromosomes must correspond to the solutions. This paper creatively describes that the chromosome includes two strings according to real number coding. The first part of gene F1 represents the order of distribution of parts waiting to be moved. The latter part of gene F2 indicates how many times the train can travel and how many parts are delivered on one tour. The train’s capacity is limited to
C (
C = 3); therefore, the codes of the F2 do not exceed the limit of
. The F2 fragment is a set of random numbers less than 3 whose sum is
of the total number of moving parts in the experiment. As shown in
Figure 3, the train travels three times back and forth. For the first journey, it loads Part 2 and Part 3, and then sends them to the buffer, unloads the parts, and then goes back to the supermarket. By the same token, the second time, the train carries Part 7, Part 10, and Part 12 in this tour, and the final time, the train brings Part 5 to the buffer then returns.
The initial population consists of two parts: randomly generated individuals and some high-quality individuals inserted into the initial population to ensure the algorithm’s stability. The first half of quality individuals are sorted according to the out-of-stock time of the parts, and the second half is set to minimize the number of tours.
4.2. Memory Cells
According to the results of continuous experiments, the reasons for the excellent performance of a gene are as follows:
- 1.
The F2 segment of this gene is expressed with fewer transport times.
- 2.
The order of moving parts shall be sorted according to the time of shortage as far as possible.
Therefore, the parts we need to carry are arranged into F1 segments by the sequence of the out-of-stock time, and F2 segments are formed by the minimum number of times of handling. Such combinations of genes are called memory cells. The memory cells are then dropped into the initial population of the algorithm. Although the gene represented by memory cells may not be a feasible solution, it can help improve the primary population’s immunity to the problem, and the population can converge to the better solution better and faster. The robustness of the algorithm is also verified in the experiment. An example is shown in
Figure 4.
4.3. Fitness
4.3.1. The Time of Shortage
The flex mixed-model assembly line can obtain the production order in advance. Based on the production planning and scheduling of the order, it is possible to obtain the type and quantity of parts to be delivered during the period specified. In order to prevent the shortage from causing the assembly line to stop, it is necessary to record the consumption of each part and determine when each part will be out of stock. The specific steps are as follows:
Step 1: while inputting the set of products in assembly sequence , the type of parts to be delivered and the number of material boxes to be carried can be determined, followed by calculating the total material boxes .
Step 2: depending on parts and the consumption of each part, the time when the part will be out of stock can be obtained. The next cycle time when the part is used is defined as the due time, called the point of shortage ; the part P and the due time correspond one to one.
4.3.2. The Departure Time of the Train
Each part needed to be delivered on one tour has the shortage time
. The distance of every route to the parts’ buffer is
. According to the unloading time
, the late departure time
, of each part on the tour
n can be deduced from the shortage time.
Therefore, the final departure time of tour
n is
.
The time of train back to the supermarket is
can be obtained with the last arrival part
as follows:
4.3.3. Adjust Schedule of the Departure Time
One delivery task may be completed by multiple tours, while there may be a problem in which the next tour begins before the last tour is over. In other words, there is overlap between the two tours. Departure times for tours need to be coordinated. The loading time between two successive tours is
L. If
, the departure time of the tour of
will be advanced (
Figure 5).
4.3.4. The Value of Fitness Function
Many chromosomes need to be estimated from two aspects. Firstly, it must meet the distribution constraints, and the departure time of the first tour must be positive. Secondly, according to the distance of the routing and the inventory of the line, the value of the fitness function can be obtained. The coding method in this paper can find the scheduling without shortage and routing with the shortest path, but it cannot guarantee that the first tour can set out in time. Therefore, it is necessary to screen the chromosomes, select the individuals that meet the conditions, and then calculate the distance and inventory values. When
was obtained, the inventory Hmp of the part
and the distance Dn of the tour
n could be calculated using the mathematical model.
4.4. The Calculation of Similarity
Similarity calculation is used to compare the differences between individuals in a population. Individuals with high similarities to other individuals and low fitness will be eliminated to maintain the diversity of the population. This algorithm uses the difference between the fitness value of an individual and the average fitness value of the population as the evaluation index of similarity.
4.5. Selection
In this paper, two operators were used to select the individuals. According to the roulette selection process, each individual is likely to be selected, while the higher the probability, the more likely it is that an individual will survive. The probability of an individual
which is selected consists of fitness value and similarity.
Another optimized evolutionary selection is to pick the ones that do well in evolution and put them into this generation by comparing the best chromosomes of the previous generation with the worst chromosomes of the current generation. Experiments can prove through the adoption of two selection operators that the convergence and the convergence speed are significantly improved, which provides a better choice strategy for the application problem of obtaining the optimal solution more quickly.
4.6. Crossover
There are two strings in our chromosomes, the first half of which, F1, is operated with order crossover, and the left of which, F2, is operated with a partially matching crossover (
Figure 6):
Step 1: The starting and ending positions of several genes in a pair of chromosomes (the parent) were randomly selected (both chromosomes were selected in the same position) in the first half, F1;
Step 2: Produce a progeny and ensure that the selected gene in the progeny is in the same position as the parent;
Step 3: First, find out the gene’s position selected in the first step in the other parent generation, and then put the remaining genes into the offspring generated in the previous step in order. The other progeny is produced in the same way, only the two parent chromosomes need to be swapped, and the genotype selected in the first step is in the same position;
Step 4: For the last half, F2: swap the second half of two parent genes.
4.7. Mutation
In this paper, a swapping mutation operator was adopted for the F1 and F2 strings. Swapping mutation is a typical process used with randomizing the order for chromosomes. Taking the order of half gene as an example, while the last half can mutate in the same way, the description randomly selects two codes in the F1 part, then switches their positions (
Figure 7).
4.8. The Operations of Immunity
4.8.1. Vaccine Extraction and Vaccination
The vaccine gene is the best-performing individual in the current population. The vaccinated gene was inoculated to the individuals with the worst performance in the population (20 genes per population were selected in the experiment) to reproduce the good gene segments of the population.
According to the results of continuous experiments, the reasons for the excellent performance of a gene are as follows: 1. The F2 segment of this gene is expressed with less transport times. 2. The order of moving parts shall be sorted according to the time of shortage as far as possible. In other words, these are why poorly behaved genes have higher fitness. In order to maintain the validity of the gene, the allele values of F1 fragments were inoculated by sequence substitution. The idea is to look for the allele I of the vaccine gene P in turn, look for the P at the adjacent position of the I in the altered gene, and then swap the alleles at the two positions. In the case of the F2 fragment, if the vaccine gene is transported less, the F2 fragment of the modified gene is replaced by it (
Figure 8).
4.8.2. Immunity selection
Through vaccination, the poor performance of the original individual is modified, and fitness value is calculated; if the result is good, the original vaccinated gene position is replaced; otherwise, it is discarded. The advantage of vaccination is that helping poorly performing individuals produce better offspring reduces their longevity in the population. It also keeps the number of individuals in each generation constant.
6. Concluding Remarkets and Future Direction
This paper focuses on the optimal traction train loading problem based on a variable path, the optimal distribution plan, route problem, and optimal departure time problem. A static scheduling method based on a mixed-integer linear programming model and artificial immune genetic algorithm is used to solve the problem of multi-truck part replenishment scheduling in the automobile assembly line. Compared with previous work, the proposed approach is improved in the following aspects:
- (1)
In this paper, based on the variable path of a mixed-integer nonlinear programming model to optimize the production line in terms of line-side buffering capacity and the number of deliveries at the same time to solve the complexity of the non-linear model, the model is converted into a linear model.
- (2)
To make up for the drawback that the integer mathematical model can only solve small-scale problems and the solution period is too long when solving large-scale problems, this paper proposes an intelligent algorithm, the artificial immune genetic algorithm, to ensure that the assembly line does not run out of stock and can obtain a better distribution solution in a short time. Compared to the GA, experiments show that the AIGA has better performance on a large scale, proving that the proposed method can improve the local search ability and quality of the solution.
A limitation of the study is the absence of considering various situations, such as emergency order insertion and machine failure. Future work can include combining algorithms with real-time dynamic scheduling problems to adapt to the uncertain environment of the assembly line. The machine learning method is introduced to make scheduling policy more adaptable.