Application Research of Soft Computing Based on Machine Learning Production Scheduling

: An efﬁcient and ﬂexible production system can contribute to production solutions. These advantages of ﬂexibility and efﬁciency are a beneﬁt for small series productions or for individual articles. The aim of this research was to produce a genetic production system schedule similar to the sustainable production scheduling problem of a discrete product assembly plant, with more heterogeneous production lines, and controlled by one-time orders. First, we present a detailed mathematical model of the system under investigation. Then, we present the IT for a solution based on a soft calculation method. In connection with this model, a computer application was created that analyzed various versions of the model with several practical problems. The applicability of the method was analyzed with software speciﬁcally developed for this algorithm and was demonstrated on a practical example. The model handles the different products within an order, as well as their different versions. These were also considered in the solution. The solution of this model is applicable in practice, and offers solutions to better optimize production and reduce the costs of production and logistics. The developed software can not only be used for ﬂexible production lines, but also for other problems in the supply chain that can be employed more widely (such as the problem of delivery scheduling) to which the elements of this model can be applied.


Introduction
In view of demographic change and high-cost pressure, ever greater efforts are being made to automate processes. On the one hand, there is an enormous combinatorial variety in process design. This includes dividing the tasks between available robots, determining the processing sequence, and adjusting the process settings. On the other hand, due to narrow and dynamic robot workspaces, motion planning proves to be extremely computationally intensive. The aim of this work was therefore to use heuristic algorithms to make processes more efficient to save costs and time. In this work, a new implementation of the genetic algorithm is used for process optimization.
Industrial production has been going through a major change for several years, also known as the fourth industrial revolution [1][2][3]. An essential part of this change is the complete penetration of processes with the help of virtual methods. At the same time, due to increasing complexity and decreasing batch sizes in production, there is an everincreasing need for software for planning, automation, and optimization. To meet these increasing requirements, new methods and technologies have to be developed that enable optimized planning and control under different target values [4][5][6][7].
The sustainability-oriented production scheduling problem has been researched by many authors in the field, and there is ample literature on the topic [8][9][10][11][12][13][14]. However, there are circumstances which have led to changes in production processes, such as changes pairs, whose positive properties may improve [18]. During selection, the individuals with the better properties remain. Thus, the solution gradually improves and approaches the optimum [12]. The efficiency of the genetic algorithm is greatly influenced by the applied crossover operator. Today, several crossovers have been developed. Crossbreeding simulates the analogy of genetic crossbreeding in nature. This is a procedure that generates a child entity from two selected parent entities [9]. They differ in various ways, but each is similar in that they either change just the order or just the position [19]. Mutation can do a lot to help eliminate the stagnation of the procedure, making mutations just as important as the crossover operator.
Other heuristic solutions to this problem are suggested in the literature, and the proposed method is also unique in that it can be effectively applied to rescheduling-even in the case of dynamic production scheduling-because it provides a very fast run. No such approach was found with GA [10,20].
Due to rapid technological development, automation has improved significantly in many areas of production. This leads to a complicated situation where decisions need to be made within a short timeframe and from a number of possible cases. Wadhwa and his colleagues suggest a flexible system, where n independent workplace products need to be processed on m machines, and each workplace has the same processing order on the machines [20]. It is important that the system finds jobs on the machines that minimize the make-span. The objective is achieved by the evolutionary heuristics of the genetic algorithm on the sustainable scheduling problem of the flow line. The advantage of the genetic algorithm is that it manages constraints and goals easily, thus facilitating the adaptation of the GA scheduler to a wide range of possible scheduling problems. The results of the study show that the implementation of the genetic algorithm is very effective compared to standard sequencing rules, such as a shorter processing time, the total processing time, and so on.
He and Hui [10] presented a heuristic genetic algorithm for the parallel one-step multipurpose scheduling (SMSP) of large units. First, they proposed a random search based on heuristic rules. By crawling through a set of random solutions, they obtained more feasible solutions. To improve the quality of the solutions, a genetic algorithm under heuristic rule was proposed. Because the run time of the genetic algorithm drastically increased due to certain limitations, a penal procedure was introduced. Thus, the proposed algorithm became effective, and can be used to deal with highly limited, large scheduling problems.
The authors studied the reactive sustainable scheduling method in a previous study [21]. In this previous study, a genetic algorithm-based reactive scheduling method was proposed. When dealing with aggregate production schedules, it is difficult to change the initial schedule due to unknown factors in the manufacturing system. In their research, they modified only a portion of the initial scheduling that sets the appropriate scheduling range.
The studies [10][11][12] on the field of the genetic algorithm also describe the network scheduling of a typical multipurpose batch plant. Multipurpose process scheduling is more difficult to handle than one-step or multistep process scheduling [14,19,20]. Most authors apply mathematical programming (MP) methods to solve this problem. However, these adjustments result in a very long calculation time. The genetic algorithm proposed by the authors selected a small part of the binary variables to encode into binary chromosomes, which is key to identifying the tasks. The genetic algorithm was first developed with a separate crossover to minimize the makespan and maximize the production.
The researchers of [8] developed a module based on genetic algorithm scheduling based on the priority rules (PRGA-Sched) module that provides shorter completion times in the production scheduling. The module was integrated into the Faborg-Sim simulation tool. Using production data from the Faborg-Sim PRGA Module, a heating boiler production system was analyzed and simulated using six products and orders from customers. Their results showed that a better finishing time and starting position can be achieved through the PRGA-Schedule module. Dao and Marian [22] presented a genetic algorithm for the integrated optimization of precedent-limited production sequences and scheduling in several production line environments. This group of problems is an NP-hard combinatorial problem, requiring triple optimization: allocation of resources to each production line, production line layout, and production line scheduling. Due to the nature of the constraints, the length of the problem varies. To overcome this variability and the global optimum search, new resource allocation strategies, chromosome, crossover, and mutation were encoded.
Zhang [14] proposed a solution to reduce the pollutants generated through fabric production. First, a three-way model was drawn that included both the traditional delays and the environmental aspects. Then, he presented an innovative solution for the sustainable scheduling problem, namely a multi-objective genetic algorithm with a taboo-enhanced, iterated greedy local search strategy.
Based on the characteristics of these genetic algorithms, the scope is expanding, and research on the optimization and improvement of genetic algorithms is becoming more sophisticated. In recent years, production planning based on genetic algorithms has been analyzed in the literature using various software [44][45][46][47][48][49][50][51][52][53][54]. Our article contributes to the existing literature in that we did not use existing software. Instead, we developed software based on the genetic algorithm to solve this problem. We consider that this model is easy to adopt for different production problems, and can be customized by the software that we developed in comparison to the models using standard software.

