Cross-domain collaborative workshop migration scheduling optimization method, device and storable medium

By obtaining scheduling information from the historical database and using the migration optimization method to generate new solution sets, the problem of slow learning speed and high cost of reinforcement learning algorithms in the existing technology is solved, and the efficiency and convergence speed of distributed workshop scheduling are improved.

CN114936756BActive Publication Date: 2024-09-13BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210463871.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-09-13
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

The existing cross-domain collaborative distributed workshop scheduling method uses reinforcement learning algorithms, but the learning speed is slow and the cost is high, making it difficult to effectively solve the problem of solving speed under the dynamic response mechanism.

Method used

By obtaining scheduling information from the historical workshop task database, performing population initialization and similarity judgment, selecting appropriate migration optimization methods to generate new solution sets, using historical experience to accelerate the scheduling process and reduce repeated searches.

Benefits of technology

It improves the scheduling efficiency, shortens the iterative search process of the scheduling algorithm, achieves faster convergence speed, and reduces the learning cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114936756B
    Figure CN114936756B
Patent Text Reader

Abstract

The present invention discloses a method, device and storable medium for cross-domain collaborative workshop migration scheduling optimization, and relates to the technical field of workshop task scheduling, wherein the method comprises the following steps: obtaining historical scheduling problem information from a historical workshop task database, and initializing a population; judging whether it is necessary to call a migration optimization method; if it is not necessary to call the migration optimization method, selecting a population with higher fitness to update the entire population; judging whether a stop condition is met, and if not, continuing the iterative cycle, and if so, outputting a final scheduling plan; the present invention accelerates the current optimization scheduling process and improves scheduling efficiency by obtaining information in historical scheduling problem information that is helpful for solving the current target optimization scheduling problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of workshop task scheduling, and more specifically to a method, device and storable medium for cross-domain collaborative workshop migration scheduling optimization. Background Art

[0002] At present, workshop scheduling is an important part of production management and control. The task of scheduling is to determine the specific processing route, time, machine and operation for each processing object according to production goals and constraints. Excellent scheduling strategy plays a great role in improving the optimality of production system and improving economic benefits.

[0003] However, the existing methods for cross-domain collaborative distributed workshop scheduling mainly use reinforcement learning algorithms, which have the following disadvantages: (1) The combination of reinforcement learning and task scheduling algorithms has a slow learning speed. Since reinforcement learning does not require prior knowledge and learns from scratch, when encountering new problems, the model needs to be retrained for learning. This makes the learning efficiency low and the learning speed slow. (2) The combination of reinforcement learning and task scheduling algorithms has a high learning cost. In the cross-domain collaborative task scheduling problem, due to the existence of a dynamic response mechanism, there is a problem of slow solution speed.

[0004] Therefore, how to provide a distributed workshop task scheduling optimization method that can solve the above problems is an issue that technical personnel in this field urgently need to solve. Summary of the invention

[0005] In view of this, the present invention provides a method, device and storable medium for cross-domain collaborative workshop migration scheduling optimization, which accelerates the current optimization scheduling process and improves scheduling efficiency by obtaining information from historical scheduling problem information that helps solve the current target optimization scheduling problem.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A distributed workshop task scheduling optimization method comprises the following steps:

[0008] Obtain historical scheduling problem information from the historical workshop task database and initialize the population;

[0009] Determine whether the migration optimization method needs to be called;

[0010] If there is no need to call the migration optimization method, a population with higher fitness is selected to update the entire population;

[0011] Determine whether the stop condition is met. If not, continue the iterative loop. If it is met, output the final scheduling plan.

[0012] Preferably, if the specific process of calling the migration optimization method is required, the specific process includes:

[0013] If the migration optimization method needs to be called, the scheduling information under the current optimization target is obtained;

[0014] Performing similarity judgment on the scheduling information and the historical scheduling problem information;

[0015] Determining a historical source solution set through the similarity;

[0016] A new solution set is generated from the historical source solution set by selecting a migration method.

[0017] Preferably, the specific process of determining the historical source solution set includes:

[0018] The historical scheduling problem information includes the optimization target dimension and sequence number, and the optimization target dimension is used as the first judgment index to obtain a historical scheduling solution set whose difference with the optimization target dimension is less than or equal to 2 from the historical workshop task database;

[0019] Using the target sequence number as a second judgment index, sorting the target sequence numbers, and selecting a historical scheduling solution set with overlapping target sequence numbers from the historical scheduling solution set;

[0020] The dimension of the current target problem is used as the third judgment index, and a historical scheduling solution set with a smaller difference with the dimension of the current target problem is selected from the historical scheduling solution set that has undergone the target sequence number overlap processing as the historical source solution set.

[0021] Preferably, the number of historical source solution sets is not less than three.

[0022] Preferably, the specific process of generating a new solution set from the historical source solution set by selecting a migration method includes:

[0023] Determine the mapping relationship between the historical source solution set and the resource;

[0024] If a mapping relationship is included, the migration method based on historical mapping rules is selected;

[0025] If no mapping relationship is included, determining whether the historical source solution set contains evolution direction information, and if so, selecting a migration method based on the evolution direction;

