Welding unit optimization scheduling method based on improved simulated annealing particle swarm optimization, medium and equipment
By improving the simulated annealing particle swarm algorithm, combined with the global search capability of the simulated annealing algorithm and the fast convergence characteristics of the particle swarm algorithm, the problem of low efficiency of traditional welding unit optimization scheduling is solved, efficient welding unit scheduling is achieved, and the welding quality and Robustness.
Patent Information
- Application Number
- CN202410912102.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-08
AI Technical Summary
The traditional welding unit optimization scheduling method has low efficiency, is difficult to effectively solve the computing requirements of nonlinear problems and high-dimensional problems, and cannot meet complex task scheduling needs.
An optimization scheduling method for welding units based on the improved simulated annealing particle swarm algorithm is adopted. By constructing an optimization model, analyzing tasks and resources, designing the optimization objective function, and using the combination of the simulated annealing algorithm and the particle swarm algorithm to perform optimization calculations, the optimization decision is obtained. plan.
It improves the solution effect and efficiency of welding unit scheduling, avoids local optimal solutions, enhances the robustness and reliability of the algorithm, can effectively handle complex nonlinear, multi-constraint optimization problems, and improves welding quality.
Smart Images

Figure CN118780434A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of manufacturing scheduling, and in particular relates to a welding unit optimization scheduling method, medium and equipment based on an improved simulated annealing particle swarm algorithm. Background Art
[0002] In modern manufacturing, welding technology is an indispensable key link in the fields of automobiles, aviation, shipbuilding, etc. Welding cells usually include multiple welding robots and related equipment, which need to work together to complete complex welding tasks. In order to improve production efficiency and reduce production costs, the optimization scheduling of welding cells has become an important issue that needs to be solved urgently.
[0003] The scheduling problem of welding units is a typical combinatorial optimization problem, whose goal is to maximize production efficiency and resource utilization under the premise of satisfying various constraints. This problem usually involves the allocation and scheduling of multiple tasks and resources, and needs to consider multiple factors such as task priority, welding time, energy consumption and human resources. Due to its complexity and multiple constraints, traditional optimization methods (such as linear programming, dynamic programming, etc.) are often inefficient in solving this problem and it is difficult to obtain an ideal scheduling solution. Combining the simulated annealing algorithm with the particle swarm algorithm can make use of the global search ability of the simulated annealing algorithm to make up for the shortcomings of the particle swarm algorithm that is prone to fall into the local optimum, resulting in the influence of search efficiency and effect, thereby improving the global search ability and convergence speed of the algorithm. Therefore, it is necessary to propose a welding unit optimization scheduling method based on simulated annealing improved particle swarm algorithm in view of the limitations of traditional optimization methods. By combining the advantages of the two algorithms, the solution effect and efficiency of the welding unit scheduling problem can be improved, which has important theoretical significance and practical application value. Summary of the invention
[0004] Aiming at the defects that the traditional welding unit optimization scheduling has limited applicability and cannot effectively solve the computational requirements of nonlinear problems and high-dimensional problems, the present invention provides a welding unit optimization scheduling method, medium and equipment based on an improved simulated annealing particle swarm algorithm.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm is characterized by comprising the following steps:
[0007] Construct a problem model for optimal scheduling of welding cells;
[0008] Analyze welding tasks and available resources during the welding process, determine task priorities, and set resource constraints;
[0009] Define the optimization objective function of the problem model;
[0010] The optimal scheduling scheme of the welding unit is designed according to the task priority, resource constraints and optimization objective function, and the optimized decision-making scheme is obtained by performing optimization calculation based on the simulated annealing particle swarm algorithm.
[0011] To optimize the above technical solutions, the specific measures taken also include:
[0012] Furthermore, the welding task includes the type, size, shape and welding time of the welding workpiece, and the resources include a welding robot and welding equipment.
[0013] Furthermore, the optimization objective function is specifically as follows:
[0014] h(X i,j )=ω1·p1+ω2·p2;
[0015] In the formula, h(X i,j ) represents the optimization objective function, X i,j indicates that the i-th task is assigned to the j-th resource; p1 is the production efficiency, expressed as r is the number of completed tasks, m is the number of resources involved in the work, V i The output value brought by completing task i, T i is the completion time of task i; p2 is the resource utilization, expressed as t i,j is the working time assigned to the jth resource for the ith task; ω1 and ω2 are weight coefficients.
[0016] Furthermore, the resource constraints include working time limit and energy consumption limit of the welding robot.
[0017] Furthermore, the welding unit optimization scheduling scheme is designed according to the task priority, resource constraints and optimization objective function, as follows:
[0018] 1) Design particle encoding, where each particle represents a possible task allocation scheme, and the decision of task allocation to resources is represented as a real number code, where the particle position X i,j Represents the task allocation scheme, represented by an r×m matrix, in which each row represents a task, each column represents a resource, and the matrix element represents the assignment of the i-th task to the j-th resource;
[0019] 2) Use chaotic mapping to initialize the population and use Circle mapping for chaotic search:
[0020]
[0021] Among them, x n is the particle position Xi,j The value at the nth iteration, x n ∈[0, 1]; mod(a, b) means the modulus operation of a on b;
[0022] 3) Initialize the population introduced into the Circle map:
[0023]
[0024] After the chaotic sequence is generated, the characteristics of each chaotic variable are optimized and converted into the feasible space of the original optimization variable C, where C n is the original optimization variable C and the chaotic variable x n The corresponding value of and C are the upper and lower bounds of the feasible space of the original optimization variable C, x n It is the chaotic sequence value generated by the Circle mapping on the corresponding particle dimension;
[0025] 4) Add the penalty function to the optimization objective function for update, and adjust the position X of each particle according to the updated function. i,j Evaluate and calculate its fitness H(X i,j );
[0026] 5) According to the calculated individual fitness of each particle, update the individual optimal fitness and the global optimal fitness.
[0027] Furthermore, the penalty function is added to the optimization objective function for updating, and the updated function is:
[0028]
[0029] Where, ΔC e is the degree of destruction of constraint e, expressed as k is the number of iterations, e is the energy consumption constraint violation number, C k,e is the decision variable value corresponding to constraint e at the kth iteration; C k,e C k,e The upper and lower bounds of g are as follows; g is the number of constraint violations; E e is the damage penalty coefficient of constraint e.
[0030] Furthermore, the updating of individual optimal fitness and global optimal fitness is specifically as follows:
[0031] When updating the individual optimal fitness, compare the fitness of each particle with the individual historical optimal fitness. If the particle fitness is greater than the individual historical optimal fitness, the particle fitness is selected as the individual historical optimal fitness. Otherwise, the individual historical optimal fitness remains unchanged.
[0032] When updating the global optimal fitness, the individual optimal fitness of all particles is considered, and the maximum value of the individual optimal fitness of each particle is compared with the global optimal fitness. If the individual optimal fitness is greater than the global optimal fitness, the individual optimal fitness is selected to replace the global optimal fitness. Otherwise, the global optimal fitness remains unchanged.
[0033] Furthermore, the optimization calculation based on simulated annealing particle swarm algorithm is specifically as follows:
[0034] 1) The initial temperature T0 of the simulated annealing algorithm is calculated according to the global optimal fitness, and the calculation formula is:
[0035]
[0036] Among them, GB is the global optimal position, f(GB) is the global optimal fitness of the simulated annealing algorithm;
[0037] 2) Calculate the fitness of the simulated annealing algorithm for the optimal position of each individual at the current temperature T. The formula is:
[0038]
[0039] in, represents the historical optimal position of particle i at the kth iteration, is the fitness corresponding to the historical optimal position of particle i at the kth iteration, and r represents the number of tasks;
[0040] 3) Using the roulette wheel selection algorithm, according to the fitness of the simulated annealing algorithm Calculate the cumulative probability, if , then from the individual historical optimal position Select one from the above to replace the global optimal position GB and record it as Among them, rand() is a random number between 0 and 1;
[0041] 4) Replace the original global optimal position GB with Update the position and velocity of each particle, and update the optimal position of individuals and populations. The formula is as follows:
[0042]
[0043]
[0044] in, is the velocity of particle i at the k+1th iteration; ω is the inertia factor at the kth iteration; c1 is the local learning factor; c2 is the global learning factor; r1 and r2 are two independent random numbers in the range [0, 1]; is the position of particle i at the k+1th iteration; It is represented as the historical optimal position of task i assigned to resources at the kth iteration;
[0045] 5) Perform annealing operation, the formula is as follows:
[0046] T′=δT:
[0047] Where, δ is the annealing rate; T is the current temperature; T′ is the temperature after annealing;
[0048] 6) Determine whether the stopping criteria are met. If the stopping criteria are met, go to step 7); otherwise, go to step 2);
[0049] 7) Stop searching and output the optimal task allocation scheme for the welding unit. The two-dimensional matrix of the global optimal individuals is the optimal task allocation scheme for the welding unit.
[0050] Accordingly, the present invention proposes a computer-readable storage medium storing a computer program, characterized in that the computer program enables a computer to execute the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm as described above.
[0051] Accordingly, the present invention proposes an electronic device, characterized in that it includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm as described above is implemented.
[0052] The beneficial effects of the present invention are:
[0053] (1) The present invention combines the fast convergence characteristics of the particle swarm algorithm and the global search capability of the simulated annealing algorithm to effectively avoid falling into the local optimal solution, improve the search probability of the global optimal solution, and increase the robustness and reliability of the algorithm while maintaining a high optimization efficiency, thereby improving the overall optimization performance. This optimization scheduling can not only improve efficiency, but also improve welding quality. By reasonably arranging the welding sequence and time, welding deformation and residual stress can be reduced, and the quality of the final product can be improved.
[0054] (2) The present invention adapts to the actual situation in welding unit scheduling. By introducing a penalty function, it can effectively handle complex nonlinear, multi-constraint optimization problems, ensure the feasibility and optimization effect of the solution, and meet the multi-constraint, multi-objective and dynamically changing task requirements, thus solving the problem that traditional welding unit scheduling methods are difficult to handle complex task scheduling problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1It is a flow chart of the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm in the present invention.
[0056] Figure 2 It is a flow chart of designing a welding unit scheduling plan in the present invention and obtaining an optimized decision plan based on improved simulated annealing particle swarm algorithm calculation. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0058] In one embodiment, if Figure 1 As shown, the present invention proposes a welding unit optimization scheduling method based on an improved simulated annealing particle swarm algorithm, which specifically includes the following steps.
[0059] S1: Construct a problem model of the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm. The welding task includes information such as the type, size, shape, and welding time of the welding workpiece. The resources include the welding robots, welding equipment, and workers involved in the work.
[0060] S2: Analyze welding tasks and available resources during the welding process and prioritize tasks.
[0061] S3: In order to effectively improve the production efficiency of the welding unit, reduce energy consumption, and reduce production costs, in this embodiment, the resource constraints are set as the working time limit t and energy consumption limit e of the welding robot; it should be noted that in some other embodiments, the required resource constraints can be selected according to the specific situation, and the welding tasks and resources can also be set according to the actual situation.
[0062] S4: In this embodiment, the optimization objective function is defined with the goal of improving production efficiency and resource utilization as follows:
[0063] h(X i,j )=ω1·p1+ω2·p2;
[0064] Among them, X i,j indicates that the i-th task is assigned to the j-th welding robot; p1 is the production efficiency, expressed as r is the number of completed tasks, m is the number of resources involved in the work, V i The output value brought by completing task i, T i is the completion time of task i; p2 is the resource utilization, expressed as t i,j Assign the working time of the jth resource to the i-th task; optimize the objective function h(X i,j) is the weighted combination of maximizing production efficiency p1 and resource utilization p2; ω1 and ω2 are weight coefficients.
[0065] S5: Design a welding unit scheduling plan based on task priorities, resource constraints and optimization objective functions, and obtain the optimal decision plan based on the improved simulated annealing particle swarm algorithm.
[0066] like Figure 2 As shown in Figure 2, the improved simulated annealing particle swarm algorithm specifically includes the following steps:
[0067] S5.1: Design particle encoding, where each particle represents a welding task allocation scheme, and the decision of allocating tasks to resources is represented as a real number code. i,j The task allocation scheme is represented by an r×m matrix, in which each row represents a task, each column represents a resource, and the matrix element represents that the i-th task is assigned to the j-th resource; in this embodiment, the matrix element represents that the i-th task is assigned to the j-th welding robot.
[0068] S5.2: Before obtaining the welding unit optimization scheduling decision, the population is initialized by chaos. In this embodiment, the population is initialized by chaos mapping to improve the diversity and coverage of the initial population, and the chaos search is performed by using Circle mapping:
[0069]
[0070] Among them, x n is the particle position X i,j The value at the nth iteration represents the number of the nth chaotic sequence, x n ∈[0, 1]; mod(a, b) represents the modulo operation of a on b.
[0071] S5.3: The population initialization operation of the Circle map includes the initialization of the position:
[0072]
[0073] After the chaotic sequence is generated, the characteristics of each chaotic variable should be optimized and then converted into the feasible space of the original optimization variable C, where C n is the original optimization variable C and the chaotic variable x n The corresponding value of ; and C are the upper and lower bounds of the feasible space of the original optimization variable C; x n It is the chaotic sequence value generated by the Circle mapping on the dimension of the welding unit scheduling task.
[0074] S5.4: Evaluate the fitness, i.e., the production efficiency and resource utilization function when allocating the welding task scheduling plan to a specific location. Add a penalty function to update the objective function. i,j Evaluate and calculate its fitness value H(X i,j ), which is the value of the objective function:
[0075]
[0076] Where, ΔC e is the degree of destruction of constraint e, expressed as k is the number of iterations, e is the energy consumption constraint violation number; C k,e is the decision variable value corresponding to constraint e at the kth iteration; C k,e C k,e The upper and lower bounds of g are as follows; g is the number of constraint violations; E e is the damage penalty coefficient of constraint e.
[0077] S5.5: Update the individual optimal solution and the global optimal solution of the welding unit scheduling plan.
[0078] When updating the position of the welding unit scheduling plan, each plan needs to calculate its individual fitness and compare the fitness of each plan with its own historical optimal fitness. If the fitness of the plan is greater than its own historical optimal fitness, the fitness of the plan is selected as the historical optimal fitness. Otherwise, the historical optimal fitness of the plan remains unchanged. When updating the global optimal solution of the welding unit scheduling plan, the optimal solution among all plans needs to be considered, and the plan with the largest fitness value among the individual optimal plans is compared with the fitness of the global optimal plan. If the fitness value of the individual optimal plan is greater than the fitness value of the global optimal plan, the optimal fitness of the individual plan is selected instead of the optimal fitness of the global plan. Otherwise, the fitness of the global optimal plan remains unchanged.
[0079] S5.6: The initial temperature T0 of the simulated annealing algorithm is calculated based on the global optimal fitness of the welding unit scheduling scheme. The calculation formula is:
[0080]
[0081] Among them, GB is the global optimal position of the welding unit scheduling scheme, and f(GB) is the global optimal fitness of the scheme.
[0082] S5.7: Calculate the fitness of the simulated annealing algorithm for the individual optimal position of each welding unit scheduling scheme at the current temperature T. The formula is:
[0083]
[0084] in, represents the historical optimal position of particle i at the kth iteration, is the fitness corresponding to the historical optimal position of particle i at the kth iteration.
[0085] S5.8: Using the roulette wheel selection algorithm, according to the fitness of the simulated annealing algorithm Calculate the cumulative probability, if , then from the individual historical optimal position Select one to replace the global optimal position GB and record it as Among them, rand() is a random number between 0 and 1.
[0086] S5.9: Replace the original global optimal position GB with Update the position and velocity of each particle, and update the optimal position of individuals and populations. The formula is as follows:
[0087]
[0088]
[0089] in, is the velocity of particle i at the k+1th iteration; ω is the inertia factor at the kth iteration; c1 is the local learning factor; c2 is the global learning factor; r1 and r2 are two independent random numbers in the range [0, 1]; is the position of particle i at the k+1th iteration; It is represented as the historical optimal position of task i assigned to the resource at the kth iteration.
[0090] S5.10: Perform annealing operation, the formula is as follows:
[0091] T′=δT:
[0092] Where δ is the annealing rate; T is the current temperature; and T′ is the temperature after annealing.
[0093] S5.11: Determine whether the stopping criterion is met. If so, go to S5.12; otherwise, go to S5.7. The stopping criterion uses continuous iteration to reach the maximum evolutionary generation.
[0094] S5.12: Stop searching and output the optimal task allocation scheme sequence for the welding unit; the two-dimensional matrix of the global optimal individuals is the optimal task allocation scheme sequence for the welding unit.
[0095] The welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm proposed in this embodiment, combined with the global search capability of the simulated annealing algorithm, effectively avoids falling into the local optimal solution and improves the search probability of the global optimal solution; the simulated annealing mechanism and the particle swarm algorithm are combined to improve the robustness of the algorithm, which can handle complex nonlinear and multi-constrained optimization problems and adapt to the actual situation in the welding unit scheduling; by introducing the penalty function, various constraints are effectively handled to ensure the feasibility of the solution and the optimization effect.
[0096] In another embodiment, the present invention proposes a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm as described in the first embodiment.
[0097] In another embodiment, the present invention proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm as described in Example 1 is implemented.
[0098] In the embodiments disclosed in the present application, the computer storage medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. The computer storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of computer storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0099] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0100] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm is characterized by: The steps include: Construct a problem model for optimal scheduling of welding cells; Analyze welding tasks and available resources during the welding process, determine task priorities, and set resource constraints; Define the optimization objective function of the problem model; The optimal scheduling scheme of the welding unit is designed according to the task priority, resource constraints and optimization objective function, and the optimized decision-making scheme is obtained by performing optimization calculation based on the simulated annealing particle swarm algorithm.
2. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 1 is characterized in that: The welding task includes the type, size, shape and welding time of the welding workpiece, and the resources include welding robots and welding equipment.
3. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 1, characterized in that: The optimization objective function is as follows: h(X i,j )=ω1·p1+ω2·p2; In the formula, h(X i,j ) represents the optimization objective function, X i,j indicates that the i-th task is assigned to the j-th resource; p1 is the production efficiency, expressed as r is the number of completed tasks, m is the number of resources involved in the work, V i The output value brought by completing task i, T i is the completion time of task i; p2 is the resource utilization, expressed as t i,j is the working time assigned to the jth resource for the ith task; ω1 and ω2 are weight coefficients.
4. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 1, characterized in that: The resource constraints include the working time limit and energy consumption limit of the welding robot.
5. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 1, characterized in that: The welding unit optimization scheduling scheme is designed according to the task priority, resource constraints and optimization objective function, as follows: 1) Design particle encoding, where each particle represents a possible task allocation scheme, and the decision of task allocation to resources is represented as a real number code, where the particle position X i,j Represents the task allocation scheme, represented by an r×m matrix, in which each row represents a task, each column represents a resource, and the matrix element represents the assignment of the i-th task to the j-th resource; 2) Use chaotic mapping to initialize the population and use Circle mapping for chaotic search: Among them, x n is the particle position X i,j The value at the nth iteration, x n ∈[0, 1]; mod(a, b) means the modulus operation of a on b; 3) Initialize the population introduced into the Circle map: After the chaotic sequence is generated, the characteristics of each chaotic variable are optimized and converted into the feasible space of the original optimization variable C, where C n is the original optimization variable C and the chaotic variable x n The corresponding value of and C are the upper and lower bounds of the feasible space of the original optimization variable C, x n It is the chaotic sequence value generated by the Circle mapping on the corresponding particle dimension; 4) Add the penalty function to the optimization objective function for update, and adjust the position X of each particle according to the updated function. i,j Evaluate and calculate its fitness H(X i,j ); 5) According to the calculated individual fitness of each particle, update the individual optimal fitness and the global optimal fitness.
6. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 5, characterized in that: The penalty function is added to the optimization objective function for updating, and the updated function is: Where, ΔC e is the degree of destruction of constraint e, expressed as k is the number of iterations, e is the energy consumption constraint violation number, C k,e is the decision variable value corresponding to constraint e at the kth iteration; C k,e C k,e The upper and lower bounds of g are as follows; g is the number of constraint violations; E e is the damage penalty coefficient of constraint e.
7. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 5, characterized in that: The updating of individual optimal fitness and global optimal fitness is specifically as follows: When updating the individual optimal fitness, compare the fitness of each particle with the individual historical optimal fitness. If the particle fitness is greater than the individual historical optimal fitness, the particle fitness is selected as the individual historical optimal fitness. Otherwise, the individual historical optimal fitness remains unchanged. When updating the global optimal fitness, the individual optimal fitness of all particles is considered, and the maximum value of the individual optimal fitness of each particle is compared with the global optimal fitness. If the individual optimal fitness is greater than the global optimal fitness, the individual optimal fitness is selected to replace the global optimal fitness. Otherwise, the global optimal fitness remains unchanged.
8. The welding unit optimization scheduling method based on improved simulated annealing particle swarm algorithm according to claim 5, characterized in that: The optimization calculation based on simulated annealing particle swarm algorithm is specifically as follows: 1) The initial temperature T0 of the simulated annealing algorithm is calculated according to the global optimal fitness, and the calculation formula is: Among them, GB is the global optimal position, f(GB) is the global optimal fitness of the simulated annealing algorithm; 2) Calculate the fitness of the simulated annealing algorithm for the optimal position of each individual at the current temperature T. The formula is: in, represents the historical optimal position of particle i at the kth iteration, is the fitness corresponding to the historical optimal position of particle i at the kth iteration, and r represents the number of tasks; 3) Using the roulette wheel selection algorithm, according to the fitness of the simulated annealing algorithm Calculate the cumulative probability, if , then from the individual historical optimal position Select one to replace the global optimal position GB and record it as Among them, rand() is a random number between 0 and 1; 4) Replace the original global optimal position GB with Update the position and velocity of each particle, and update the optimal position of individuals and populations. The formula is as follows: in, is the velocity of particle i at the k+1th iteration; ω is the inertia factor at the kth iteration; c1 is the local learning factor; c2 is the global learning factor; r1 and r2 are two independent random numbers in the range [0, 1]; is the position of particle i at the k+1th iteration; It is represented as the historical optimal position of task i assigned to resource j at the kth iteration; 5) Perform annealing operation, the formula is as follows: T′=δT: Where, δ is the annealing rate; T is the current temperature; T is the temperature after annealing; 6) Determine whether the stopping criteria are met. If so, go to step 7); otherwise, go to step 2); 7) Stop searching and output the optimal task allocation scheme for the welding unit. The two-dimensional matrix of the global optimal individuals is the optimal task allocation scheme for the welding unit.
9. A computer-readable storage medium storing a computer program, characterized in that: The computer program enables the computer to execute the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm as described in any one of claims 1 to 8.
10. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the welding unit optimization scheduling method based on the improved simulated annealing particle swarm algorithm as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Hydropower station group optimized dispatching method based on improved quantum-behaved particle swarm algorithm
CN103971174A
AGV optimization scheduling method based on simulated annealing particle swarm
CN104331749A
Hybrid self-adaptive hydropower station group intelligent optimization scheduling method and system
CN110363343A
Task allocation method and device
CN117455193A
Cited By
Multi-AGV optimal energy saving control scheduling method and system and storage medium
CN119026781A
Welding control method for carbon dioxide steel cylinder
CN119049146A
Multitask scheduling optimization method and device based on explicit penalty
CN119204344A
A multi-task scheduling optimization method and device based on explicit penalty
CN119204344B
Resource configuration method and device for network function virtualization environment, equipment and storage medium
CN119496715A