Research Methodology
When investigating the problem, we concluded that, after the elaboration of the detailed mathematical model, the evolutionary algorithm was the most efficient solution to solving the problem associated with the model.
An exact solution may be given for the problem (as for all mathematical problems with a finite number of elements), but the number of steps is of a magnitude (appearing as an NP-problem) that precludes practical application, especially for the solution of real-time problems [55,56]. This is already a deterrent in terms of exact solutions. Our practical tests have already shown significant runtimes for small tasks, and the use of the trunk function during the solution presented a further problem (which we simplified in our sample tasks).
To solve the problems emerging in practice, an efficient algorithm must be developed.
During our initial attempts, the exact solutions were discarded, and the heuristic methods were unreliable. The evolutionary algorithms were successfully applied to other problems. As such, for the next step in finding a solution, the choice of method seemed to be obvious. Implementing evolutionary algorithms is simple, and we can easily create applications for unique problems.
Evolutionary algorithms have already been used efficiently in practice for solving several problems [57]. Genetic and evolutionary algorithms gained significant popularity in the 1990s, and several studies have analyzed these methods [58][59][60]. In addition to its simplicity and ease of implementation, adequate modifications could provide even more efficient solutions.

Modelling
Investigating the problem reveals an optimization problem. In such cases, the mathematical modelling of the problem is the most convenient way of creating a computational model of it. When preparing the model, one should take care that the level of detail of the model is optimally suited to the problem. All notations of the model are presented in Appendix A. The model does not have to be too detailed, because then it would be unmanageable, while a too broad model would produce inaccurate results [61].