[0026] If it is still not included, select the migration method based on historical solutions.

[0027] Furthermore, the present invention also provides a device using any of the above-mentioned distributed workshop task scheduling optimization methods, comprising:

[0028] The acquisition module is used to obtain historical scheduling problem information from the historical workshop task database and initialize the population;

[0029] A first judgment module is used to judge whether a migration optimization method needs to be called;

[0030] Update module, if there is no need to call the migration optimization method, select a population with higher fitness to update the entire population;

[0031] The second judgment module is used to judge whether the stop condition is met. If not, the iterative cycle continues; if satisfied, the final scheduling plan is output.

[0032] Furthermore, the present invention also provides a computer-readable storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by a computer, the computer executes the distributed workshop task scheduling optimization method as described in any one of the above items.

[0033] Through the above technical solutions, it can be seen that compared with the prior art, the present invention discloses a method, device and storage medium for cross-domain collaborative workshop migration scheduling optimization, which generates a set of predictive scheduling solutions by accurately storing and reusing structured knowledge obtained from past solutions, thereby accelerating the evolutionary iteration process of the distributed workshop scheduling algorithm and accelerating the convergence speed of the scheduling algorithm. The present invention aims to use historical experience to reduce repeated searches and improve scheduling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0035] Figure 1 An overall flow chart of a distributed workshop task scheduling optimization method provided by the present invention;

[0036] Figure 2 An overall flow chart of the call migration optimization method provided by an embodiment of the present invention;

[0037] Figure 3 An overall flow chart of generating a new solution set from a historical source solution set provided by an embodiment of the present invention;

[0038] Figure 4 A structural principle block diagram of a distributed workshop task scheduling optimization device provided by the present invention. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] See attached Figure 1 As shown, the embodiment of the present invention discloses a distributed workshop task scheduling optimization method, comprising the following steps:

[0041] Obtain historical scheduling problem information from the historical workshop task database and initialize the population;

[0042] Determine whether the migration optimization method needs to be called;

[0043] If there is no need to call the migration optimization method, a population with higher fitness is selected to update the entire population;

[0044] Determine whether the stop condition is met. If not, continue the iteration cycle. If it is met, output the final scheduling plan.

[0045] Among them, the stopping condition is whether the number of iterations of the population meets the maximum number of iterations.

[0046] In a specific embodiment, if the migration optimization method needs to be called, the specific process includes:

[0047] If the migration optimization method needs to be called, the scheduling information under the current optimization target is obtained;

[0048] Make similarity judgment between scheduling information and historical scheduling problem information;

[0049] Determine the historical source solution set by similarity;

[0050] Generate a new solution set from the historical source solution set by selecting a migration method.

[0051] See attached Figure 2 As shown, in a specific embodiment, the specific process of determining the historical source solution set includes:

[0052] The historical scheduling problem information includes the optimization target dimension and sequence number. The optimization target dimension is used as the first judgment indicator, and the historical scheduling solution set with a difference of less than or equal to 2 from the optimization target dimension is obtained from the historical workshop task database;

[0053] Using the target sequence number as the second judgment index, sorting the target sequence numbers, and selecting the historical scheduling solution set with overlapping target sequence numbers from the historical scheduling solution set;

[0054] Taking the dimension of the current target problem as the third judgment indicator, the historical scheduling solution set with a smaller dimension gap with the current target problem is selected from the historical scheduling solution set that has been processed with overlapping target numbers as the historical source solution set.

[0055] In a specific embodiment, the number of historical source solution sets is not less than three.

[0056] See attached Figure 3 As shown, in a specific embodiment, the specific process of generating a new solution set from a historical source solution set by selecting a migration method includes:

[0057] Determine the mapping relationship between historical source solution sets and resources;

[0058] If a mapping relationship is included, the migration method based on historical mapping rules is selected;

[0059] If there is no mapping relationship, it is determined whether the historical source solution set contains evolutionary direction information. If so, a migration method based on evolutionary direction is selected.

[0060] If it is still not included, select the migration method based on historical solutions.

[0061] Specifically, the specific principles of the above migration method are:

[0062] ① Migration method based on historical solution:

[0063] After obtaining the historical source solution set and the target solution set, the migration coefficient is assigned to the source solution set according to the similarity between the source solution set and the target solution set to generate a new source solution set. If the individual dimension of the source solution set is inconsistent with the individual dimension in the current problem, the method of reducing or adding coding bits is adopted. That is, when the individual dimension of the source solution set is greater than the current individual dimension, the redundant coding bits are removed; when the individual dimension of the source solution set is less than the current individual dimension, the missing coding bits are filled by random sorting. In the case where the number of individuals in the solution set is less than the current population size, a certain number of offspring individuals are generated by crossover mutation using the individuals in the selected historical solution set to form a new population together.

[0064] ②Migration method based on historical mapping rules:

