Information processing apparatus, information processing method, and computer-readable storage medium
By using crossover, mutation and screening processes in the information processing device, combined with constraints and fitness, the Pareto solution problem that cannot be achieved in multi-objective optimization is solved, and effective solution combinations are achieved.
Patent Information
- Application Number
- CN202310342249.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
When performing multi-objective optimization through evolutionary algorithms, it is difficult for the algorithm to output a realized Pareto solution, resulting in the emergence of unachievable explanatory variable combinations.
The crossover process, mutation process and screening process are used to generate new individuals through the information processing device, and use constraint conditions and fitness to screen the next generation data to ensure multi-objective optimization under combined conditions.
It achieves achievable solution combinations, solves the problem of variable combinations that cannot be output in multi-objective optimization, and improves the effectiveness of the algorithm.
Smart Images

Figure CN118734520A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an information processing device, an information processing method and a computer-readable storage medium. Background Art
[0002] Product design can be understood as a multi-objective optimization problem that pursues multiple goals. For example, in battery design, the goal is to increase capacity, increase output, and reduce production costs. In multi-objective optimization problems, evolutionary algorithms are sometimes used. Among evolutionary algorithms, non-dominated sorting genetic algorithms (NSGA-II: Non-dominated Sorting Genetic Algorithm-II) are sometimes used.
[0003] [Prior technical literature]
[0004] [Patent Literature]
[0005] Patent Document 1: Japanese Patent Application Publication No. 2011-187056
[0006] Patent Document 2: Japanese Patent Application Publication No. 2019-191887
[0007] Patent Document 3: Japanese Patent Application Publication No. 2020-106957
[0008] Patent Document 4: Japanese Patent No. 5235652
[0009] Patent Document 5: Japanese Patent No. 6918681 Summary of the invention
[0010] Problems to be solved by the invention
[0011] When performing multi-objective optimization using an evolutionary algorithm, the algorithm attempts to calculate a Pareto solution with a higher fitness, so in product design, etc., it may output an unrealizable combination of explanatory variables.
[0012] The present invention has been made in consideration of such a situation, and one of its objects is to provide an information processing device, an information processing method, and a computer-readable storage medium that calculate a combination of achievable solutions.
[0013] Solutions to Solve Problems
[0014] The information processing method, information processing device, and computer-readable storage medium according to the present invention employ the following structures.
[0015] (1): An information processing method involved in one scheme of the present invention is executed by an information processing device: a crossover step, in which the value of the explanatory variable of a part of the individuals selected with a first probability from the current generation data having n individuals and each individual being an explanatory variable group having multiple explanatory variables is changed to a target value obtained based on the value of the corresponding explanatory variable of other individuals to generate a new individual, n is an integer greater than 3; a mutation step, in which the value of the explanatory variable of a part of the individuals selected with a second probability from the current generation data is changed to other values to generate a new individual; and a screening step, in which n individuals of the next generation data are screened from the n individuals and the generated individuals based on the fitness calculated based on the explanatory variable group of each individual, and the explanatory variable whose value is specified by the combination condition is set to a value indicated by one of a plurality of combinations consisting of a plurality of predetermined values.
[0016] (2): Based on the scheme of (1) above, the explanatory variable whose value is not specified by the combination condition takes a value within a set range when it is a continuous value, and takes any value from a plurality of candidate values when it is a discrete value.
[0017] (3): A computer-readable storage medium storing a computer program for causing a computer of an information processing device to execute the information processing method of (1) above.
[0018] (4): An information processing device involved in one scheme of the present invention, wherein the information processing device comprises a storage unit and an individual processing unit, the storage unit storing current generation data having n individuals and each individual being an explanatory variable group having multiple explanatory variables, n being an integer greater than 3, the individual processing unit performing the following processing: generating new individuals by changing the values of the explanatory variables of a part of individuals selected from the current generation data with a first probability to target values obtained based on the values of the corresponding explanatory variables of other individuals, generating new individuals by changing the values of the explanatory variables of a part of individuals selected from the current generation data with a second probability to other values, selecting n individuals of the next generation data from the n individuals and the generated individuals based on the fitness calculated based on the explanatory variable group of each individual, and setting the explanatory variable whose value is specified by the combination condition to take the value indicated by one of a plurality of combinations consisting of a plurality of predetermined values.
[0019] Effects of the Invention
[0020] According to the schemes (1) to (4), an achievable solution can be calculated. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a schematic block diagram showing an example of a functional configuration of an information processing device according to the present embodiment.
[0022] Figure 2 This is a schematic block diagram showing a hardware configuration example of the information processing device according to the present embodiment.
[0023] Figure 3 This is a bird's-eye view illustrating information processing according to the present embodiment.
[0024] Figure 4 This is an explanatory diagram illustrating the types of explanatory variables involved in this embodiment.
[0025] Figure 5 It is an explanatory diagram illustrating the constraint conditions involved in this embodiment.
[0026] Figure 6 This is a flowchart showing another example of the information processing according to the present embodiment.
[0027] Description of reference numerals:
[0028] 10…information processing device, 120…calculation processing unit, 124…constraint setting unit, 126…individual processing unit, 126a…generation unit, 126b…individual operation unit, 126c…constraint verification unit, 126d…screening unit, 128…analysis processing unit, 140…storage unit, 150…input / output unit, 152…processor, 158…operation input unit, 160…display unit, 162…main memory, 164…program storage unit, 166…auxiliary storage unit, 168…interface unit. DETAILED DESCRIPTION
[0029] Embodiments of the present application will be described with reference to the drawings. Figure 1 This is a simplified block diagram showing an example of the functional structure of the information processing device 10 involved in the present embodiment. The information processing device 10 involved in the present embodiment obtains product data and saves the obtained product data. The product data has n (n is a pre-set integer greater than 2) individuals. Each individual constitutes an explanatory variable group having multiple explanatory variables representing the production conditions of each product. The production conditions of the product include the material or design matters of the product. The explanatory variable group is used to predict the performance of the product produced according to the production conditions. The information processing device 10 calculates the fitness of the comprehensive performance of the product based on the target variable. The target variable is an index that shows each element of the performance. The information processing device 10 uses a learning model to calculate the target variable for the explanatory variable group.
[0030] The information processing device 10 performs processing for solving a multi-objective optimization problem using an evolutionary algorithm for product data. The information processing device 10 performs: a crossover process, in which the values of the explanatory variables of a part of the individuals selected from the product data of the current generation having n individuals (hereinafter referred to as "the current generation data") with a predetermined first probability are changed to values determined based on the values of the corresponding explanatory variables of other individuals to generate new individuals; a mutation process, in which the values of the explanatory variables of a part of the individuals selected from the current generation data with a second probability are changed to other values to generate new individuals; and a screening process, in which n individuals of the next generation data are screened from the stored individuals and the generated individuals based on the fitness calculated from the explanatory variable group of each individual. Therefore, a part of the individuals are discarded based on the fitness in each generation and replaced with new individuals.
[0031] Next, a functional configuration example of the information processing device 10 will be described. The information processing device 10 includes a calculation processing unit 120 , a storage unit 140 , and an input / output unit 150 .
[0032] The calculation processing unit 120 includes a constraint setting unit 124 , an individual processing unit 126 , and an analysis processing unit 128 .
[0033] The constraint setting unit 124 sets constraints to be placed on the explanatory variable group constituting each individual, and stores constraint information indicating the set constraints in the storage unit 140 .
[0034] Constraints are classified into individual constraints applicable to one explanatory variable and combined constraints applicable to multiple explanatory variables. Individual constraints mainly define the value range of the explanatory variable. More specifically, individual constraints may indicate whether the explanatory variable is a continuous value or a discrete value, and one or both of the maximum and minimum values that can be taken. For discrete values, multiple candidate values may be indicated as an alternative to the maximum or minimum value.
[0035] The combination condition specifies a combination of values that a plurality of explanatory variables can take. A combination is a combination of explanatory variables that can serve as a production condition for a product.
[0036] Explanatory variables that are defined as continuous values by individual constraints are called continuous-valued, those defined as discrete values are called discrete-valued, and those defined as combined values are called combined. Individual constraints and combined conditions are applied exclusively and do not overlap. That is, for one explanatory variable, either the individual constraint or the combined condition is applied.
[0037] exist Figure 4In the example, in the individual ev1, the explanatory variable ev1-1 is a discrete value type, and ev1-2 is a continuous value type. The explanatory variable ev1-1 takes any value from a plurality of candidate values, and the explanatory variable ev1-2 takes a value within a range set as a separate constraint. In addition, the explanatory variables ev1-3, ev1-4, and ev1-5 are combination types. The explanatory variables ev1-3, ev1-4, and ev1-5 take values indicated by one combination.
[0038] It should be noted that not all explanatory variables called combination types are in a subordinate relationship. For example, in individual ev1, explanatory variables ev1-1, ev1-2, ev1-3, and ev1-4 may be combination types, but explanatory variables ev1-1 and ev1-2 take values indicated by one combination from multiple combinations, and explanatory variables ev1-3 and ev1-4 take values indicated by one combination from multiple combinations different from those of explanatory variables ev1-1 and ev1-2. In this case, the value of explanatory variable ev1-1 is subordinate to ev1-2, but explanatory variables ev1-3 and ev1-4 are determined independently.
[0039] The constraint condition setting unit 124 performs the following operations according to the input from the operation input unit 158 ( Figure 2 ) input operation information, add, change or delete various constraints. The constraint setting unit 124 can also obtain constraint information showing constraints from other devices. It should be noted that specific examples of constraints will be described later.
[0040] The individual processing unit 126 includes a generating unit 126a, an individual operating unit 126b, a constraint verification unit 126c, and a screening unit 126d.
[0041] The generating unit 126a reads the constraint information stored in the storage unit 140, refers to the read constraint information, and determines the constraint to be applied to each explanatory variable.
[0042] The generator 126a generates n individuals as initial individuals so as to satisfy the determined constraints, and constructs first-generation product data including the generated initial individuals. The generator 126a stores the constructed product data in the storage 140 as first-generation data.
[0043] When generating the initial individuals, the generating unit 126a sets the value of each explanatory variable constituting each individual in a manner that satisfies the constraints placed on the arrangement of each explanatory variable. For example, for a continuous-valued explanatory variable that takes a continuous value with a specified maximum and minimum values, the generating unit 126a randomly selects a real value within the range of the minimum and maximum values as the value of the explanatory variable. For a discrete-valued explanatory variable, the generating unit 126a randomly selects any one of a plurality of candidate values as the value of the explanatory variable. For a combination-type explanatory variable, the generating unit 126a randomly selects any one of a plurality of candidate values as the combination of the values of the plurality of explanatory variables (for the selection method, refer to Figure 5 ). It should be noted that, in the present application, "randomly" means in accordance with probability theory (stochastic), more specifically, using pseudo-random numbers to determine the value. The combination to be selected may also have a priority order, and the generator 126a may, for example, increase or decrease the probability of selecting a specified combination. In addition, the generator 126a may also not select a specified combination.
[0044] The interleaving step includes the following processing of S62 to S68.
[0045] (S62) An explanatory variable of interest, which is a part of the individual of interest to be processed, is randomly selected from the n parent individuals.
[0046] (S64) Randomly select the remaining n-1 reference individuals as reference targets from the remaining n-1 parent individuals.
[0047] (S66) Determine a first target value for the individual of interest based on the value of the explanatory variable of interest for the reference individual. Also, determine a second target value for the reference individual based on the value of the explanatory variable of interest for the individual of interest.
[0048] (S68) The value of the attention explanatory variable of the attention individual is replaced with the first target value, and the values of other explanatory variables are maintained to generate a new individual as a child individual. The value of the attention explanatory variable of the reference individual is replaced with the second target value, and the values of other explanatory variables are maintained to generate a new individual as a child individual.
[0049] The individual operation unit 126b repeats the processing of S62 to S68 until the number of child individuals reaches p (p is a preset integer greater than 1 and less than n). p / 2n corresponds to the crossover rate. In the individual operation unit 126b, the number p is preset based on the crossover rate.
[0050] It should be noted that in the processing of S66, the method for determining the target value set as the explanatory variable of interest is different depending on whether the explanatory variable of interest is a continuous value type or a discrete value type. For example, when the explanatory variable of interest is a discrete value type, the individual operation unit 126b determines the value of the explanatory variable of interest of the reference individual and the value of the explanatory variable of interest of the individual of interest as the first target value and the second target value (all crossover). When the explanatory variable of interest is a continuous value type, the individual operation unit 126b uses the SBX (Simulated Binary Crossover) method to determine the first target value and the second target value. The SBX method has: a process of setting the value of the explanatory variable of interest of the reference individual and the value of the explanatory variable of interest of the individual of interest to have a predetermined first probability distribution and a second probability distribution that have a center of gravity and are symmetrical to each other; and a process of randomly determining the first target value according to the first probability distribution and randomly determining the second target value according to the second probability distribution.
[0051] For example, for the explanatory variable of interest ev1-2 that is a continuous value, based on the SBX method, the original value ev1-2 is replaced with the second target value ev2-2' using the probability density function around the explanatory variable of interest ev2-2 of the reference individual ev2. For the explanatory variable of interest ev1-1 that is a discrete value, the original value ev1-1 is replaced with the corresponding explanatory variable of interest ev2-1 of the reference individual ev2, that is, the second target value ev2-1. An explanatory variable group including the value of the explanatory variable of interest after replacement and the values of other explanatory variables of the reference individual ev2 is generated as a sub-individual ev1'.
[0052] The individual operation unit 126b selects a desirable combination for the combination-type explanatory variables by uniformly crossing. The combination selected here may have a priority order as in the initial individual generation, and the individual operation unit 126b may, for example, increase or decrease the probability of selecting a specified combination. In addition, the individual operation unit 126b may also not select a specified combination.
[0053] The mutation step includes the following processing of S82 and S84.
[0054] (S82) An explanatory variable of interest, which is a part of the individual of interest to be processed, is randomly selected from the n parent individuals at a predetermined mutation rate.
[0055] (S84) A target value of the explanatory variable of interest is randomly determined, and a new individual is generated as a child individual by replacing the original value of the explanatory variable of interest with the target value while maintaining the values of other explanatory variables.
[0056] The individual operation unit 126b performs the processing from S82 to S84. When the explanatory variable of interest is a continuous value type and the maximum value and the minimum value are set as the individual constraint conditions, the individual operation unit 126b determines any real value of the continuous value within the range from the minimum value to the maximum value as the target value. When the explanatory variable of interest is a discrete value type, the individual operation unit 126b determines one candidate value randomly selected from the multiple candidate values set as the individual constraint conditions as the target value.
[0057] For example, for the explanatory variable of interest ev3-2, which is a continuous value, a real value ev1-2' within the range from the minimum value to the maximum value set as a separate constraint is randomly determined as the target value. For the explanatory variable of interest ev3-1, which is a discrete value, any candidate ev3-1' is randomly determined as the target value from a plurality of candidates for values set as a separate constraint. An explanatory variable group including the value of the explanatory variable of interest after substitution and the values of other explanatory variables is generated as a sub-individual ev3'.
[0058] When the explanatory variable of interest is a combination type, the individual operation unit 126b determines a combination randomly selected from a plurality of combinations including the explanatory variable set as a combination condition as the target value of the plurality of explanatory variables. The combination selected here may have a priority order as in the initial individual generation process and the crossover process, and the individual operation unit 126b may, for example, increase or decrease the probability of selecting a specified combination. In addition, the individual operation unit 126b may also not select a specified combination.
[0059] It should be noted that, in the process of S82, the combined explanatory variable may be regarded as one explanatory variable and selected at a predetermined mutation rate.
[0060] The screening unit 126d calculates the fitness of each individual constituting the data of this generation using a predetermined mathematical model. As the fitness, an index showing the performance of the product is applied. The screening unit 126d selects n individuals from the n parent individuals and the newly generated child individuals in descending order of fitness, that is, the individuals that give the best performance are given the higher priority. The screening unit 126d stores the next generation data including the selected n individuals in the storage unit 140.
[0061] The performance of a product is generally evaluated using multiple factors. For example, in the case of a battery, indicators that quantitatively show capacity, output, cost, etc. may become factors. Capacity is equivalent to the charge from the start of discharge when the output voltage between the two electrodes is the rated voltage to the discharge until the end voltage is reached. Output is equivalent to the current or power obtained by discharge when the output voltage is equal to the rated voltage. Cost is the manufacturing cost of the product. In addition to the unit price of each component, cost can also include various expenses required for processing, distribution, etc.
[0062] As fitness, either individual factors or an index obtained by combining multiple factors can be used. The function that calculates fitness by combining the factor indexes involved in multiple factors can be a function that monotonically changes to a value indicating better performance when each factor changes to a value indicating good performance. For example, the screening unit 126d can calculate the factor index α for each factor category k using the learned learning model from the explanatory variable group of each individual. k , calculate the calculated factor index α k The weighted sum between the factor categories k is used as the fitness. In model learning, the parameter group of the learning model is pre-set in such a way that the predicted value of the target variable calculated using the learning model for each factor category k from the known explanatory variable group and the target value of the target variable corresponding to the explanatory variable group are approximated as the training data as a whole.
[0063] As a learning model, for example, a linear model learned by multiple regression analysis, ridge regression, LASSO (Least Absolute Shrinkage and Selection Operator) regression, elastic network, etc., or any nonlinear model such as support vector machine, neural network, adaptive boosting (Adaboost), random forest, etc. can be used. In addition, a different learning model can be used for each element category k. In the screening unit 126d, a weight coefficient w for calculating fitness is pre-set. k .
[0064] The analysis processing unit 128 selects one or more individuals based on the fitness calculated from the explanatory variable group among the individuals constituting the product data stored in the storage unit 140. For example, the analysis processing unit 128 associates the explanatory variable group of the selected individual with the fitness to form a display screen, and displays display data showing the formed display screen to the display unit 160 ( Figure 2The analysis processing unit 128 may also include the factor index calculated based on the explanatory variable group in a corresponding relationship with the explanatory variable group or the fitness on the display screen.
[0065] The analysis and processing unit 128 may also evaluate the growth as a whole of n parent individuals in each generation. The statistic that serves as an indicator of growth (hereinafter, sometimes referred to as a "growth index value") may include an optimal value of fitness between individuals (hereinafter, sometimes referred to as "optimal fitness") and a discreteness. The discreteness is the degree to which a group of explanatory variables is not concentrated around a specific value but is randomly dispersed in the vector space as a whole. As an indicator showing a discrete value, for example, any one of the variance between individuals, the average distance between individuals, etc. can be used. Generally, as the set of individuals grows normally, the growth index value increases, and the growth rate, that is, their amount of change, tends to decrease. The analysis and processing unit 128 may also output display data showing a display screen containing growth index values to the display unit 160.
[0066] The storage unit 140 stores various data temporarily or permanently.
[0067] The input / output unit 150 can input or output various input data to or from other devices.
[0068] It should be noted that the analysis processing unit 128 may output the various display data to other devices via the input / output unit 150 instead of outputting the various display data to the display unit 160 .
[0069] The constraint condition setting unit 124 and the individual processing unit 126 may input various operation information from other devices via the input / output unit 150 instead of from the operation input unit 158. Other devices may be connected via a communication network.
[0070] Next, a hardware configuration example of the information processing device 10 according to the present embodiment will be described. Figure 2 1 is a schematic block diagram showing an example of the hardware configuration of the information processing device 10 according to the present embodiment. The information processing device 10 is configured to include a processor 152, an operation input unit 158, a display unit 160, a main memory 162, a program storage unit 164, an auxiliary storage unit 166, and an interface unit 168. The processor 152, the operation input unit 158, the display unit 160, the main memory 162, the program storage unit 164, the auxiliary storage unit 166, and the interface unit 168 are connected by a bus, and various data can be input and output to each other.
[0071] The processor 152 executes the calculation processing indicated by the commands expressed in various programs. The processor 152 controls the overall operation of the information processing device 10. The processor 152 is, for example, a CPU (Central Processing Unit). In the present application, sometimes executing the calculation processing indicated by the commands expressed in the program is referred to as "executing the program" or the like.
[0072] The operation input unit 158 can receive an operation and generate an operation signal according to the received operation. The operation signal indicates various operation information. The operation input unit 158 can have a general component such as a mouse, a touch sensor, a keyboard, etc., or a dedicated component such as a button or a dial.
[0073] The display unit 160 displays a display screen according to the display data input to the display unit 160. The display unit 160 may be a liquid crystal display, an organic electroluminescent display, or the like.
[0074] The main memory 162 is a writable memory used as a read area for executing programs of the processor 152 or as a work area for writing processing data of the executing programs. The main memory 162 is configured to include, for example, a RAM (Random Access Memory).
[0075] The program storage unit 164 stores system firmware such as BIOS (Basic Input Output System), firmware of various devices, other programs, and setting information required to execute these programs. The program storage unit 164 is configured to include, for example, ROM (Read Only Memory).
[0076] The auxiliary storage unit 166 stores various data and programs permanently in a rewritable manner. The auxiliary storage unit 166 may be, for example, a hard disk drive (HDD: Hard-Disk Drive), a solid state storage device (SSD: Solid State Drive), or the like.
[0077] The interface unit 168 is connected to other devices by wire or wirelessly so as to input and output various data. The interface unit 168 includes one or both of an input / output interface and a communication interface.
[0078] The processor 152 and the main memory 162 correspond to the minimum hardware for realizing the computer system of the information processing device 10. The processor 152 mainly realizes the function of the arithmetic processing unit 120 by executing a predetermined program in cooperation with the main memory 162 and other hardware. The main memory 162, the program storage unit 164 and the auxiliary storage unit 166 realize the main function of the storage unit 140. The interface unit 168 realizes the main function of the input / output unit 150.
[0079] Next, an example of information processing according to the present embodiment will be described. Figure 3 This is a bird's-eye view illustrating information processing according to the present embodiment.
[0080] (Step S02 ) The constraint setting unit 124 sets, as constraints placed on the explanatory variable group, individual constraints applied to individual explanatory variables and combined constraints applied to a plurality of explanatory variables.
[0081] (Step S04) The generation unit 126a generates n initial individuals composed of a plurality of explanatory variables indicating production conditions of the product. The constraint verification unit 126c verifies that the generated initial individuals all satisfy the set constraint. The generation unit 126a generates first-generation data including n initial individuals satisfying the constraint as parent individuals, and stores it in the storage unit 140.
[0082] The individual processing unit 126 repeats the processing of steps S06 to S12 G times, where G is a preset integer greater than or equal to 2 indicating algebra.
[0083] (Step S06) The individual operation unit 126b repeatedly performs the crossover process according to the predetermined crossover rate. In the crossover process, the individual operation unit 126b randomly selects the attention explanatory variable of the attention individual from the parent individual. The individual operation unit 126b generates a new individual by changing the value of the attention explanatory variable of the attention individual to a target value obtained based on the value of the attention explanatory variable of the randomly selected reference individual. The individual operation unit 126b includes the new individual as a child individual in the current generation data.
[0084] (Step S08) The individual operation unit 126b repeatedly performs the mutation process according to the prescribed mutation rate. In the mutation process, the individual operation unit 126b randomly selects the attention explanatory variable of the attention individual from the parent individual according to the mutation rate. The individual operation unit 126b generates a new individual as a child individual by changing the value of the attention explanatory variable of the attention individual to a target value randomly selected within the range of the value range constituting the constraint condition of the attention explanatory variable. The individual operation unit 126b includes the new individual as a child individual in the current generation data.
[0085] (Step S10 ) The screening unit 126 d calculates the fitness indicating the performance of the product for each individual included in the data of the current generation.
[0086] (Step S12) The screening unit 126d selects n individuals in descending order of performance indicated by fitness, constructs next generation data including the selected n individuals, and stores the data in the storage unit 140. Thereafter, the process returns to step S06.
[0087] (Step S14) The analysis processing unit 128 evaluates the growth of the group based on the fitness of each individual for each generation. For example, the analysis processing unit 128 calculates the optimal fitness as the growth index value based on the fitness of n individuals for each generation.
[0088] After the processing of steps S06 to S12 is repeated G times, the analysis processing unit 128 selects one or a specified number of individuals in descending order of fitness, and outputs the optimal design information showing the production conditions indicated by the group of explanatory variables constituting the selected individuals to the display unit 160 or other devices.
[0089] It should be noted that, regardless of whether the number of generations G is set, the analysis processing unit 128 can determine whether the growth of the product data is converged based on the growth index value. The analysis processing unit 128 can determine whether the growth of the product data is converged, for example, based on whether the growth index value decreases monotonically between generations according to the accumulation of generations, and the change amount becomes smaller than a predetermined change amount threshold. The analysis processing unit 128 can stop the processing of steps S06 to S12 when it is determined that the growth is converged.
[0090] Next, another example of information processing according to the present embodiment will be described. Figure 6 2 is a flowchart showing another example of information processing according to the present embodiment. The example shown in the figure mainly describes the generation of individuals and the processing of explanation variables.
[0091] (Step S102 ) The constraint setting unit 124 sets constraints for each explanatory variable as constraints. The constraint setting unit 124 stores constraint information indicating the set constraints in the storage unit 140 .
[0092] (Step S104) The generation unit 126a reads the constraint from the storage unit 140. The generation unit 126a determines the explanatory variables to which the constraint is applied, and classifies each explanatory variable based on the type of the constraint.
[0093] (Step S106 ) The generator 126 a repeatedly sets the values of the explanatory variables to the values indicated by the constraints, and generates n initial individuals. The generator 126 a constructs first generation data including the generated n initial individuals, and stores them in the storage unit 140 .
[0094] The processing of loop (LOOP) L12 includes the processing of steps S108 to S114, and these processing are repeated G times. The initial value of the number of repetitions i is set to 1, and after the processing of step S114 is completed, the individual processing unit 126 counts the number of repetitions i by adding 1 (incrementing) to the number of repetitions i. When the number of repetitions i exceeds G times, the processing proceeds to step S116.
[0095] (Step S108) The individual operating unit 126b repeatedly performs a process of randomly selecting a target individual to be processed and generating new individuals by intersecting the target individual with other reference individuals by executing the intersection step until the number of new individuals reaches p.
[0096] (Step S110) The individual operating unit 126b randomly selects a focus explanatory variable of a focus individual to be processed at a certain mutation rate, changes the value of the focus explanatory variable to a target value within the range of values constituting the constraint condition, and generates a new individual.
[0097] (Step S112) The constraint verification unit 126c discards individuals having re-set values that are out of the range of the set value range. The constraint verification unit 126c replaces each discarded individual with one randomly selected individual from the n individuals that are the parent individuals. The constraint verification unit 126c generates a copy of the selected individual as a new individual, and stores it in the current generation data.
[0098] (Step S114) The screening unit 126d refers to the current generation data and calculates the fitness of each child individual as a newly generated individual using a predetermined mathematical model according to the explanatory variable group. The screening unit 126d selects n individuals from the n parent individuals and the new child individuals in descending order of fitness, and stores the next generation data including the selected n individuals in the storage unit 140.
[0099] (Step S116) The analysis processing unit 128 reads the final generation data stored in the storage unit 140, and selects a predetermined number of individuals of 1 or more in descending order of fitness from the read final generation data. The analysis processing unit 128 can determine the production conditions indicated by the explanatory variable group of the selected individuals as the optimal design conditions. Then, the process ends. Figure 6 processing.
[0100] In the above description, the case where the information processing device 10 connects the operation input unit 158 and the display unit 160 by wire or wireless means, inputs operation information from the operation input unit 158, and outputs display data to the display unit 160 is taken as an example, but the present invention is not limited to this. The input source of the operation information and the output destination of the display data may also be an external device connected via a network. In this case, in the information processing device 10, one or both of the operation input unit 158 and the display unit 160 may be omitted.
[0101] Although specific embodiments of the present invention have been described above using the embodiments, the present invention is not limited to such embodiments at all, and various modifications and substitutions can be made without departing from the gist of the present invention.
Claims
1. An information processing method, wherein: The information processing method enables the information processing device to execute: A crossover process generates new individuals by changing the values of explanatory variables of a part of individuals selected with a first probability from the current generation data having n individuals and each individual being an explanatory variable group having a plurality of explanatory variables to target values obtained based on the values of corresponding explanatory variables of other individuals, where n is an integer greater than 3; A mutation step of changing the values of the explanatory variables of a part of the individuals selected with the second probability from the data of the current generation to other values to generate new individuals; as well as A screening step of screening n individuals of next generation data from the n individuals and the generated individuals based on the fitness calculated from the explanatory variable group of each individual, The descriptive variable whose value is specified by the combination condition is set to take a value indicated by one of a plurality of combinations consisting of a plurality of values determined in advance.
2. The information processing method according to claim 1, wherein: The explanatory variable whose value is not specified by the combination condition takes a value within a set range if it is a continuous value, and takes any value among a plurality of candidate values if it is a discrete value.
3. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program for causing a computer of an information processing device to execute the information processing method according to claim 1 .
4. An information processing device, wherein: The information processing device includes a storage unit and an individual processing unit. The storage unit stores data of this generation having n individuals, each of which is an explanatory variable group having a plurality of explanatory variables, where n is an integer greater than or equal to 3. The individual processing unit performs the following processing: The values of the explanatory variables of a part of the individuals selected with the first probability from the data of the current generation are changed to target values obtained based on the values of the corresponding explanatory variables of other individuals to generate new individuals, The values of the explanatory variables of a part of the individuals selected with the second probability from the data of the current generation are changed to other values to generate new individuals, From the n individuals and the generated individuals, n individuals of the next generation data are selected based on the fitness calculated according to the explanatory variable group of each individual, The descriptive variable whose value is specified by the combination condition is set to take a value indicated by one of a plurality of combinations consisting of a plurality of values determined in advance.