The Tested System
To demonstrate the operation of the system we have developed, we first define what is meant by the problem of sustainable production scheduling of the order-driven discrete product assembly system with heterogeneous production lines. The discrete product system described above means that the product can be measured in pieces, and the production time of the same product n is n times the product, and its production cost is also n times of the product, and n ∈ N + . The system is controlled by orders; that is, prior to the operation of the system, orders are known for a production (assembly) period of the plant. We know what kind and how many parts the orders must be produced. To maintain compatibility with other systems (e.g., packet data transfer), all identical products from the (virtual) orders will be sequentially produced on the same production line. Obviously, this should not be a requirement for a conventional schedule. Inhomogeneity of the production lines means that both the lead time and the production cost of a product depend on the product and the production line.
After clarifying our basic concepts, we formulated the task set. The plant had an n ∈ N + flexible production line and, for further reference, C j (1 ≤ j ≤ n) designates a production line. The production line is characterized by its ability to manufacture every product. If this is not the case, then the product on this production line has a high lead time and cost, which will never be allocated. The plant can produce (assemble) different product types (m ∈ N + ) on these production lines. We did not deal with deadlines because we assumed that all acceptable solutions met the ordering deadlines.
Formally, it can be described as the following: l ∈ N + orders waiting for manufacturing be in the system.
For example, S ij := e k e k e k . . . e k 1 2 3 . . . S ij . This kind of series cannot be divided into further parts. σ S ij = p is the number of series S ij . It will be used the function τ(p) := j for further reference. The system model uses three essential matrices, all of which create a link between the product and production lines. One is the lead time of one type of product on one production line, and the other is the production cost of the product associated with the production line or the switch time between the products on the production line. These formally mean: P n×m = p ij is manufacturing cost of the product j on line i. T n×m = t ij is turnaround time of product j on line i.
is resetting time and cost from series j to series l on line i.
Our task was to find an optimal or close-to-optimal layout that complied with the set of conditions outlined below. As can be seen from the objective, a dual and counterpart parameter appear in the optimization targeting function of optimization. That is, if we are trying to minimize the cost, the best solution is to assign each series to its optimal production line. If this is achieved through a model in which all series designate a single production line as optimal, the lead time will be the maximum. In the same way, if it is possible to assign each sequence to a line with the optimum lead time, each series may be ordered at the highest cost line. Thus, it appears that the solution is somewhere between these two models. For these cases, it is important to know the total leading time (T j ) and the manufacturing cost (K j ) of the production line j for an assignment X. For easier handling, suppose that t i∅j := 0, meaning before the first series is not reset.
An optimization task formulates the above system which will manufacture all series on a production line, then at least one following objectives are met:
The compromise objective function between time and cost.
In this paper, the third case will be examined, as the following objective function handles cases 1 and 2: λ·max In the first case, µ = 0, in the second case λ = 0.

Constraints of the Model
This is the assignment hypermatrix (see Figure 1): where this denotes: that series i is assigned to manufacturing element k of production line j.
Processes 2022, 10, x FOR PEER REVIEW to assign each sequence to a line with the optimum lead time, each series may be or at the highest cost line. Thus, it appears that the solution is somewhere between the models. For these cases, it is important to know the total leading time ( ) and the ma turing cost ( ) of the production line j for an assignment X. For easier handling, su that ∅ ≔ 0, meaning before the first series is not reset.
An optimization task formulates the above system which will manufacture all on a production line, then at least one following objectives are met: 1. Minimal lead time; 2. Minimal manufacturing cost; 3. The compromise objective function between time and cost.
In this paper, the third case will be examined, as the following objective fu handles cases 1 and 2: In the first case, = 0, in the second case = 0.

Constraints of the Model
This is the assignment hypermatrix (see figure 1): that series i is assigned to manufacturing element k of production line j.
Each series is assigned to only one production line and only one manufacturing ber: Each series is assigned to only one production line and only one manufacturing number: For each production line, and within a production series, a number is assigned up to one series: The series is assigned to the first numbers of the production line. The following condition shows this: Processes 2022, 10, 520 7 of 19

The Objective Function
Taking a step forward: The manufacturing cost of the production line j is: The resetting cost of the production line j is: The total cost of the production line j is: The manufacturing time of the production line j is: The reset time of the production line j is: The total manufacturing time of the production line j is: The total objective function is: The Complete Model:

