Wild Horse Method and Device for Multi-Objective Optimization of Parameters
Through the multi-objective wild horse optimization method, population evolution is used to optimize engineering project parameters, which solves the problems of cumbersome parameter setting and low optimization efficiency in the existing technology, and achieves more efficient and accurate parameter optimization.
Patent Information
- Application Number
- CN202310421361.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-04-19
AI Technical Summary
In the existing technology, engineering project parameter setting is cumbersome, labor costs are high and it is easy to fail to obtain optimal parameter settings due to human errors, and it is difficult to effectively optimize multiple performance indicators.
The multi-objective wild horse optimization method is used to simulate population evolution and use the dimensional information of population individuals to optimize parameters, generate an initial population and obtain a better parameter combination through the evolution process, avoiding local optimal situations and improving optimization accuracy.
It improves the efficiency and accuracy of parameter optimization, effectively avoids local optimal situations, achieves global optimization effects, and reduces manual intervention and costs.
Smart Images

Figure CN116702343B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a multi-objective wild horse optimization method and device for parameters. Background Art
[0002] In the field of computer technology, engineering projects usually proceed normally only after the parameters are set, and there is not necessarily a performance indicator to measure the quality of the parameters of the engineering project.
[0003] At present, the parameter settings of engineering projects are all set by relevant technical personnel based on their own experience, and various performance indicators are calculated manually to determine whether the set parameters are appropriate, or to conduct experiments by setting parameters multiple times to determine whether the set parameters can better meet multiple performance indicators.
[0004] This method is cumbersome, has high labor costs, and is prone to human errors that may result in failure to obtain optimal parameter settings. Summary of the invention
[0005] The present invention provides a multi-objective wild horse optimization method and device for parameters, which can improve the efficiency and accuracy of parameter optimization. The technical solution is as follows:
[0006] In one aspect, a multi-objective wild horse optimization method for parameters is provided, the method comprising:
[0007] Obtain the parameters to be optimized for the target engineering project;
[0008] According to the parameter to be optimized, an initial population is generated, wherein a dimension information of a population individual in the initial population is used to indicate a parameter to be optimized;
[0009] Based on the fitness of the population individuals in the initial population as the parameters of the target engineering project, controlling the initial population to evolve to obtain a new population;
[0010] Based on the dimension information of the population individuals in the new population, a new population individual is obtained, wherein the dimension information of the new population individual includes the dimension information of a plurality of population individuals in the new population;
[0011] Based on the new population individuals and the new population, the new population evolution is continuously controlled and new population individuals are acquired until a target population is obtained when target conditions are met, and the population individuals in the target population are output as target parameters of the target engineering project.
[0012] In some embodiments, the step of obtaining the parameters to be optimized for the target engineering project includes any of the following:
[0013] In response to the target engineering project being a four-bar truss project, obtaining a displacement node of the four-bar truss and a size of the four-bar truss;
[0014] In response to the target engineering project being a vehicle side collision project, obtaining a B-pillar inner layer width, a B-pillar reinforcement width, an inner floor side width, a cross member width, a door beam width, a door extension width, and a wide top rail;
[0015] In response to the target engineering project being a pressure vessel project, obtaining a shell width, a head width, a head radius, and a cylinder length of the pressure vessel;
[0016] In response to the target engineering project being a coil compression spring project, obtaining the number of spirals of the spring, the outer diameter of the spring, and the diameter of the spring steel wire;
[0017] In response to the target engineering project being a gear design project, obtaining the number of teeth of a driving gear, the number of teeth of a driven gear, the number of teeth of a gear connected to the driven gear, and the number of teeth of a following gear;
[0018] In response to the target engineering project being a reducer project, obtaining the face width, the number of teeth, the number of internal teeth of the gear, the first shaft length and diameter between the bearings, and the second shaft length and diameter between the bearings of the reducer;
[0019] In response to the target engineering project being a model training project, obtaining a plurality of weights of the model;
[0020] In response to the target engineering project being a robot path planning project, a plurality of path nodes of the robot are acquired.
[0021] In some embodiments, the acquiring of new population individuals based on the dimension information of the population individuals in the new population includes at least one of the following:
[0022] Fusion of dimensional information of multiple non-inferior solution population individuals in the new population to obtain new population individuals;
[0023] Perform linear combination on any three dominant solution population individuals in the new population to obtain a new population individual.
[0024] In some embodiments, fusing the dimension information of multiple non-inferior solution population individuals in the new population to obtain a new population individual includes any of the following:
[0025] Replacing the dimension information of any non-inferior solution population individual in the new population with the dimension information of other non-inferior solution population individuals in the new population;
[0026] The dimension information of multiple non-inferior solution population individuals in the new population is extracted to generate a new population individual, wherein the dimension information of the new population individual is composed of the dimension information of the multiple non-inferior solution population individuals.
[0027] In some embodiments, controlling the initial population to evolve based on the fitness of the population individuals in the initial population as parameters of the target engineering project to obtain a new population includes:
[0028] Performing non-dominated sorting on the population individuals in the initial population to obtain a first sorting result, wherein the first sorting result is used to indicate the fitness of the population individuals in the initial population as parameters of the target engineering project;
[0029] Based on the first sorting result, the initial population is controlled to evolve to obtain a new population.
[0030] In some embodiments, controlling the initial population to evolve based on the first sorting result includes:
[0031] Based on the first sorting result, determining a target population individual in the initial population;
[0032] The initial population is controlled to evolve around the target population individuals.
[0033] In some embodiments, determining the target population individuals in the initial population based on the first sorting result includes any of the following:
[0034] Determine the target number of population individuals that are ranked highest in the first sorting result as target population individuals;
[0035] According to the first sorting result, the level of the population individuals in the initial population is determined, and according to the number of target population individuals and the level of the population individuals, the target population individuals are determined, and the level of the target population individuals is not lower than that of the first population individuals. The first population individuals are the population individuals in the initial population except the target population individuals.
[0036] In some embodiments, based on the new population individuals and the new population, continuing to control the evolution of the new population and acquiring new population individuals includes:
[0037] Performing non-dominated sorting on the new population individuals and the population individuals in the new population to obtain a second sorting result;
[0038] The target number of population individuals at the front of the second sorting result are used as the updated population individuals of the new population;
[0039] Based on the updated population individuals of the new population, the new population evolution is continuously controlled and new population individuals are acquired.
[0040] On the one hand, a multi-objective wild horse optimization device for parameters is provided, the device comprising:
[0041] An acquisition module is used to obtain the parameters to be optimized of the target engineering project;
[0042] A generating module, used for generating an initial population according to the parameter to be optimized, wherein a dimension information of a population individual in the initial population is used for indicating a parameter to be optimized;
[0043] A control module, used for controlling the initial population to evolve based on the fitness of the population individuals in the initial population as the parameters of the target engineering project to obtain a new population;
[0044] The acquisition module is used to acquire new population individuals based on the dimension information of the population individuals in the new population, wherein the dimension information of the new population individuals includes the dimension information of multiple population individuals in the new population;
[0045] The control module and the acquisition module are used to continue controlling the evolution of the new population and acquiring new population individuals based on the new population individuals and the new population, until a target population is obtained when the target conditions are met, and output the population individuals in the target population as the target parameters of the target engineering project.
[0046] In some embodiments, the acquisition module is used to perform any of the following:
[0047] In response to the target engineering project being a four-bar truss project, obtaining a displacement node of the four-bar truss and a size of the four-bar truss;
[0048] In response to the target engineering project being a vehicle side collision project, obtaining a B-pillar inner layer width, a B-pillar reinforcement width, an inner floor side width, a cross member width, a door beam width, a door extension width, and a wide top rail;
[0049] In response to the target engineering project being a pressure vessel project, obtaining a shell width, a head width, a head radius, and a cylinder length of the pressure vessel;
[0050] In response to the target engineering project being a coil compression spring project, obtaining the number of spirals of the spring, the outer diameter of the spring, and the diameter of the spring steel wire;
[0051] In response to the target engineering project being a gear design project, obtaining the number of teeth of a driving gear, the number of teeth of a driven gear, the number of teeth of a gear connected to the driven gear, and the number of teeth of a following gear;
[0052] In response to the target engineering project being a reducer project, obtaining the face width, the number of teeth, the number of internal teeth of the gear, the first shaft length and diameter between the bearings, and the second shaft length and diameter between the bearings of the reducer;
[0053] In response to the target engineering project being a model training project, obtaining a plurality of weights of the model;
[0054] In response to the target engineering project being a robot path planning project, a plurality of path nodes of the robot are acquired.
[0055] In some embodiments, the acquisition module is used to perform at least one of the following:
[0056] Fusion of dimensional information of multiple non-inferior solution population individuals in the new population to obtain new population individuals;
[0057] Perform linear combination on any three dominant solution population individuals in the new population to obtain a new population individual.
[0058] In some embodiments, the acquisition module is used to perform any of the following:
[0059] Replacing the dimension information of any non-inferior solution population individual in the new population with the dimension information of other non-inferior solution population individuals in the new population;
[0060] The dimension information of multiple non-inferior solution population individuals in the new population is extracted to generate a new population individual, wherein the dimension information of the new population individual is composed of the dimension information of the multiple non-inferior solution population individuals.
[0061] In some embodiments, the control module is used to:
[0062] Performing non-dominated sorting on the population individuals in the initial population to obtain a first sorting result, wherein the first sorting result is used to indicate the fitness of the population individuals in the initial population as parameters of the target engineering project;
[0063] Based on the first sorting result, the initial population is controlled to evolve to obtain a new population.
[0064] In some embodiments, the control module is used to:
[0065] Based on the first sorting result, determining a target population individual in the initial population;
[0066] The initial population is controlled to evolve around the target population individuals.
[0067] In some embodiments, the control module is used to perform any of the following:
[0068] Determine the target number of population individuals that are ranked highest in the first sorting result as target population individuals;
[0069] According to the first sorting result, the level of the population individuals in the initial population is determined, and according to the number of target population individuals and the level of the population individuals, the target population individuals are determined, and the level of the target population individuals is not lower than that of the first population individuals. The first population individuals are the population individuals in the initial population except the target population individuals.
[0070] In some embodiments, the control module and the acquisition module are used to:
[0071] Performing non-dominated sorting on the new population individuals and the population individuals in the new population to obtain a second sorting result;
[0072] The target number of population individuals at the front of the second sorting result are used as the updated population individuals of the new population;
[0073] Based on the updated population individuals of the new population, the new population evolution is continuously controlled and new population individuals are acquired.
[0074] On the one hand, an electronic device is provided, comprising one or more processors and one or more memories, wherein at least one computer program is stored in the one or more memories, and the at least one computer program is loaded and executed by the one or more processors to implement various optional implementations of the multi-objective Mustang optimization method of the above-mentioned parameters.
[0075] On the one hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement various optional implementations of the multi-objective wild horse optimization method of the above parameters.
[0076] In one aspect, a computer program product or a computer program is provided, wherein the computer program product or the computer program comprises one or more program codes, wherein the one or more program codes are stored in a computer-readable storage medium. One or more processors of an electronic device read the one or more program codes from the computer-readable storage medium, and the one or more processors execute the one or more program codes, so that the electronic device performs the multi-objective wild horse optimization method of parameters of any possible implementation mode described above.
[0077] The present invention performs multi-objective optimization on the parameters to be optimized of the engineering project by simulating population evolution, and indicates the parameters with the dimensional information of the population individuals, so as to judge whether the value combination of the parameters is better than multiple target indexes, and determines the better parameters by electronic equipment calculation, which can effectively improve the optimization efficiency and has high accuracy. In addition, in the process, in addition to population evolution, the connection between the dimensional information of the population individuals is also taken into account, so that the population is optimized by obtaining new population individuals, and the connection between the dimensional information of the population individuals is effectively excavated, which can effectively avoid the local optimal situation of the parameters, thereby achieving the effect of global optimization and greatly improving the accuracy of parameter optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0079] Figure 1 is a flow chart of a multi-objective wild horse optimization method for parameters provided by an embodiment of the present invention;
[0080] Figure 2 is a distribution diagram of a population individual provided by an embodiment of the present invention;
[0081] Figure 3 It is a schematic diagram of replacing the dimension value of a non-inferior solution provided by an embodiment of the present invention;
[0082] Figure 4 It is a schematic diagram of information crossover between dimensions of a non-inferior solution provided by an embodiment of the present invention;
[0083] Figure 5 is a schematic diagram of information crossover between dominant solutions provided by an embodiment of the present invention;
[0084] Figure 6 It is an iterative curve diagram of a part of functions of each algorithm on a three-objective problem provided by an embodiment of the present invention;
[0085] Figure 7 It is an iterative curve diagram of a part of functions of each algorithm on a three-objective problem provided by an embodiment of the present invention;
[0086] Figure 8 It is a diagram of the degree of fit between the Pareto front end found by each algorithm and the real Pareto front end provided by an embodiment of the present invention;
[0087] Fig. 9It is a diagram of the degree of fit between the Pareto front end found by each algorithm and the real Pareto front end provided by an embodiment of the present invention;
[0088] Fig.10 It is a diagram of the degree of fit between the Pareto front end found by each algorithm and the real Pareto front end provided by an embodiment of the present invention;
[0089] Fig.11 It is a diagram of the degree of fit between the Pareto front found by each algorithm and the real Pareto front provided by an embodiment of the present invention;
[0090] Fig.12 It is a diagram of the degree of fit between the Pareto front found by each algorithm and the real Pareto front provided by an embodiment of the present invention;
[0091] Fig.13 It is a diagram of the degree of fit between the Pareto front end found by each algorithm and the real Pareto front end provided by an embodiment of the present invention;
[0092] Fig.14 It is a box diagram of each algorithm in a partial test function provided by an embodiment of the present invention;
[0093] Fig.15 It is a box diagram of each algorithm in a partial test function provided by an embodiment of the present invention;
[0094] Fig.16 It is a box diagram of each algorithm in a partial test function provided by an embodiment of the present invention;
[0095] Fig.17 It is a structural schematic diagram of a multi-objective wild horse optimization device for parameters provided by an embodiment of the present invention;
[0096] Fig.18 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0097] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment 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.
[0098] Unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as "one", "one" or "the" do not indicate a quantitative limitation, but indicate the existence of at least one. Words such as "include" or "comprise" mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Words such as "connect" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0099] Figure 1 is a flow chart of a multi-objective wild horse optimization method for parameters provided by an embodiment of the present invention. The method is applied to an electronic device, which is a terminal or a server. Figure 1 Taking the method applied to a terminal as an example, the method includes the following steps.
[0100] 101. The terminal obtains parameters to be optimized of the target engineering project.
[0101] In the embodiments of the present application, an engineering project refers to any project that solves a problem. For example, in some embodiments, an engineering project is a project based on engineering construction. In the embodiments of the present invention, the engineering project refers to any project that solves an engineering problem. For example, a vehicle side collision project, a pressure vessel project, etc. For another example, in other embodiments, the engineering project can be a computer project, such as a robot path planning project or a model training project. The embodiments of the present application do not limit the specific content of the engineering project.
[0102] There are usually some parameters that need to be set in engineering projects, so that the project can be run based on the set parameters to achieve the engineering purpose. If these parameters are set differently, the final effect or performance of the project operation may be different. Therefore, it is very important to select a better parameter setting.
[0103] The embodiment of the present invention optimizes the parameters of the engineering project through a multi-objective wild horse optimization method, in order to obtain the optimal parameters.
[0104] The parameters that need to be set and optimized may be different for different engineering projects.
[0105] In some embodiments, the target engineering project may be a four-bar truss project. Accordingly, step 101 may be: in response to the target engineering project being a four-bar truss project, the terminal acquires the displacement nodes of the four-bar truss and the size of the four-bar truss.
[0106] In some embodiments, the target project may be a vehicle side collision project, and accordingly, step 101 may be: in response to the target project being a vehicle side collision project, the terminal obtains the inner width of the B-pillar, the reinforced width of the B-pillar, the inner floor side width, the width of the cross member, the door beam width, the door extension width and the wide top rail.
[0107] In some embodiments, the target engineering project may be a pressure vessel project. Accordingly, step 101 may be: in response to the target engineering project being a pressure vessel project, the terminal obtains the shell width, head width, head radius and cylinder length of the pressure vessel.
[0108] In some embodiments, the target engineering project may be a coil compression spring project. Accordingly, step 101 may be: in response to the target engineering project being a coil compression spring project, the terminal obtains the number of turns of the spring, the outer diameter of the spring, and the diameter of the spring wire.
[0109] In some embodiments, the target engineering project may be a gear design project, and accordingly, step 101 may be: in response to the target engineering project being a gear design project, the terminal obtains the number of teeth of the driving gear, the number of teeth of the driven gear, the number of teeth of the gear connected to the driven gear, and the number of teeth of the following gear.
[0110] In some embodiments, the target engineering project may be a reducer project, and accordingly, step 101 may be: in response to the target engineering project being a reducer project, the terminal obtains the face width, number of teeth, number of teeth inside the gear, first shaft length and diameter between bearings, and second shaft length and diameter between bearings of the reducer.
[0111] In some embodiments, the target engineering project may be a model training project. Accordingly, step 101 may be: in response to the target engineering project being a model training project, the terminal acquires multiple weights of the model.
[0112] In some embodiments, the target engineering project may be a robot path planning project. Accordingly, step 101 may be: in response to the target engineering project being a robot path planning project, the terminal acquires a plurality of path nodes of the robot.
[0113] Of course, the target project can also be other projects, such as the trade-off between the economic benefits and carbon emissions of the energy system, the trade-off between building operation energy saving and indoor light and heat comfort, or resource allocation, etc. The embodiments of the present invention are not listed here one by one, and the embodiments of the present invention are not limited to this.
[0114] 102. The terminal generates an initial population according to the parameter to be optimized, and a dimension information of a population individual in the initial population is used to indicate a parameter to be optimized.
[0115] After the terminal determines the parameters to be optimized, it can perform multi-objective optimization on them by simulating the process of population evolution.
[0116] The population individuals in the initial population may include multiple dimensional information, one dimensional information is used to indicate a parameter to be optimized, and thus a population individual is a value combination of the parameter to be optimized.
[0117] In some embodiments, the terminal may determine the attributes of the parameters to be optimized in step 101, and generate an initial population based on the attributes of the parameters to be optimized. The attributes of the parameters to be optimized may include the number of parameters to be optimized and the value range of each parameter to be optimized. For example, the parameters to be optimized are gender and age. The terminal first determines in step 101 that the parameters to be optimized are gender and age, respectively, and the value range of gender is 0 and 1, where 0 is used to indicate male and 1 is used to indicate female. In this example, the population individuals may include two dimensional information, one dimensional information is gender, and the other dimensional information is age.
[0118] In some embodiments, the terminal may obtain the population size and stallion percentage, and generate an initial population based on the population size, stallion percentage, and parameters to be optimized. The population size refers to the number of individuals in the population. The stallion percentage refers to the percentage of stallions in the population, which is used to control the number of groups when the population is divided into groups.
[0119] For example, assuming that the population size is NP and the stallion percentage is PS, based on the population size and stallion percentage, initialize the population individuals X i . Where NP is a positive integer, PS is a percentage greater than 0 and less than 1. i is the individual identifier of the population, i∈[1,NP], i is a positive integer.
[0120] 103. The terminal controls the initial population to evolve based on the fitness of the population individuals in the initial population as parameters of the target engineering project to obtain a new population.
[0121] After the initial population is generated, since the population individuals in the initial population are obtained through initialization, on this basis, new population individuals must be further generated through evolution, so as to find out whether there are better population individuals among the new population individuals, so as to update the population.
[0122] In some embodiments, in step 103, the terminal may perform non-dominated sorting on the population individuals in the initial population to obtain a first sorting result, and the first sorting result is used to indicate the fitness of the population individuals in the initial population as parameters of the target engineering project. Then, based on the first sorting result, the terminal controls the initial population to evolve to obtain a new population.
[0123] Among them, the fitness of the population individuals in the initial population as the parameters of the target engineering project can be used to indicate whether the population individuals are closer to the Pareto frontier. It can be understood that the population individuals that are closer in the first sorting result are more suitable as the parameters of the target engineering project. The closer the population individuals are to the Pareto frontier, that is, the more the population individuals can meet the optimization objectives after being used as the parameters of the target engineering project, and the higher the performance indicators.
[0124] Here are a few related terms:
[0125] Non-dominated solution: Assuming that for any two solutions S1 and S2, S1 is better than S2 for all objectives, then S1 is said to dominate S2. If S1 is not dominated by other solutions, then S1 is called a non-dominated solution or an undominated solution, also known as a Pareto solution. Non-dominated solutions are also called non-inferior solutions.
[0126] Dominant solution: If all objectives of S2 are inferior to those of S1, then S1 is said to be superior to S2, also known as S1 dominating S2, and S2 is a dominated solution.
[0127] The plane formed by all Pareto solutions in the solution space is called the Pareto front (Non-dominated front).
[0128] For non-dominated sorting, non-dominated sorting is also called non-dominated solution sorting (Non-dominated Sorting). For example, assume that the set of all solutions is S, and the set S is also the solution space. Find the non-dominated solution set from the set S, denoted as F1, let S=S-F1, and then find another non-dominated solution set from S, denoted as F2. Repeat the above steps until S is an empty set, and then sort the non-dominated solutions found each time to obtain {F1, F2,…, Fn}.
[0129] It can be understood that through non-dominated sorting, we can better understand which individuals in the current population are closer to the Pareto frontier, and thus evolve based on this fitness, which can effectively control the population to evolve in a direction closer to the Pareto frontier. Such evolution can optimize parameters more effectively and quickly.
[0130] In some embodiments, during the evolution process, elites can be found first in the initial population. The elites are individuals in the population that are closer to the Pareto frontier. Therefore, during evolution, the population individuals are updated around the elites so that the population as a whole develops toward the Pareto frontier. That is, the guidance of multiple elites is conducive to improving the overall distribution of the Pareto frontier.
[0131] Among them, the fitness of the population individuals in the initial population as the parameters of the target engineering project can be used to indicate whether the population individuals can be used as elites. It can be understood that the closer the population individuals are to the Pareto frontier, the more suitable the population individuals are as the parameters of the target engineering project, and accordingly, the more suitable the population individuals are as elites, so that subsequent evolution can improve the overall distribution of the population.
[0132] Specifically, the process of the terminal controlling the initial population to evolve based on the first sorting result may be: the terminal determines a target population individual in the initial population based on the first sorting result, and then controls the initial population to evolve around the target population individual, wherein the target population individual is also an elite.
[0133] There are many ways to determine the target population individuals. The embodiment of the present invention provides two ways here, and there is no specific limitation on which one to use.
[0134] Method 1: The terminal determines the target number of population individuals that are ranked highest in the first sorting result as target population individuals.
[0135] The target number may be any value and may be set by relevant technical personnel according to the population size. For example, it may be 10 or 9, and this is not limited in the embodiment of the present invention.
[0136] In some embodiments, the target number can be determined based on the population size and the stallion percentage. For example, the target number can be the product of the population size and the stallion percentage. For example, if the population size is NP and the stallion percentage is PS, the target number can be G=NP*PS. Where G is a positive integer.
[0137] For example, if the target number is 10, the terminal may determine the population individuals that are ranked in the top ten of the first sorting result as the target population individuals.
[0138] Method 2: The terminal determines the level of the population individuals in the initial population according to the first sorting result, and determines the target population individuals according to the number of target population individuals and the levels of the population individuals. The level of the target population individuals is not lower than that of the first population individuals. The first population individuals are the population individuals in the initial population other than the target population individuals.
[0139] In the second method, the level of the population individual is equivalent to the priority of being selected as the target population individual. The higher the level, the higher the priority, and the more likely it is to be determined as the target population individual. Of course, the level and priority can also be set to be negatively correlated, that is, the lower the level, the higher the priority. Accordingly, in the above-mentioned second method, the level of the target population individual is not higher than that of the first population individual. The embodiment of the present invention does not limit which specific method is adopted.
[0140] According to the negative correlation between rank and priority, according to the first sorting result, the first ranked ones can be placed in the first rank, and the later ranked ones can be divided into higher ranks in turn. For example, the ranks can be divided according to the order in which the individuals of the population are screened out in the non-dominated sorting process. The individuals of the population screened out in the first round are divided into the first rank, and the individuals of the population screened out in the second round are divided into the second rank. It can be understood that the individuals of the population screened out first have a higher priority in being selected as the target population individuals.
[0141] In some embodiments, after determining the target population individuals, the terminal may store the target population individuals in an external archive. In other embodiments, after obtaining the initial population, the terminal may store all the population individuals in the initial population in an external archive. In other embodiments, after obtaining the initial population, the terminal may perform non-dominated sorting on the initial population, and then store all the population individuals in the initial population in an external archive according to the first sorting result. The embodiments of the present invention do not limit which specific method is adopted.
[0142] Furthermore, the initial population can be divided into multiple groups, and the number of groups can be the same as the number of individuals in the target population, so that there is a target population individual in each group. During the population evolution process, each group can revolve around the target population individuals within the group. Under the guidance of the target population individuals, the effect of developing towards the Pareto frontier is achieved both globally and locally.
[0143] That is to say, the initial population can be divided into multiple groups, and the number of groups can be the same as the number of elites, so that there is an elite in each group. During the population evolution process, each group can revolve around the elites in the group, thereby achieving the effect of developing towards the Pareto frontier both globally and locally.
[0144] For example, assuming that the level of individuals in the population is negatively correlated with the priority, the size of the initial population is NP, and the number of groups is G, then the number of elites selected is also G. The elites are selected by sorting the individuals (that is, the individuals in the population) in a non-dominated manner and storing them in an external archive. The non-inferior solutions in the external archive are divided into levels, and individuals at the same dominance level are assigned the same level number (level sequence), which sets the fitness value of the non-inferior solution. Assuming that the non-inferior solution individuals are divided into D levels, the fitness value of individuals at the i-th level is fitness i =i (i=1,…,D), the scale of each level is ||fitness i ||. Where D is a positive integer. Elites are selected from the first level. If the size of the first level ||fitness1||>G, only G elites are randomly selected from the first level.j (j=1,…,G) participate in population evolution; on the contrary, randomly select G-||fitness1|| elites in the second level i , and all individuals in the first level are selected as elites at the same time, and the selection is continued in this way until G elites are selected. Figure 2 As shown, new individuals in different groups are evolved by different elites near them, and the evolved individuals are closer to the Pareto frontier.
[0145] When the terminal controls the initial population to evolve around the target population individual, the position of each population individual in the initial population can be controlled to change around the target population individual, so that the target population individual can guide other population individuals.
[0146] Since the non-inferior solutions of the external archives are closer to the optimal solution set, using multiple non-inferior solutions as elites to guide population evolution is beneficial to improving the global exploration ability of the algorithm. Therefore, a multi-elite collaborative guidance mechanism is proposed, which adds multiple elites in the grazing stage to collaboratively guide wild horses to search for resources, thereby improving the diversity performance of the optimal solution set.
[0147] In some embodiments, the evolution process may include at least one of updating the position of population individuals and generating new population individuals.
[0148] Among them, updating the position of the population individuals can be achieved by the following formulas 1 and 2:
[0149] k=q2·IDX+q3·idx, Formula 1
[0150]
[0151] Among them, k is the adaptive coefficient, q2 is a random number in [0,1], q3 is a random vector in [0,1], and IDX and idx are both vectors consisting of only 0 and 1. represents the jth wild horse (individuals in the population are called wild horses here) in the i-th group (i.e., the i-th group), t represents the number of iterations, and elite i represents the elite of the i-th group, T∈[-2,2] is a random number, and cos() is the cosine function. The wild horses of each group move forward into the search space under the guidance of their respective elites, thereby improving the algorithm's optimization ability. The guidance of multiple elites is conducive to improving the overall distribution of the Pareto frontier.
[0152] Among them, the generation of new population individuals can be achieved through the following formula three:
[0153]
[0154] in, and They represent the wild horses in group y and group o respectively; Indicates that the dth wild horse in the sth group leaves the group and gives its position to the paired wild horse. Mean() represents the mutation operation.
[0155] In some embodiments, the crossover ratio can be used to determine which evolution method is used in each iterative evolution process. For example, assuming the crossover ratio is PC, the evolution method is determined by determining the magnitude relationship between the random number rand and the crossover ratio PC. In some embodiments, if the random number rand> the crossover ratio PC, the position update of the wild horse is achieved by formula 2, otherwise a new little wild horse is generated by formula 3.
[0156] 104. The terminal obtains a new population individual based on the dimensional information of the population individuals in the new population, where the dimensional information of the new population individual includes dimensional information of multiple population individuals in the new population.
[0157] In addition to controlling the evolution of the population, the terminal can also cross-reference individuals in the new population to obtain new individuals. Considering the dimensional information interaction between non-inferior solutions, there is potential development value, and the dominant solutions often contain hidden solution information. For example, it may be that only individual solutions have poor information and have not become non-inferior solutions. In view of this, the embodiment of the present invention enhances the local development capability of the algorithm through the solution information coupling interaction strategy.
[0158] In some embodiments, step 104 can be implemented by at least one of the following methods 1 and 2.
[0159] Method 1: The terminal fuses the dimensional information of multiple non-inferior solution population individuals in the new population to obtain new population individuals.
[0160] Compared with the dominant solution population individuals, the non-inferior solution population individuals are closer to the Pareto frontier, and have better performance indicators as parameters of the target engineering project. When the dimensional information between the non-inferior solution population individuals is crossed, their dimensional information can be reorganized to obtain a new dimensional information combination, that is, a new population individual. These population individuals generally have better dimensional information in some dimensions, while other dimensional information is not as good as other population individuals. In this way, after the reorganization, the new population individuals may obtain a better dimensional information combination, and the new population individuals are closer to the Pareto frontier.
[0161] In some embodiments, the first method can be implemented by any one of the following possible implementation methods 1 and 2. The embodiment of the present invention does not limit which possible implementation method is specifically adopted.
[0162] Possible implementation method 1: The terminal replaces the dimension information of any non-inferior solution population individual in the new population with the dimension information of multiple other non-inferior solution population individuals in the new population.
[0163] In this possible implementation method 1, all dimensional information of the non-inferior solution population individual can be replaced by dimensional information of other non-inferior solution population individuals, or part of the dimensional information of the non-inferior solution population individual can be replaced by dimensional information of other non-inferior solution population individuals, and the embodiment of the present invention is not limited to this.
[0164] In some embodiments, a replacement ratio can be set. Accordingly, in possible implementation mode 1, the terminal can replace the dimensional information of any non-inferior solution population individual in the new population with the dimensional information of multiple other non-inferior solution population individuals in the new population according to the replacement ratio.
[0165] Among them, the value range of the replacement ratio can be [0,1]. In some embodiments, the replacement ratio can be a fixed value set by relevant technical personnel. In other embodiments, the replacement ratio is negatively correlated with the number of iterations, that is, the smaller the number of iterations, the larger the replacement ratio. In this way, in the early iteration process, a large amount of dimensional information of individuals in the non-inferior solution population can be replaced. In the later iteration process, the individuals in the non-inferior solution population are more accurate, and a small amount of dimensional information can be replaced to find a better solution. The embodiment of the present invention provides two possible embodiments here, and does not limit which specific method is adopted.
[0166] For example, Figure 3 As shown, taking the information interaction between dimensions of the non-inferior solution x1 as an example, the first dimension value x of x1 1,1 A non-inferior solution x is randomly selected p The dimension value x p,1 Replace, x 1,2 A non-inferior solution x is randomly selected q The dimension value x q,D-2 Replace, and so on, until each dimension of the non-inferior solution x1 is replaced by the dimension value of other randomly selected non-inferior solutions to produce x k New solution x' k . Note that the new solution x' k Each dimension value of comes from the dimensional information of different non-inferior solutions. This strategy effectively mines the dimensional information between non-inferior solutions and enhances the local development ability of the algorithm. The replacement process can be achieved by the following formula 4:
[0167]
[0168] x' k =(x' k,1 ,…,x' k,w ,…,x'k,D ), Formula 4
[0169] Where NP is the size of the external archive (i.e., the size of the population), D is the number of dimensions of the decision vector (i.e., each individual in the population), q = randi(1, NP), m = randi(1, D), randi(1, NP) and randi(1, D) are integers randomly selected from (1, NP) and (1, D), randi() is a function for taking random integers, and x q,m They represent the m-th dimension value of the q-th non-inferior solution, where m is a positive integer and “←” is x q,m Assign to x' k,w , x' k For x k The new solution generated (that is, the new population individual).
[0170] Possible implementation method 2: The terminal extracts the dimensional information of multiple non-inferior solution population individuals in the new population to generate a new population individual, and the dimensional information of the new population individual is composed of the dimensional information of the multiple non-inferior solution population individuals.
[0171] In the possible implementation method 2, instead of using a replacement method, dimension information is extracted from the non-inferior solution population individuals of the new population to piece together a new population individual.
[0172] In some embodiments, after generating new population individuals based on the dimension information of the non-inferior population individuals, the terminal can also store the new population individuals in a container. The terminal can then compare the population individuals in the container with the population individuals in the external archive, thereby selecting the optimal target number of population individuals to update as a new population, and then continue to evolve, which will not be described in detail here.
[0173] For example, the information crossing strategy between non-inferior solution dimensions is to randomly cross non-inferior solution dimensions to generate new solutions, and store the new solutions in a set container Q. The setting of container Q is for comparison with the non-inferior solutions in the external archive.
[0174] Method 2: The terminal performs a linear combination on any three dominant solution population individuals in the new population to obtain a new population individual.
[0175] Considering the interactive value of information between dominant solutions, an information interaction strategy between dominant solutions is proposed, which fully mines the information between dominant solutions to improve the convergence performance of the optimal solution set.
[0176] In some embodiments, the second method can be implemented by the following formula 5:
[0177] x i * =xi +h(x j -x u ), Formula 5
[0178] Where h is the shrinkage factor of (0,1), x i 、x j With x u is the dominant solution, x i * For x i The new solution generated. From formula 5, we can see that the dominant solution x i The information of is exchanged with other dominant solutions to obtain a new individual x i * , which rationally utilizes the solution information between the dominant solutions and is conducive to enhancing the convergence of the optimal solution set.
[0179] For example, Figure 4 As shown, when the non-inferior solution x i and non-inferior solution x j When information crosses between dimensions, x i and x j The respective dimensions are the criteria that can be * New solutions are generated in the upper right shaded area of , and some shaded areas are closer to the true Pareto frontier. Therefore, the cross-dimensional information between non-dominated solutions is conducive to the maintenance and evolution of external archives.
[0180] Similarly, in some embodiments, after generating new population individuals based on the dominant solution population individuals, the terminal can also store the new population individuals in a container. The terminal can then compare the population individuals in the container with the population individuals in the external archive, thereby selecting the optimal target number of population individuals to update as a new population, and then continue to evolve, which will not be described in detail here.
[0181] For example, Figure 5 As shown, x i , x r1 and x r2 Both represent dominant solutions. When x i In x r1 With x r2 Under the guidance of * , the new solution x generated by equation (8) i * Stored in container P.
[0182] Through the above-mentioned method 1 and the above-mentioned method 2, it can be found that the solution information coupling interaction strategy proposed in the embodiment of the present invention aims at the characteristics that the non-inferior solution is closer to the true Pareto frontier and the dominant solution is far away from the true Pareto frontier, and proposes an information crossing strategy between non-inferior solution dimensions and an information interaction strategy between dominant solutions to enhance the diversity and convergence of the optimal solution set.
[0183] For example, in a specific example, the above step 104 shows understanding the information coupling interaction strategy. The step 104 can be followed by the step of obtaining the first sorting result by non-dominated sorting in step 103. The specific process of the combination of the two can be as follows, wherein Step is a step:
[0184] Step 1: Select the best NP individuals according to the non-dominated sorting and store them in the external archive to obtain non-inferior solutions, and the rest are dominated solutions x i Step 1 is to select the optimal target number of population individuals based on the first sorting result and store them in the external archive.
[0185] Step 2: Non-inferior solution x for external archive k According to the above formula 4, mining is performed to generate a new solution x' k And deposit into container Q.
[0186] Step 3: Solve x according to the five pairs of formulas i Perform the operation to obtain the new solution x i * And store it in container P.
[0187] Step 4: Calculate the external archive and containers Q and P according to the dominance relationship, and select the best NP individuals to re-enter the external archive to participate in the next population evolution. Step 4 is an optional step in the following step 105.
[0188] 105. Based on the new population individuals and the new population, the terminal continues to control the evolution of the new population and acquire new population individuals until a target population is obtained when the target conditions are met, and outputs the population individuals in the target population as target parameters of the target engineering project.
[0189] By decoupling the information, a new population individual is obtained. Now, the terminal can process the evolved new population and the new population individual after decoupling the information, so as to perform another evolution and decoupling of the information. Among them, the above steps 103 and 104 are an iterative process, and another evolution and decoupling of the information are the next iterative process.
[0190] In some embodiments, in step 105, the terminal may perform non-dominated sorting on the new population individuals and the population individuals in the new population to obtain a second sorting result, and then use the population individuals of the target number that are at the front of the second sorting result as the updated population individuals of the new population. The terminal then continues to control the evolution of the new population and obtain new population individuals based on the updated population individuals of the new population.
[0191] For example, in a specific example, the process of updating the new population in step 105 can be implemented by the following formula 6:
[0192] archive(t)=non-dominate-sort(NDS,Q,P), Formula 6
[0193] Where archive is an external archive. non-dominate-sort() is a non-dominated sort. NDS can be a new population evolved from the initial population, or a set of individuals from the new population that has been non-dominated sorted and the target number of individuals have been selected.
[0194] The dimensional information of the population individuals in the new population obtained through population evolution may have changed, and it is also necessary to measure the new population individuals generated in step 104 and which population individuals in the new population individuals are better, so as to select better population individuals for population update and obtain a new population. In this way, the population individuals are optimized after each iteration, and after multiple subsequent iterations of continuous optimization, better population individuals can be obtained, thereby achieving parameter optimization.
[0195] The target condition may be that the number of iterations reaches a target number, or that the target function reaches a minimum value, etc., which is not specifically limited in the embodiment of the present invention.
[0196] The present invention performs multi-objective optimization on the parameters to be optimized of the engineering project by simulating population evolution, and indicates the parameters with the dimensional information of the population individuals, so as to judge whether the value combination of the parameters is better than multiple target indexes, and determines the better parameters by electronic equipment calculation, which can effectively improve the optimization efficiency and has high accuracy. In addition, in this process, in addition to population evolution, the connection between the dimensional information of the population individuals is also taken into account, so that the population is optimized by obtaining new population individuals, and the connection between the dimensional information of the population individuals is effectively excavated, which can effectively avoid the local optimal situation of the parameters, thereby achieving the effect of global optimization and greatly improving the accuracy of parameter optimization.
[0197] In a specific example, the above method can be implemented by MOWHO (Multi-objective Wild Horse Optimization) algorithm, and a process of the algorithm is provided below:
[0198] Input: population size NP, maximum number of iterations Maxiter, crossover ratio PC, stallion percentage PS.
[0199] Output: external archive decomposition.
[0200]
[0201] At this time, the output external archive is the optimized target parameters.
[0202] In order to verify the effectiveness of MOWHO in solving multi-objective optimization problems (MOP), the inverted generational distance (IGD) and HV (Hypervolume) are selected as comprehensive evaluation indicators of MOWHO. The proposed algorithm is compared with MOPSO, MOEA / D, NSGA-Ⅱ, SPEA2, MOAGDE, MOBO3 and MOGWO algorithms, and tested on 5 ZDT, 7 DTLZ and 8 WFG benchmark functions. Table 1 shows the parameter settings of various algorithms. Tables 2 to 5 respectively give the IGD, HV mean and standard deviation (std) results obtained by each algorithm on dual-objective and triple-objective optimization problems. “+”, “-” and “=” respectively indicate that MOWHO is better, worse or equal to the corresponding algorithm on the same test function. In order to verify the convergence speed of MOWHO, Figure 6 and Figure 7 The iterative graphs of some functions of each algorithm on the three-objective problem are given. Figure 8-Figure 13 A graph showing the degree of fit between the Pareto front found by each algorithm and the true Pareto front is given. Figure 14-16 The box plots of each algorithm in some test functions. To ensure the fairness and objectivity of the experiment, the population size, external archive size and maximum number of iterations of each algorithm are 100, 100 and 200 respectively. The basic parameters of each algorithm are shown in Table 1. To overcome the randomness of the algorithm, each algorithm is run independently for 30 times. All algorithms are implemented in the experimental environment of Inter(R)Core(TM)i7-3770 CPU, 8G RAM, Matlab R2014aWindows7.
[0203] Table 1
[0204]
[0205] Table 2
[0206]
[0207] From the experimental results in Table 2, it can be seen that MOWHO has a significant advantage in the twenty dual-objective optimization test functions, and it has an advantage in sixteen functions. The IGD value of the MOWHO algorithm on the ZDT series functions is good, and its IGD value is far better than the other seven algorithms. For the DTLZ series test functions, the NSGA-Ⅱ algorithm obtains the optimal IGD value on the DTLZ1, DTLZ2 and DTLZ5 functions, but the results obtained by MOWHO are not much different from the optimal value and rank high, especially for the DTLZ2 and DTLZ5 functions, the results of MOWHO and NSGA-Ⅱ are almost equal. For the WFG series test functions, except for the WFG6 function, MOWHO can obtain the optimal value. Although the proposed algorithm did not obtain the optimal value on the WFG6 function, it still ranks high. Because the IGD index can simultaneously reflect the convergence and diversity of the algorithm. The results in Table 2 show that the proposed algorithm MOWHO can obtain a solution set that is closer to the real Pareto frontier and has good distribution performance. It can not only make the optimization problems of concave and convex frontiers distributed on the Pareto frontier as much as possible, but also obtain good distribution effects for problems of discontinuous complex frontiers. In summary, compared with the other 7 algorithms, MOWHO has good overall performance and is highly competitive.
[0208] For the three-objective optimization problem, as shown in Table 3, MOWHO has the best IGD mean on most of the DTLZ and WFG benchmark test functions, with a total of fourteen functions being dominant. Although the proposed algorithm did not obtain the optimal value on the DTLZ2 function, the gap between MOWHO and the optimal value was small and it ranked second among all algorithms. Compared with MOPSO, SPEA2, MOEA / D, MOAGDE, MOBO3, and MOGWO, MOWHO has an absolute advantage on all test functions. Compared with NSGA-Ⅱ, MOWHO is only slightly inferior to NSGA-Ⅱ on the DTLZ2 function. It can be concluded that MOWHO has good stability in the three-objective optimization problem and can take into account both convergence and distribution performance.
[0209] Table 3
[0210]
[0211]
[0212] To further explore the performance of the MOWHO algorithm, the IGD value decrease trend of the MOWHO algorithm and the comparison algorithm during the iteration process is shown in the following figure on the DTLZ1, DTLZ5, DTLZ6 and WFG1 test functions of the three-objective problem. Figure 5 As shown. For DTLZ1, the IGD value of the MOPSO algorithm does not change significantly with the increase in the number of iterations; the IGD values of the other algorithms drop sharply in the early stage and basically tend to be stable in the later stage. On DTLZ5, DTLZ6 and WFG1, the IGD values of each algorithm drop sharply before the inflection point, indicating that the algorithm has a strong evolutionary ability and good search ability. After the inflection point, the IGD values of each algorithm slowly decrease or tend to be flat, indicating that the algorithm falls into a local optimum and the search performance is weakened. The MOWHO algorithm obtains the smallest IGD value at different numbers of iterations and decreases faster. Its convergence performance is significantly better than other algorithms. This shows that whether it is the IGD value results in Table 3 or Figure 5 In the iterative process, the MOWHO algorithm can show good comprehensive performance in solving the three-objective optimization problem.
[0213] For the HV index analysis results, the HV mean and standard deviation results of MOWHO and the comparison algorithm in the ZDT, DTLZ and WFG series test functions are shown in Tables 4 and 5. It is worth noting that the HV mean of some algorithms in the table is 0 because the non-dominated solution set of the algorithm is far from the true Pareto frontier.
[0214] From the coverage HV index in Table 4, it can be seen that the MOWHO algorithm obtains the optimal value on the ZDT1, ZDT2, ZDT4, ZDT6, DTLZ1~DTLZ7, WFG1, WFG3 and WFG8 functions, indicating that the overall coverage of MOWHO is better. On the ZDT4 function, the HV value of the MOWHO algorithm is one order of magnitude better than that of NSGA-Ⅱ and MOBO3. On the DTLZ3 function, only the MOWHO algorithm obtains a non-zero HV value. On the WFG2, WFG4~WFG7 functions, the NSGA-Ⅱ algorithm obtains the optimal value. Although the MOWHO algorithm fails to obtain the best result, the result still ranks second. Therefore, the MOWHO algorithm shows strong comprehensive performance in the dual-objective optimization problem, and the volatility of the HV index is small, and it has good stability.
[0215] Table 4
[0216]
[0217]
[0218] Table 5
[0219]
[0220] For the three-objective optimization problem, it can be seen from the data in Table 5 that the HV mean of MOWHO shows good optimization performance on the DTLZ1~DTLZ4, DTLZ6, DTLZ7, WFG1, and WFG3 functions, and the MOEA / D algorithm is superior on the DTLZ5 function. For the WFG2, WFG4~WFG8 functions, the NSGA-Ⅱ algorithm obtains the best results. Although MOWHO does not achieve an overwhelming advantage on the WFG series test functions, it still ranks second among all algorithms, and the solution effect is generally acceptable. Combined with the score, compared with the MOPSO, SPEA2, MOAGDE, MOBO3, and MOWGO algorithms, the MOWHO algorithm is superior in all functions. Compared with the NSGA-Ⅱ algorithm, MOWHO is superior in 9 functions and slightly inferior in 6 functions. Compared with the MOEA / D algorithm, MOWHO is not superior in only one function. It can be concluded that MOWHO has a better effect, accuracy and stability in solving MOP.
[0221] In order to more intuitively explore the search characteristics of each algorithm in the iterative process, the DTLZ2, DTLZ4, WFG1, and WFG3 functions of the three-objective optimization problem are used to form a test set to study the changes in the HV values of all algorithms during the iterative process. Figure 7 As shown. For the DTLZ2 and DTLZ4 test functions, all algorithms have almost the same change trend during the iteration process, which increases sharply in the early stage and then gradually flattens out. On the DTLZ2 function, the iteration process changes of MOWHO, MOBO3, NSGA-Ⅱ and MOEA / D are almost the same, but MOWHO finally becomes the best. On the WFG1 and WFG3 functions, the HV value of the MOWHO algorithm can be in an advantageous position throughout the iteration process and obtain the maximum value at the end of the iteration, indicating that MOWHO has excellent overall convergence effect on the HV indicator, and has a wider coverage range. The hypercube constructed with the reference point is larger, so the convergence and distribution of the MOWHO algorithm are closer to the real Pareto frontier, and a better non-inferior solution set can be obtained.
[0222] In order to more intuitively reflect the algorithm test results, Figure 8 and Fig.11The results of 8 algorithms for solving multiple discontinuous Pareto frontiers ZDT3, concave frontiers ZDT4, linear DTLZ1, and piecewise Pareto frontiers DTLZ7 are compared. Only MOWHO and MOGWO are close to convergence to the Pareto frontier on ZDT3, but the diversity of the Pareto solution set of the MOWHO algorithm is better and the distribution on the Pareto frontier surface is more uniform. The MOWHO algorithm converges to the true Pareto frontier surface on ZDT4 and is evenly distributed. Although the NSGA-Ⅱ and MOBO3 algorithms have better distribution effects, the convergence effects of the two algorithms are poor. MOWHO and NSGA-Ⅱ algorithms are closer to the frontier surface on DTLZ1, but MOWHO can better converge to the frontier surface and is evenly distributed, indicating that MOWHO has a stronger global search capability. On the DTLZ7 function, the MOPSO algorithm only obtains solutions on one section of the Pareto front, but not on another section. SPEA2 obtains partial solutions on the lower right corner of the Pareto front. NSGA-Ⅱ, MOEA / D and MOAGDE algorithms do not obtain any solutions near the Pareto front. MOBO3 and MOGWO algorithms obtain a small number of solutions and have poor distribution on the Pareto front. It can be concluded that in the face of test functions with concavity, linearity, discontinuity and other characteristics, the MOWHO algorithm exhibits good convergence and distribution performance, and the Pareto solution set it obtains can be close to the real Pareto front.
[0223] Fig.12 and Fig.13 Describe the Pareto frontiers of MOWHO on DTLZ1, DTLZ3, DTLZ7, and WFG1~WFG3 of the three-objective problem. On the DTLZ1 function, the solution set of the MOWHO algorithm is relatively evenly distributed on the true Pareto frontier, indicating that the MOWHO algorithm can provide better solutions for decision makers. For the DTLZ2 function with hypersurface characteristics, the Pareto optimal solution of the MOWHO algorithm can be evenly distributed on the Pareto frontier. On the DTLZ7 function with four true Pareto frontiers, the MOWHO algorithm obtains the corresponding Pareto optimal solutions on the four true frontiers, indicating that the MOWHO algorithm is suitable for solving three-objective optimization problems with multiple discontinuous Pareto frontiers. For WFG1~WFG3, the Pareto optimal solution of the MOWHO algorithm can also converge to the true Pareto frontier. In summary, MOWHO can find solutions close to the true Pareto frontier on most of the test functions of the three-objective problem, and the distribution of non-inferior solutions is excellent overall, which fully demonstrates the effectiveness of the MOWHO algorithm and its superior search performance.
[0224] In the dual-objective optimization problem, the IGD box plot results obtained by each algorithm are as follows Fig.14 and Fig.15 As shown. From the box plot results, it can be observed that the comparison algorithm has singular points on the ZDT1~ZDT4, WFG1, WFG2 and WFG4~WFG6 functions and the box plots are longer and located at the upper part, while MOWHO has no singular points and the box plots are located at the lower part, indicating that the test effect of the MOWHO algorithm is better than that of the comparison algorithm, and its Pareto optimal solution set distribution effect is better. For ZDT2, ZDT6, DTLZ1 and WFG3, the box plot position of MOWHO is lower. Although the MOWHO algorithm has singular points, their positions are near the median line, while the singular points of the comparison algorithm are too far away from the median line, so the overall effect of MOWHO is better.
[0225] In some test functions of the three-objective optimization problem, the IGD box plots of the MOWHO algorithm and the comparison algorithm are shown in Figure 2. Fig.16 As shown in the figure. The box plot position of the MOWHO algorithm is lower than that of the comparison algorithm, and fewer singular values are obtained. In particular, MOWHO, NSGA-Ⅱ and MOBO3 algorithms all obtain narrower box plots on DTLZ1 and the positions are almost the same, but MOWHO has fewer singular points while the other two algorithms have more singular points and are above the box plot, indicating that the MOWHO algorithm has better performance and stronger stability than the comparison algorithm.
[0226] In order to cope with the increasingly complex multi-objective optimization problems, a multi-objective wild horse optimization algorithm (MOWHO) based on multi-elite collaborative guidance and solution information coupling interaction is proposed. Since the performance of the multi-objective evolutionary algorithm strongly depends on the vitality (performance) of the elite individuals, a multi-elite collaborative guidance mechanism is incorporated. By determining multiple high-level elites in the external archive to promote population evolution, the diversity of the algorithm is guaranteed; the solution information coupling interaction strategy is to re-mine the dimensions between non-inferior solutions and the internal information between abandoned dominant solutions in the external archive, so as to provide more solutions for the external archive and improve the distribution performance and convergence performance of the algorithm. MOWHO is tested on dual-objective and tri-objective benchmark functions, and compared with 7 representative algorithms. The simulation results show that the MOWHO algorithm exhibits better convergence and diversity.
[0227] Fig.17 is a schematic diagram of the structure of a multi-objective wild horse optimization device for parameters provided by an embodiment of the present invention, see Fig.17 , the device comprises:
[0228] An acquisition module 1701 is used to acquire parameters to be optimized for a target engineering project;
[0229] A generating module 1702 is used to generate an initial population according to the parameter to be optimized, wherein a dimension information of a population individual in the initial population is used to indicate a parameter to be optimized;
[0230] A control module 1703 is used to control the initial population to evolve based on the fitness of the population individuals in the initial population as the parameters of the target engineering project to obtain a new population;
[0231] The acquisition module 1701 is used to acquire new population individuals based on the dimension information of the population individuals in the new population, where the dimension information of the new population individuals includes the dimension information of multiple population individuals in the new population;
[0232] The control module 1703 and the acquisition module 1701 are used to continue controlling the evolution of the new population and acquiring new population individuals based on the new population individuals and the new population, until a target population is obtained when the target conditions are met, and output the population individuals in the target population as the target parameters of the target engineering project.
[0233] In some embodiments, the acquisition module 1701 is used to perform any of the following:
[0234] In response to the target engineering project being a four-bar truss project, obtaining a displacement node of the four-bar truss and a size of the four-bar truss;
[0235] In response to the target engineering project being a vehicle side collision project, obtaining a B-pillar inner layer width, a B-pillar reinforcement width, an inner floor side width, a cross member width, a door beam width, a door extension width, and a wide top rail;
[0236] In response to the target engineering project being a pressure vessel project, obtaining a shell width, a head width, a head radius, and a cylinder length of the pressure vessel;
[0237] In response to the target engineering project being a coil compression spring project, obtaining the number of spirals of the spring, the outer diameter of the spring, and the diameter of the spring steel wire;
[0238] In response to the target engineering project being a gear design project, obtaining the number of teeth of the driving gear, the number of teeth of the driven gear, the number of teeth of the gear connected to the driven gear, and the number of teeth of the following gear;
[0239] In response to the target engineering project being a reducer project, obtaining the face width, the number of teeth, the number of internal teeth of the gear, the first shaft length and diameter between the bearings, and the second shaft length and diameter between the bearings of the reducer;
[0240] In response to the target engineering project being a model training project, multiple weights of the model are obtained.
[0241] In some embodiments, the acquisition module 1701 is configured to perform at least one of the following:
[0242] The dimension information of multiple non-inferior solution population individuals in the new population is integrated to obtain new population individuals;
[0243] Perform linear combination on any three dominant solution population individuals in the new population to obtain a new population individual.
[0244] In some embodiments, the acquisition module 1701 is used to perform any of the following:
[0245] Replace the dimension information of any non-inferior solution population individual in the new population with the dimension information of multiple other non-inferior solution population individuals in the new population;
[0246] The dimensional information of multiple non-inferior solution population individuals in the new population is extracted to generate a new population individual, wherein the dimensional information of the new population individual is composed of the dimensional information of the multiple non-inferior solution population individuals.
[0247] In some embodiments, the control module 1703 is used to:
[0248] Performing non-dominated sorting on the population individuals in the initial population to obtain a first sorting result, wherein the first sorting result is used to indicate the fitness of the population individuals in the initial population as parameters of the target engineering project;
[0249] Based on the first sorting result, the initial population is controlled to evolve to obtain a new population.
[0250] In some embodiments, the control module 1703 is used to:
[0251] Based on the first sorting result, determining a target population individual in the initial population;
[0252] The initial population is controlled to evolve around the individuals of the target population.
[0253] In some embodiments, the control module 1703 is used to perform any of the following:
[0254] Determine the target number of population individuals that are ranked highest in the first sorting result as target population individuals;
[0255] According to the first sorting result, the level of the population individuals in the initial population is determined, and according to the number of target population individuals and the level of the population individuals, the target population individuals are determined, and the level of the target population individuals is not lower than that of the first population individuals. The first population individuals are the population individuals in the initial population except the target population individuals.
[0256] In some embodiments, the control module 1703 and the acquisition module 1701 are used to:
[0257] Perform non-dominated sorting on the new population individuals and the population individuals in the new population to obtain a second sorting result;
[0258] The target number of population individuals at the front of the second sorting result are used as the updated population individuals of the new population;
[0259] Based on the updated population individuals of the new population, the new population continues to be controlled to evolve and acquire new population individuals.
[0260] The device provided by the embodiment of the present invention performs multi-objective wild horse optimization on the parameters to be optimized of the engineering project by simulating population evolution, and indicates the parameters with the dimensional information of the population individuals, so as to judge whether the value combination of the parameters is better than multiple target indexes, and determine the better parameters by electronic device calculation, which can effectively improve the optimization efficiency and has high accuracy. In addition, in this process, in addition to population evolution, the connection between the dimensional information of the population individuals is also taken into account, so that the population is optimized by obtaining new population individuals, and the connection between the dimensional information of the population individuals is effectively excavated, which can effectively avoid the local optimal situation of the parameters, thereby achieving the effect of global optimization and greatly improving the accuracy of parameter optimization.
[0261] It should be noted that: the multi-objective wild horse optimization device for parameters provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when performing the multi-objective wild horse optimization of parameters. In actual applications, the above-mentioned functions are assigned to different functional modules as needed, that is, the internal structure of the multi-objective wild horse optimization device for parameters is divided into different functional modules to complete all or part of the functions described above. In addition, the multi-objective wild horse optimization device for parameters provided in the above embodiment and the multi-objective wild horse optimization method embodiment for parameters belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0262] Fig.18 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device 1800 may have relatively large differences due to different configurations or performances, and includes one or more processors (Central Processing Units, CPU) 1801 and one or more memories 1802, wherein the memory 1802 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1801 to implement the multi-objective optimization method of parameters provided by the above-mentioned various method embodiments. The electronic device also includes other components for realizing the functions of the device. For example, the electronic device also has components such as a wired or wireless network interface and an input and output interface for input and output. The embodiments of the present invention are not described in detail here.
[0263] The electronic device in the above method embodiment is implemented as a terminal, and may also be implemented as a server.
[0264] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including at least one computer program, wherein the at least one computer program is executable by a processor to perform the multi-objective wild horse optimization method of the parameters in the above embodiment. For example, the computer-readable storage medium is a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0265] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes one or more program codes, and the one or more program codes are stored in a computer-readable storage medium. One or more processors of an electronic device read the one or more program codes from the computer-readable storage medium, and the one or more processors execute the one or more program codes, so that the electronic device performs the multi-objective wild horse optimization method of the above parameters.
[0266] In some embodiments, the computer program involved in the embodiments of the present invention may be deployed on a computer device for execution, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected through a communication network. Multiple computer devices distributed at multiple locations and interconnected through a communication network may constitute a blockchain system.
[0267] Those skilled in the art will appreciate that all or part of the steps of implementing the above embodiments may be accomplished through hardware, or through a program to instruct related hardware, wherein the program is stored in a computer-readable storage medium, and the above-mentioned storage medium is a read-only memory, a disk or an optical disk, etc.
[0268] The above description is only an optional embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-objective wild horse optimization method for parameters, characterized in that: The method comprises:
101. Obtain parameters to be optimized for a target engineering project, including any of the following: In response to the target project being a four-bar truss project, the displacement nodes of the four-bar truss and the size of the four-bar truss are obtained; in response to the target project being a vehicle side collision project, the inner layer width of the B-pillar, the reinforced width of the B-pillar, the side width of the inner floor, the width of the cross member, the width of the door beam, the extended width of the door and the wide top rail are obtained; in response to the target project being a pressure vessel project, the shell width, the head width, the head radius and the cylinder length of the pressure vessel are obtained; in response to the target project being a coil compression spring project, the number of spirals of the spring, the outer diameter of the spring and the diameter of the spring wire are obtained; in response to the target project being a gear design project, the number of teeth of the driving gear, the number of teeth of the driven gear, the number of teeth of the gear connected to the driven gear and the number of teeth of the following gear are obtained; in response to the target project being a reducer project, the face width, the number of teeth, the number of teeth inside the gear, the length and diameter of the first shaft between the bearings, and the length and diameter of the second shaft between the bearings of the reducer are obtained; in response to the target project being a robot path planning project, a plurality of path nodes of the robot are obtained; 102. Generate an initial population according to the parameter to be optimized, wherein one dimension information of a population individual in the initial population is used to indicate one of the parameters to be optimized; The population individuals in the initial population include multiple dimensional information, one dimensional information is used to indicate a parameter to be optimized, and such a population individual is a value combination of the parameter to be optimized; specifically, the attributes of the parameter to be optimized are determined, and the initial population is generated based on the attributes of the parameter to be optimized; wherein the attributes of the parameter to be optimized include the number of parameters to be optimized and the value range of each parameter to be optimized; or, the population size and the stallion percentage are obtained, and the initial population is generated based on the population size, the stallion percentage and the parameter to be optimized; wherein the population size refers to the number of population individuals in the population, and the stallion percentage refers to the percentage of stallions in the population, which is used to control the number of groups when the population is divided into groups; 103. Based on the fitness of the population individuals in the initial population as the parameters of the target engineering project, controlling the initial population to evolve to obtain a new population; including: performing non-dominated sorting on the population individuals in the initial population to obtain a first sorting result, wherein the first sorting result is used to indicate the fitness of the population individuals in the initial population as the parameters of the target engineering project; based on the first sorting result, controlling the initial population to evolve to obtain a new population; Among them, the fitness of the population individuals in the initial population as parameters of the target engineering project is used to indicate whether the population individuals are closer to the Pareto frontier; the population individuals that are closer to the front in the first sorting result are more suitable as parameters of the target engineering project, and the closer the population individuals are to the Pareto frontier; For non-dominated sorting, set the set of all solutions to S, which is the solution space. Find the non-dominated solutions from the set S, record it as F1, let S = S-F1, and then find another non-dominated solution set from S, record it as F2, repeat the above steps until S is an empty set, and then sort the non-dominated solutions found each time to get {F1, F2, ..., Fn}; The fitness of the population individuals in the initial population as parameters of the target engineering project is used to indicate whether the population individuals can be used as elites; based on the first sorting result, the target population individuals in the initial population are determined, and then the initial population is controlled to evolve around the target population individuals, wherein the target population individuals are elites; Determining the target population individuals in the initial population based on the first sorting result includes any of the following: Method 1: determining the target number of population individuals that are ranked highest in the first sorting result as target population individuals; The target number is determined based on the population size and the stallion percentage, which is the product of the population size and the stallion percentage; the population size is NP, the stallion percentage is PS, and the target number is G=NP*PS, where G is a positive integer; Method 2: determining the level of the population individuals in the initial population according to the first sorting result, and determining the target population individuals according to the number of target population individuals and the level of the population individuals, wherein the level of the target population individuals is not lower than that of the first population individuals, and the first population individuals are the population individuals in the initial population other than the target population individuals; In the second method, the level of the population individual is equivalent to the priority of being selected as the target population individual. The higher the level, the higher the priority. Alternatively, the level and priority are negatively correlated, that is, the lower the level, the higher the priority. The initial population is divided into multiple groups. The number of groups is the same as the number of individuals in the target population. In this way, there is an individual in the target population in each group. During the population evolution, each group revolves around the target population individuals in the group. Under the guidance of the target population individuals, the effect of developing towards the Pareto frontier is achieved both globally and locally. Assuming that the level of individuals in the population is negatively correlated with the priority, the population size of the initial population is NP, the number of groups is G, then the number of elites selected is also G, and the elite selection method is: sort the individuals in the population by non-dominance and store them in an external archive; classify the non-inferior solutions in the external archive, and individuals at the same dominance level are assigned the same level number, that is, the level order, which sets the fitness value of the non-inferior solution; set the non-inferior solution individuals to be divided into D levels, and the fitness value of individuals at the i-th level is fitness i =i (i=1,…,D), the scale of each level is ||fitness i ||; where D is a positive integer; elites are selected starting from the first level. If the size of the first level ||fitness1||>G, only G elites are randomly selected from the first level. j (j=1,…,G) participate in population evolution; on the contrary, randomly select G-||fitness1|| elites in the second level i , and all individuals in the first level are selected as elites at the same time, and the selection is continued in this way until G elites are selected; 104. Acquire a new population individual based on the dimension information of the population individuals in the new population, where the dimension information of the new population individuals includes dimension information of multiple population individuals in the new population; The acquiring of new population individuals based on the dimension information of the population individuals in the new population includes at least one of the following: Method 1, fusing the dimension information of multiple non-inferior solution population individuals in the new population to obtain new population individuals; In method 1, dimensional information is extracted from the non-inferior population individuals of the new population to piece together a new population individual; Method 2, performing linear combination on any three dominant solution population individuals in the new population to obtain a new population individual; Method 2 is achieved through the following formula: x i * =x i +h(x j -x u ) Where h is the shrinkage factor of (0,1), x i 、x j With x u is the dominant solution, x i * For x i The new solution generated; in the above formula, the dominant solution x i The information of is exchanged with other dominant solutions to obtain a new individual x i * ; Based on the new population individuals and the new population, continue to control the evolution of the new population and obtain new population individuals until a target population is obtained when a target condition is met, and output the population individuals in the target population as target parameters of the target engineering project; The method of continuing to control the evolution of the new population and acquiring new population individuals based on the new population individuals and the new population includes: performing non-dominated sorting on the new population individuals and the population individuals in the new population to obtain a second sorting result; using the population individuals of the target number at the front of the second sorting result as the updated population individuals of the new population; and continuing to control the evolution of the new population and acquiring new population individuals based on the updated population individuals of the new population.
2. A multi-objective wild horse optimization device for parameters, used to implement the method of claim 1, characterized in that: The device comprises: An acquisition module is used to obtain the parameters to be optimized of the target engineering project; A generating module, used for generating an initial population according to the parameter to be optimized, wherein a dimension information of a population individual in the initial population is used for indicating a parameter to be optimized; A control module, used for controlling the initial population to evolve based on the fitness of the population individuals in the initial population as the parameters of the target engineering project to obtain a new population; The acquisition module is used to acquire new population individuals based on the dimension information of the population individuals in the new population, wherein the dimension information of the new population individuals includes the dimension information of multiple population individuals in the new population; The control module and the acquisition module are used to continue controlling the evolution of the new population and acquiring new population individuals based on the new population individuals and the new population, until a target population is obtained when the target conditions are met, and output the population individuals in the target population as the target parameters of the target engineering project.
3. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories, wherein at least one computer program is stored in the one or more memories, and the at least one computer program is loaded and executed by the one or more processors to implement the multi-objective Mustang optimization method for parameters as described in claim 1.
4. A computer-readable storage medium, characterized in that: At least one computer program is stored in the storage medium, and the at least one computer program is loaded and executed by the processor to implement the multi-objective wild horse optimization method of parameters as claimed in claim 1.
Citation Information
Patent Citations
Improved method and system in engineering design optimization based on multi-objective evolutionary algorithm
CN102194025A
Bilateral disassembly line setting method considering station constraints and energy consumption
CN110580530A
Multi-target workpiece batch scheduling method and device based on historical information guidance
CN111210125A
Horizontal cylinder facility layout method based on improved wild horse algorithm
CN115130760A
Voltage sag source signal noise reduction and identification method based on wild horse optimization algorithm
CN115659665A