[0065] After obtaining the historical source solution set, obtain the correspondence between tasks and resources in the historical scheduling solution set; use this correspondence to re-decode the individuals in the current population, that is, map them to new scheduling plans and then evaluate the plans; finally, perform subsequent evolutionary search processes based on the evaluation results. It should be noted that when using this type of migration method, tasks and resources must be sorted first so that the sequence numbers of tasks or resources can represent similar priority relationships in similar problems, so that the historical correspondence between tasks with the same sequence number and resources can be used as a reference. After the current problem is solved, update the historical database to reduce the number of rules that are called less frequently in the database.

[0066] ③Migration method based on historical evolution direction:

[0067] After obtaining the historical source solution set, a certain number of excellent individuals are selected as parent individuals in the current historical source solution set, and the historical evolutionary direction information stored in the historical database is applied to the selected parent individuals to generate a new population. The new population is evaluated using the scheduling scheme evaluation method and the frontier solution set is updated. If the number of updates to the frontier solution set meets the requirements, the iteration output scheduling scheme is stopped. In this method, the evolutionary direction sequence that contributes more to the optimization of the objective function value is stored and recorded during the iterative search process. After the current problem is solved, the recorded evolutionary direction sequence is stored in the historical evolutionary direction library, and the historical scheduling solution set is updated to maintain its solution advantage.

[0068] See attached Figure 4 As shown, an embodiment of the present invention further provides a device for utilizing any of the above embodiments of the distributed workshop task scheduling optimization method, including:

[0069] The acquisition module is used to obtain historical scheduling problem information from the historical workshop task database and initialize the population;

[0070] A first judgment module is used to judge whether a migration optimization method needs to be called;

[0071] Update module, if there is no need to call the migration optimization method, select a population with higher fitness to update the entire population;

[0072] The second judgment module is used to judge whether the stop condition is met. If not, the iterative cycle continues; if satisfied, the final scheduling plan is output.

[0073] An embodiment of the present invention further provides a computer-readable storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by a computer, the computer executes the distributed workshop task scheduling optimization method as described in any one of the above embodiments.

[0074] Specific Applications The specific implementation process of the method provided by the embodiment of the present invention is as follows: In the distributed workshop production scheduling in the industrial scenario, there are N workpieces that need to be processed by M machines, and each workpiece has n i The raw material transportation time for each workpiece is T i , the processing time of the ith process of the ith workpiece is, and the completion time of the ith workpiece is C i , the optimization goal is F = min(max(C i )), i = 1, 2, ..., n, which means minimizing the maximum completion time. In the actual production process, there are some similar production processes, such as two production processes with the same number of optimization targets, the same number of workpieces to be processed or the same number of processing machines. The scheduling solutions of these production processes can help solve scheduling problems similar to these. By using the above migration method, a new set of scheduling solutions can be obtained to solve the current production optimization problem and achieve fast scheduling, thereby reducing the evolutionary iterative search process of traditional evolutionary algorithms to solve scheduling problems and achieve fast scheduling.

[0075] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0076] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A distributed workshop task scheduling optimization method, characterized in that: The following steps are involved: Obtain historical scheduling problem information from the historical workshop task database and initialize the population; Determine whether to call the migration optimization method. If so, the specific process includes: If the migration optimization method needs to be called, the scheduling information under the current optimization target is obtained; Performing similarity judgment on the scheduling information and the historical scheduling problem information; The historical source solution set is determined by the similarity, and the specific process of determining the historical source solution set includes: The historical scheduling problem information includes the optimization target dimension and sequence number, and the optimization target dimension is used as the first judgment index to obtain a historical scheduling solution set whose difference with the optimization target dimension is less than or equal to 2 from the historical workshop task database; Using the target sequence number as the second judgment index, the target sequence numbers are sorted, and the historical scheduling solution sets with overlapping target sequence numbers are selected from the historical scheduling solution sets; Taking the dimension of the current target problem as the third judgment index, selecting a historical scheduling solution set having a smaller dimension difference with the current target problem from the historical scheduling solution set after the target sequence number overlap processing as the historical source solution set; A new solution set is generated from the historical source solution set by selecting a migration method, and the specific process includes: Determine the mapping relationship between the historical source solution set and the resource; If a mapping relationship is included, the migration method based on historical mapping rules is selected; If no mapping relationship is included, determining whether the historical source solution set contains evolution direction information, and if so, selecting a migration method based on the evolution direction; If it is still not included, select the migration method based on historical solutions; If there is no need to call the migration optimization method, a population with higher fitness is selected to update the entire population; Determine whether the stop condition is met. If not, continue the iterative loop. If it is met, output the final scheduling plan.

2. A distributed workshop task scheduling optimization method according to claim 1, characterized in that: The number of the historical source solution sets is not less than three.

3. A device using the distributed workshop task scheduling optimization method according to any one of claims 1-2, characterized in that: include: The acquisition module is used to obtain historical scheduling problem information from the historical workshop task database and initialize the population; A first judgment module is used to judge whether a migration optimization method needs to be called; Update module, if there is no need to call the migration optimization method, select a population with higher fitness to update the entire population; The second judgment module is used to judge whether the stop condition is met. If not, the iterative cycle continues; if satisfied, the final scheduling plan is output.

4. A computer-readable storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by a computer, the computer executes the distributed workshop task scheduling optimization method according to any one of claims 1 to 2.