Our Previous Solutions and Examinations
The basic problem of optimization is the size of the solution space. If n is the number of production lines and l is the order number, then is the solution space number. For example, 4 production lines and 50 orders will have a solution space of 1.3·10 65 elements. The optimal solution for such a large task is very difficult to ensure, so we have been looking for heuristic solutions for the last few years.
Our first reasoning was built on the greedy algorithm. The solution was based on the fact that the same products were merged and, depending on how the weight values in the target function were configured, the assignment was assigned to the production line with the shortest lead time or with the lowest cost line. Then, with manual tuning, we eliminated the outstanding assignments by smoothing the mergers. This kind of solution provided a usable result. However, the efficiency test found that we did not reach the right target for each order system. Our attention was directed to Ant Colony Optimization (ACO). The results of the completed software were subjected to statistical analysis, and we found that the deterministic sustainable production scheduling tasks realized with the ant algorithm resulted in very large variations. Thus, it was difficult to determine how close this would be to the optimal. However, the advantage of this solution was that it simultaneously handled two parameters-lead time and cost-so the one-on-one contact could be easily controlled.
As expected, with a higher run number and more agents, the average run result yielded a better target than a lower run number or fewer agents. However, the lowest aggregate target value was obtained from the lower run increments. On the contrary, the average target value was close to 1.5% lower for the higher runner step [4]. It was clear that the process did not converge, as can be seen in the examples. Only in the case of a high number of agents and a long run, or an evaporation factor proportional to the maximum path length, could a relatively low target value be found. A detailed examination was unnecessary since, in the examined samples (about 1000 runs), we found that the solution obtained could be very different at the same parameter value. Thus, it was found that usage of the ant algorithm primarily provided good ground for pre-processing other processes. Therefore, we will use the more efficient and verifiable convergent GA solution to play a role in pre-processing [6]. Accordingly, the solutions provided by the ant algorithm form the initial population of the GA. This is positive from the point of view of good-quality initial chromosomes, and, from experience, it is also beneficial that each individual is relatively distant from the other.

The Structure of the Chromosome
The method is based on a well-designed chromosome. If it is possible to determine the chromosome together with its locus of limbs, such that we can efficiently apply the GA operators to the genes on it, then we can develop a good and usable method. First, we determine the chromosome whose loci number is: We assign an integer number to every series of the original problem with function (see Table 1) σ S ij = p. The chromosome will then be structured as follows (see Table 2). Table 2. Structure of a chromosome.
Denote L ij i : production line j i is assigned to series i. N ij i : production sequence number of series i on line j i (production sequence). It is not important that the strict sequence (1,2, . . . ,ki) is followed; only the order of the values determines the sequence of series on the line. If two series have the same values, then the series with a lower sequence number will be manufactured first. This consideration will accelerate the algorithm (every result will be a possible result). For example Table 3. In Table 3, two lines (0 and 1) are used with 5 locusts of a chromosome. The first gray block shows that series 1 is assigned to line 0.
The series 1 has sequential number 10 and the series 4 has sequential number 2 on line 0. Series 2 has got sequential number 4, series 3 has got sequential number 3, and series 5 has got sequential number 4 on line 1. The allocation will be as follows Table 4. The order number and the order series number can be decoded from Table 1. The type of product and the number of an order can be decoded from these numbers with function τ S ij . The number of an order is assigned to series S ij . Resetting cost and leading time can be easily determined from these numbers.

(a) Crossover
P denotes the number of elements in the population. The first operator of GA is the crossover that creates two new chromosomes by means of any two chromosomes from the population. That is, two new possible solutions are possible in our assignment from two possible assignments. During the crossing, the genes on a given loci interval of one of the parent chromosomes, in which rows are strung to the loci, are exchanged with the genes of this locus domain of the other parent genome, and vice versa. The crossing is based on the starting point and the length of the chromosomes. The procedure is outlined by the following algorithm.
KER be a random integer between 1 and p 2 (half of the population's number). The KER represents the number of crosses applied to a particular population.
Select randomly two different individuals from the current population.
Select at random a POZ crossing point (between 1 and 2) and a HOSSZ value (between 1 and 2-of POZ). The POZ shows from which loci to begin the crossing, and the HOSSZ shows the number of those loci on which genes are to be exchanged.
Create two new chromosomes by replacing the genes of the two parents from POZ length to HOSSZ length. See the above example.
Perform the second and third steps KER times. Consider the following two chromosomes (Table 5). Take the starting point 2 and the length 6 ( Table 6). Note that our crossing solution is flexible. As it is not necessary to replace blocks, it is also possible to replace subblocks. This means that the length can not only be an odd value, but also an odd value, such as 5. In the case of the fourth series, the value determining the production order does not change, only the number of the production line. Based on the above, this still provides a possible solution for all crossings.

(b) Mutation
The role of mutation is to include in the population chromosomes possible solutions that would never enter the optimization through initial design and crossing. Mutations always change the gene of a locus. This, in our case, can be a production line gene, but it can also be a production sequence gene.
MUT is a random integer between 1 and p 2 (half of the population's number). This value determines the number of chromosomes that will be allowed mutation in our current population. Select a random MUT number of individuals from the population. Take the first selected individual. Select a locus from this individual randomly. If this is an even-value gene, then generate a value between 1 and s. Change the value of the selected gene to the value obtained.
If it is odd, generate a value between 0 and n − 1 (production number 1) and substitute it for the gene's existing value.
After this, select the next individual and perform the steps from step 3 until the mutation is performed for all selected individuals.

(c) Selection
The role of selection is, in addition to the new individuals that have been crossed and mutated, for the somewhat valuable individuals of the present population to be included in the new population (generation) and eventually aid in optimization (the list is in descending order). In our method, we combine the following two selections: Proportional fitness selection; Elite list selection.
p + p 2 be the number of genetically generated entities. The number of all entities is q = 2p + p 2 . Find the best fit for fitness (f). If there is more than one, choose one at random and add this to the new population. p − 1 is selected from the q − 1 chromosome. Determine the fitness of each individual. This value is weighted using the lead time and total production cost assigned to the solution (evaluation).

Convergence of the Process
The above procedure converges. Convergence is ensured by the fact that fitness values are limited from the bottom (the value cannot be negative) and because of elite list selection, where at least one of the best individuals of the previous population will be included in the population. Thus, the fitness value for a new population with the smallest fitness value cannot be higher than the best fit in the previous population. Therefore, the smallest fitness value of the population is a monotonous downward series. Thus, it will be a convergent series. The question is whether this series converges to the optimum value. The convergence of the genetic algorithm to optimum is provided in the study [3].

Discussions and Results
We have developed a simple application for our investigation, which functions according to the above. During the visualization, we strived for simplicity, since our objective consisted of the adequacy of the model and the applicability of the method.
The examined sample task is presented below. The structure of the sample task corresponds to the outlines of the model. This sample task is from a real company, but it was simplified for reasons of transparency. In some cases, we significantly deviated from the actual numbers to demonstrate the functionality of our developed method.
The task is presented below using the elements of the software setup window. The Structure of the Sample Task: The company had four production lines, and our goal was to schedule four production lines (channel).
Our aim was to produce six different products on these production lines. The number of orders was 40.
The table of the specific orders shows how many units of a specific product had to be produced. The figure shows the products related to the first 16 orders (order) and their number of units.
C#i shows, for the production line i (channel), the turnaround time necessary to produce the product j after the product i (Ti).
The turn-around timetable presents the lead time of specific products (Ti) on the specified production line (Cj).
The cost table shows the production costs of the specific products (Ti) on the specified production line (Cj).
Time is measured in minutes and the cost is measured in euros. In this case, we can dispense the currency and the unit of time, as these do not influence the system (Figure 2). duce the product j after the product i (Ti).
The turn-around timetable presents the lead time of specific products (Ti) on the specified production line (Cj).
The cost table shows the production costs of the specific products (Ti) on the specified production line (Cj).
Time is measured in minutes and the cost is measured in euros. In this case, we can dispense the currency and the unit of time, as these do not influence the system ( Figure  2).

Figure 2.
The data of the production scheduling problem (C#i in the computer application means the selected C4 production line).
Our aim was to place the elements in the orders table on the four production lines in such a manner that it was optimal from a perspective of (the list is in descending order): This can be controlled through the alpha and beta parameters shown in Figure 3. If alpha = 1 and beta = 0, then we optimized for lead time. If alpha = 0 and beta = 1, we optimized for costs. The two criteria were considered in weighted form for all subsequent results.
Under the set conditions, along with the two aforementioned cases, we also presented a case in which both criteria were taken into account with different weights. Our aim was to place the elements in the orders table on the four production lines in such a manner that it was optimal from a perspective of (the list is in descending order): Lead time; Minimal costs. This can be controlled through the alpha and beta parameters shown in Figure 3. If alpha = 1 and beta = 0, then we optimized for lead time. If alpha = 0 and beta = 1, we optimized for costs. The two criteria were considered in weighted form for all subsequent results.
Under the set conditions, along with the two aforementioned cases, we also presented a case in which both criteria were taken into account with different weights.
The run included 200 steps for each investigation. The run results from the following figures had the chromosomes obtained during the selection, with the individual lines representing the chromosomes. The fields for setting the two parameters can be seen in the upper part of Figure 3. The run included 200 steps for each investigation. The run results from the following figures had the chromosomes obtained during the selection, with the individual lines representing the chromosomes. The fields for setting the two parameters can be seen in the upper part of Figure 3. Depending on the change in parameters, we investigated the result provided by the method. In the case of examined samples, when turnaround time was optimized, the turnaround time could not be less than 16,163 time units, and the cost could not be less than 18,494 cost units. Figure 4 shows a run result in a case where the lead time parameter alpha = 1, the figure shows that the system seeks equal load. The figure can be interpreted as follows. Depending on the change in parameters, we investigated the result provided by the method. In the case of examined samples, when turnaround time was optimized, the turnaround time could not be less than 16,163 time units, and the cost could not be less than 18,494 cost units. Figure 4 shows a run result in a case where the lead time parameter alpha = 1, the figure shows that the system seeks equal load. The figure can be interpreted as follows.
Each order is associated with a color. The quantities to be produced for each order are shown by the white numbers. The gray gaps represent inactive times. The breadth of the individual orders symbolize the necessary production time (the broader the order, the longer the production time), and the color yellow represents the production lines (of which there are currently four). Depending on the change in parameters, we investigated the result provided by the method. In the case of examined samples, when turnaround time was optimized, the turnaround time could not be less than 16,163 time units, and the cost could not be less than 18,494 cost units. Figure 4 shows a run result in a case where the lead time parameter alpha = 1, the figure shows that the system seeks equal load. The figure can be interpreted as follows.
Each order is associated with a color. The quantities to be produced for each order are shown by the white numbers. The gray gaps represent inactive times. The breadth of the individual orders symbolize the necessary production time (the broader the order, the longer the production time), and the color yellow represents the production lines (of which there are currently four).  Based on the description of the sample task, the third production line was among one of the most expensive lines, from the perspective of the products to be manufactured. The solution shows that the assembly line that was expensive relative to the ordered products was only minimally used by the system. This can be seen on the third production line.
In practice, the joint investigation of the two criteria can be conducted by considering Based on the description of the sample task, the third production line was among one of the most expensive lines, from the perspective of the products to be manufactured. The solution shows that the assembly line that was expensive relative to the ordered products was only minimally used by the system. This can be seen on the third production line.
In practice, the joint investigation of the two criteria can be conducted by considering the experience. In our examined example, the experiential result was as follows (Figure 6). Based on the description of the sample task, the third production line was among one of the most expensive lines, from the perspective of the products to be manufactured. The solution shows that the assembly line that was expensive relative to the ordered products was only minimally used by the system. This can be seen on the third production line.
In practice, the joint investigation of the two criteria can be conducted by considering the experience. In our examined example, the experiential result was as follows (figure 6): This was in line with the practical experience that most orders were allocated to the fourth line. This was in line with the practical experience that most orders were allocated to the fourth line.

Efficiency of the Algorithm
In the examined sample tasks, the program found the near-optimal solution in a maximum of 200 steps.
The run times of the individual cases did not exceed 30 s. In general, based on experience to date, the program performs thousands of cycles in the optimal search for the most complex task. The running time for complex tasks was no more than 5 min. The program does not require special hardware.

Theoretical and Practical Implication
In this research, we presented the results of the objectives set out in the introduction. The first goal was to create an exact unique mathematical model for the task, so that the GA's IT of the task could be fitted onto this model.
What caused the unreliability of previous heuristic solutions? Studies have shown that, due to the robustness of such tasks, only in certain cases is the solution's optimum closeness of the solution ensured. In some cases, the solutions differed very much from the actual-that is, from the optimum obtained by us through the analysis of a well-analyzed test system-since the methods were largely based on the conditions of an average system. Unfortunately, the ant colony optimization was different in behavior. This solution had the great advantage of avoiding the alpha and beta parameters of the current method. The method itself tried to adjust to optimize costs and lead time together, and that is what caused its failure. As demonstrated by the combined effect of the two objectives, we did not obtain targets changing in the same way as the two parameters analyzed with the methods we employed, so the system could not produce good solutions. Sadly, through its use, we obtained possible solutions but not an optimal solution.
The third objective was to provide a GA model that would fit the task. Basic models can be adapted with little modification, since, in our case, the structure of the chromosomes and the genes to be replaced by the locus used were special in their structure. Genes contain two different elements, so genetic operators must adapt to this. The unique chromosomes and operators created fitted the mathematical model.
In this research, algorithms for generating time-optimized solutions were implemented in a software program. For this purpose, all necessary steps were presented, starting with a probabilistic movement planning algorithm with fast and accurate collision detection, a heuristic solver for process flow optimization and load balancing, up to a practical validation of the methodology. Due to the high complexity, a robust process automation or optimization with common planning and technical methods can only be implemented to a limited extent. Mathematical analyzes and computer-aided methods can make additional contributions to greater robustness and increased efficiency. Time-optimized programs for process optimization are supplied as a practical application. For this, it is necessary to integrate the methods into the production network. The evaluation of the results is based on precise simulations with the developed software. In this paper, we demonstrated that order-driven production can be mathematically described, and be assigned to a wellmanaged model. The model condition criteria were simple, but the complexity of the target function required that the task related to the model was not solved by using the exact method. Compared to previous studies, we have now solved the problem with a variation of the genetic algorithm. This solution method provided the best results compared to our previous experiments.
In the past, we performed numerous runs and evaluated the results using statistical methods. These findings also supported our hypothesis that soft calculation methods are well suited for production tasks as well.

Limitations and Future Research
For future research, it will be important to investigate the scalability of the solver so that the entire production line can be optimized, instead of a single process. This is particularly interesting for load balancing because the number of tasks is much larger. A promising approach is to first build a population of good and diverse solutions using heuristics, and then apply artificial intelligence methods to identify a common pattern among them according to the pattern that frequently occurs.
Integer values were four-byte integers, so these were not a limitation in the practical problem. Variables were dynamic, so the hardware set the limits. The results of the tests so far, which were used in a medium-sized production plant, were satisfactory. Very large serial numbers have not been published, but based on the experience so far, the previous day's production plan is prepared quickly-well within deadlines.
Furthermore, in the future, applications are to be examined in which robot programs are created solely from the specifications of product planning. Reinforcement learning can be used for this in order to train a model from the processes. In this way, all relevant process technology requirements and tolerances can be recorded. (1 ≤ i ≤ n), (1 ≤ j ≤ s), (1 ≤ l ≤ s) the resetting time and cost from series j to serial l on line i. X s×n×s = x ijk x ijk ∈ {0; 1} 1 ≤ i ≤ s; 1 ≤ j ≤ n; 1 ≤ k ≤ s x ijk = 1 that series i is assigned to manufacturing element k of production line j.

K p j (X)
The manufacturing cost of the production line j K t j (X) The resetting cost of the production line j K j (X) The total cost of the production line j T p j (X) The manufacturing time of the production line j T t j (X) The reset time of the production line j T j (X) The total manufacturing time of the production line j f (X) The total objective function λ= alpha (α) in the software 1 min Normalizing and at the same time weight factor Lead time parameter µ = alpha (β) in the software 1 Euro Normalizing and at the same time weight factor Cost parameter