Uniform test design method, program, equipment and storage medium in design space containing complex constraint conditions

Through the sequence constrained Monte Carlo method and the 'maximize minimum distance' criterion, the problem of unreasonable sample selection in irregular design spaces is solved, uniform and orthogonal sampling under complex constraints is achieved, and the sample points satisfy the constraint conditions. and improve sampling efficiency.

CN118673543AActive Publication Date: 2024-09-20HARBIN ENG UNIV

Patent Information

Application Number
CN202410655404.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-20
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

In engineering optimization design, experimental design methods in irregular design spaces are difficult to achieve uniform, orthogonal, and progressive sampling, resulting in unreasonable sample selection and waste of computing resources.

Method used

The sequence constrained Monte Carlo method and the 'maximize minimum distance' criterion are used to gradually and iteratively update the sample points by defining the deviation function and optimizing Latin hypercube sampling to ensure the uniformity and orthogonality of the sample points under complex constraints.

Benefits of technology

It achieves uniform and orthogonal sampling under complex constraint conditions, ensuring that sample points fully meet the constraint conditions, avoiding unreasonable selection of sample points caused by inaccurate definition of boundary conditions, and improving sample representativeness and sampling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673543A
    Figure CN118673543A
Patent Text Reader

Abstract

The invention belongs to the technical field of engineering optimization design, and particularly relates to a uniform test design method in a design space containing complex constraint conditions, a program, equipment and a storage medium. According to the method, the boundary of the constraint design space is accurately expressed, and the relaxation of the constraint is gradually weakened based on the sequence Monte Carlo thought, so that the selected preferential sample point can completely meet all constraint conditions after finite iterations; unreasonable sample point selection caused by the fact that individual sample points do not belong to an actual constraint space due to inaccurate boundary condition definition is prevented; by introducing the criterion of maximizing the minimum distance, uniform and orthogonal sampling under a given sample number can be realized, so that sample selection has good representativeness; progressive sampling can be achieved, the phenomenon that all the sample points need to be resampled due to insufficient selection of the early-stage sample points is prevented, and meanwhile it is guaranteed that all the sample points can still keep good uniformity and orthogonality after progressive sampling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of engineering optimization design, and specifically relates to a uniform test design method, program, equipment and storage medium in a design space containing complex constraints. Background Art

[0002] In the field of engineering optimization design, the feasible domain of design variables in optimization problems is often not a regular hypercube design space, but an irregular design space containing various equality or inequality constraints. For example, in the optimization of large wind farm layout, all wind turbines are required to be located within the outer boundary of the wind farm, and the outer boundary of the wind farm may contain areas that cannot be arranged, which implies some complex geometric constraints; in the optimization of ship hydrostatic resistance, it is usually required that the relative changes in the displacement volume and wet surface area of ​​the ship cannot exceed a certain amplitude; in the optimization of the slamming load of the connecting bridge of a multi-hull ship, it is required that the length of the arc segment and the straight segment of the connecting bridge do not exceed a certain value, etc.

[0003] The above constraints are, in essence, equality or inequality restrictions between design variables in the optimization problem, which directly leads to the fact that the feasible domain of the design variables is no longer a regular design space. In the optimization based on approximate models, the commonly used experimental design methods are all for regular design spaces. It can be foreseen that this method may cause a waste of some computing resources, because the points outside the irregular design space have a relatively small impact on the approximate model constructed in the space; in other words, in order to have the same level of accuracy as the approximate model constructed when the sample points are completely located in the irregular design space, it is necessary to use methods such as Optimal Latin Hypercube Sampling (OLHS) and Sobol to sample more points in a relatively larger regular design space.

[0004] After searching, it was found that Wuhan University of Technology disclosed a sample point selection method, system and terminal based on the ship type constraint space (Chinese patent, publication number CN117150652A, publication date 20231201). The invention first uses the uniform design method to realize the generation of initial ship type sample points, and completes the hydrostatic data calculation of the corresponding ship type based on the ship type sample points; and judges the feasible points and infeasible points according to the ship type constraint conditions; then uses the K nearest neighbor classification algorithm commonly used in machine learning to judge and extract the boundary points; then uses the least squares method based on the above boundary points to fit the boundary information of feasible points and infeasible points to obtain the feasible space range; finally, fill the samples in the feasible space of the ship type. However, the uniform design method used in the invention has little effect on the sampling of points outside the constraint space for the subsequent construction of the proxy model, and the fitting near the boundary points cannot guarantee the accuracy of the constraint conditions. In addition, it is difficult to ensure the uniform, orthogonal and progressive sampling under any given number of samples in the irregular design space, which will weaken the rationality and repeatability of sample selection. Summary of the invention

[0005] The object of the present invention is to provide a uniform experimental design method in a design space containing complex constraints.

[0006] A method for uniform experimental design in a design space with complex constraints comprises the following steps:

[0007] Step 1: For the initial M-dimensional rule design space D M , define the constraint condition Ω in this space, and obtain D M Point x∈D within M The deviation function C between the constraint Ω Ω (x);

[0008] Step 2: For the initial M-dimensional rule design space D M Perform dense sampling to obtain an initial set of sample points;

[0009] Step 3: Use the sequential constrained Monte Carlo method to iteratively update the coordinates of each sample point in the initial sample point set;

[0010] Step 4: For the updated initial sample point set, further screening is performed using the "maximize minimum distance" criterion to obtain a given number of sample points with good uniformity and orthogonality.

[0011] Furthermore, the step 1 is specifically as follows:

[0012] Represents the original M-dimensional rule design space, which contains constraints inside, forming a constrained design space

[0013] If the constraint is a single inequality g(x)≤0, that is, Ω={(x1,x2,…,x M )|g(x)≤0}, for a certain point x∈D M , define the deviation function between it and the constraint as C Ω (x) = g(x);

[0014] If the constraints are n inequalities and g1(x)≤0,g2(x)≤0,...,g n (x)≤0, that is, the intersection of multiple regions: Ω={(x1,x2,…,x M )|max{g1(x),g2(x),…,g n (x)}≤0}, for a certain point x∈D M , the deviation function between it and the constraint is defined as

[0015] If the constraints are n inequalities and g1(x)≤0, or g2(x)≤0,…, or g n (x)≤0, that is, the union of multiple regions: Ω={(x1,x2,…,x M )|min{g1(x),g2(x),...,g n (x)}≤0}, for a certain point x∈D M , define the deviation function between it and the constraint as C Ω (x)=min{g1(x),g2(x),...,g n (x)}≤0;

[0016] If the constraint is an equality constraint h(x) = 0, for a point x∈D M , define the deviation function between it and the constraint as C Ω (x)=|h(x)|-ε; among them, 0<ε<<1.

[0017] Furthermore, in step 2, optimized Latin hypercube sampling or Sobol sampling method is used for dense sampling.

[0018] Furthermore, the step 3 is specifically as follows:

[0019] Step 3.1: Set the threshold τ T and number of steps N MH ; Initialize t=1, initialize weights N is the initial sample point set The number of sample points in ;

[0020] Step 3.2: Solve the effective sample number ESS equation to obtain τ t ;

[0021]

[0022] in, The coordinates of the nth sample point at the t-1th time step;

[0023] Step 3.3: Update weights And normalized to get

[0024] Step 3.4: Implement importance resampling and select random numbers

[0025] For j, k = 1, 2, ..., N, if but

[0026] Step 3.5: After resampling, set the weights

[0027] Step 3.6: For each dimension, calculate N samples The standard deviation in the mth dimension Pick a random number For each sample in turn The offset operation is performed on the mth dimension, and the sample coordinates after the offset are:

[0028]

[0029] Among them, e m is a basic matrix whose mth component is 1 and the rest of the components are 0;

[0030] Calculate the acceptance probability α, select a random number u2∈U[0,1], and if u2≤α, accept the sample coordinates after a slight shift Otherwise, no movement is made and the sample coordinates remain

[0031]

[0032] Step 3.7: Repeat step 3.6 and perform N operations on each dimension of all samples in turn MH times, and finally get N samples The coordinates corresponding to time step t;

[0033] Step 3.8: If τ t ≤τ T , then set t = t + 1 and return to step 3.2; otherwise, end the calculation and output N samples Updated coordinates.

[0034] Furthermore, the step 4 is specifically as follows:

[0035]

[0036] Solve the above optimization problem, screen the sample points in the updated initial sample point set, and obtain N1 sample points with good uniformity and orthogonality; among them, p m With q m Represent the coordinate components of the mth dimension in sample points p and q respectively.

[0037] Furthermore, if the N1 sample points obtained in step 4 do not meet the design requirements, then on the basis of the N1 sample points, N2 points are further sampled progressively through the "maximizing minimum distance" criterion to construct a more accurate proxy model, that is, to optimize and solve the following problem:

[0038]

[0039] in, r m With s m Represent the coordinate components of the mth dimension in sample points r and s respectively.

[0040] A computer device / equipment / system comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the above-mentioned uniform experimental design method in a design space containing complex constraints.

[0041] A computer-readable storage medium stores a computer program / instruction thereon, which, when executed by a processor, implements the steps of the above-mentioned uniform experimental design method in a design space containing complex constraints.

[0042] A computer program product comprises a computer program / instruction, which, when executed by a processor, implements the steps of the above-mentioned uniform experimental design method in a design space containing complex constraints.

[0043] The beneficial effects of the present invention are:

[0044] The present invention accurately expresses the boundary of the constraint design space and gradually weakens the relaxation of the constraints based on the sequential Monte Carlo idea, so that after a finite number of iterations, the selected priority sample points can fully meet all the constraint conditions, thereby preventing individual sample points from not belonging to the actual constraint space due to inaccurate boundary condition definition, resulting in unreasonable sample point selection; by introducing the "maximizing minimum distance" criterion, uniform and orthogonal sampling under a given number of samples can be achieved, so that the sample selection has good representativeness; progressive sampling can be achieved to prevent the phenomenon of requiring full resampling due to insufficient sample point selection in the early stage, and at the same time ensure that after progressive sampling, all sample points can still maintain good uniformity and orthogonality. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a flow chart of the present invention.

[0046] Figure 2 It is a two-dimensional illustration of the constraint space in an example of the present invention.

[0047] Figure 3 In the example of the present invention, in space D 2 Illustration of sample point coordinates obtained by dense sampling using optimized Latin hypercube sampling method.

[0048] Figure 4 Schematic diagram of sample point coordinates after one / two iterations of the SCMC method in an example of the present invention.

[0049] Figure 5 In the example of the present invention, the "maximizing minimum distance" criterion is used to obtain a preset number N1=120 sample point result graphs with good orthogonality and uniformity in a complex constraint space.

[0050] Figure 6 This is a result graph of the progressive sampling of N2=80 in the complex constraint space using the “maximize minimum distance” criterion in an example of the present invention. DETAILED DESCRIPTION

[0051] The present invention is further described below in conjunction with the accompanying drawings.

[0052] In order to overcome the shortcomings of the existing related technologies, the present invention provides a uniform experimental design method in a design space with complex constraints. Based on the Monte Carlo idea and the "maximizing minimum distance" criterion, a preset with good uniformity orthogonality and a larger number of samples in an irregular constraint space is obtained.

[0053] S1, for the initial rule design space D M , define the constraints in the space, and relax the constraints according to different situations to form a mathematical expression containing a complex constraint space Ω;

[0054] S2, for the initial design space D M Conduct dense sampling;

[0055] S3, for D obtained in S2 M The initial sample points in the time step t are iterated according to the Sequentially Constrained Monte Carlo (SCMC) method, that is, the weights of each component of each sample point are updated, normalized, and importance resampled, and the transition step is accepted / rejected to obtain all sample positions of the current step t until the threshold is reached;

[0056] S4, for a large number of sample points within Ω obtained in S3, the “maximizing minimum distance” criterion is used for further screening to obtain a given number of sample points with good uniformity and orthogonality;

[0057] S5, for a small number of sample points within Ω obtained in S4, additional samples may be filled as needed to obtain any number of sample points within Ω with good uniformity and orthogonality.

[0058] In step S1, Represents the original M-dimensional rule design space, which contains constraints to form a constrained design space The constraints can be inequality constraints, and the original rule design space D is obtained. M It can also be a sub-region of the constraint; it can also be an equality constraint, resulting in a high-dimensional manifold; it can also be a combination of the two types of constraints. Uniform sampling in the constrained design space Ω can actually be regarded as a regular design space D M Sampling with uneven sample distribution.

[0059] When the constraint is a single inequality g(x)≤0, that is, Ω={(x1,x2,…,x M )|g(x)≤0}, for a certain point x∈D M , define the deviation function between it and the constraint:

[0060] C Ω (x) = g(x)

[0061] When the constraints are n inequalities, one case is g1(x)≤0,g2(x)≤0,...,g n (x)≤0, that is, the intersection of multiple regions: Ω={(x1,x2,…,x M )|max{g1(x),g2(x),…,g n (x)}≤0}, for a certain point x∈D M , define the deviation function between it and the constraint:

[0062]

[0063] Another case is g1(x)≤0, or g2(x)≤0,…, or g n (x)≤0, that is, the union of multiple regions: Ω={(x1,x2,…,x M )|min{g1(x),g2(x),...,g n (x)}≤0}, for a certain point x∈D M , define the deviation function between it and the constraint:

[0064] C Ω (x)=min{g1(x),g2(x),...,g n (x)}≤0

[0065] In step S1, when the constraint is the equality constraint h(x)=0, due to the parameter τ T It can be set very large, and the equality constraint can be relaxed to an inequality constraint with a small deviation function amplitude (such as 0<ε<<1). M , define the deviation function between it and the constraint:

[0066] C Ω (x)=|h(x)|-ε

[0067] The above relaxation can effectively prevent sampling failure due to the probability of satisfying the equality constraint point being 0.

[0068] Introduce the standard normal distribution cumulative function, that is,

[0069]

[0070] And transform it into a constraint index function Φ(-τC Ω (x)), where the parameter τ (τ ≥ 0) controls the stiffness of the constraint.

[0071] Construct a monotonically increasing sequence And the corresponding series of probability density distributions Its form is

[0072]

[0073] If there are multiple constraints, such as The above probability density distribution can be generalized to be defined as:

[0074]

[0075] According to the deviation function defined above, a sample point satisfies the constraint condition if and only if its deviation function value is non-positive. Therefore, when τ TWhen is large enough, the sample distribution tends to be a uniform distribution within the design space Ω containing the constraints.

[0076] In step S2, given the initial design space D M , sample size N, threshold τ T , accept / reject transition steps N MH , set the initial conditions t = 0, τ t = 0, and in the space D with sample capacity N M In the process, the optimized Latin hypercube sampling (Optimal Latin Hypercube Sampling, OLHS), Sobol sampling and other methods are used to obtain D M Sample point coordinates with good uniformity and orthogonality And initialize the weights Where n=1,…,N.

[0077] In step S3, the concept of effective sampling sum (ESS) is introduced to determine the sequence density distribution to ensure that the effective sampling sum is not less than a given value (e.g., half of the total number of samples N). By numerically solving the following equation, τ t accomplish:

[0078]

[0079] in

[0080]

[0081] Solve for τ t Then update the weights And normalized to get

[0082]

[0083] In order to effectively remove samples with smaller probabilities, importance resampling is implemented:

[0084] Pick a random number:

[0085] For j, k = 1, 2, ..., N, if but

[0086] After completing the above resampling process, set the weights Where n = 1, 2,…, N.

[0087] In step S3, in order to prevent sample degradation, that is, some points may be duplicated in the resampling step, the specific implementation method is to perform NMH The Metropolis-Hastings accepts / rejects transition steps, so that the position of each sample is slightly shifted with a certain probability within step t.

[0088] For a transition step, we need to The kth dimension of the sample (k = 1, 2, ..., M) is operated:

[0089] Assume that the sample obtained above The standard deviation in the kth dimension is Pick a random number The sample coordinates after the shift are

[0090]

[0091] where e k is a basic matrix whose kth component is 1 and the rest are 0.

[0092] Calculate the probability of acceptance:

[0093]

[0094] Select a random number u∈U[0,1], if u≤α, accept the sample value after a slight shift Otherwise, no movement is made and the sample value remains The probability of each sample does not change in this step.

[0095] Operate N on each dimension of all samples in turn MH times, that is, N MH Metropolis-Hastings accepts / rejects the transition step, and finally obtains the sample corresponding to time step t Enter the next iteration to update the sample until τ t Greater than a certain value τ T .

[0096] In step S4, a large number of relatively uniform sample points in the restricted area can be obtained by the SCMC method. In order to further obtain N1 (<<N) sample points with good orthogonality and uniformity, the "maximizing minimum distance" criterion can be used for further screening.

[0097] If an experimental design maximizes the minimum distance between each pair of sample points, it is a "maximize minimum distance" experimental design, that is, it satisfies the condition

[0098]

[0099] in

[0100]

[0101] By using intelligent optimization algorithms such as genetic algorithms to solve the above optimization problem, the dense sampling in the irregular design space can be further screened to obtain a given number of samples with good uniformity and orthogonality that does not exceed the total number of samples.

[0102] In step S5, a preset number N1 (<<N) of samples are selected by the “maximizing minimum distance” criterion. After constructing a proxy model of the objective function with respect to the sample points based on numerical simulation, experimental measurement, etc., if the accuracy does not meet the requirements, N2 points can be sampled progressively based on the original sample points by further “maximizing minimum distance” criterion to construct a proxy model with higher accuracy, that is, to optimize and solve the following problem:

[0103]

[0104] in

[0105]

[0106] Embodiment 1:

[0107] This embodiment provides a uniform experimental design method and system in a design space containing complex constraints, such as Figure 1 As shown, the system consists of a constraint condition construction module for constructing mathematical expressions according to different constraints, a hypercube space sampling module for uniform and orthogonal dense sampling of the initial regular space, an SCMC dense sampling module for obtaining a large number of sample points in the constraint space, a "maximized minimum distance" criterion sampling module for obtaining a preset number of samples in the constraint space, and a progressive sampling module for obtaining more uniform and orthogonal sample points based on finite samples in the constraint space. The present invention can obtain dense sampling in the initial regular space containing an irregular design space based on methods such as OLHS, and can achieve uniform, orthogonal, and asymptotic sampling in an irregular design space containing multiple constraints (single / multiple constraints, single / complex connectivity, convex / non-convex regions, equality / inequality constraints) based on the improved SCMC method.

[0108] S1, for the initial rule design space D M , define the constraints in the space, and relax the constraints according to different situations to form a mathematical expression containing a complex constraint space Ω;

[0109] S2, for the initial design space D M Conduct dense sampling;

[0110] S3, for D obtained in S2 MThe initial sample points within , according to the SCMC method, are iterated for each time step t, that is, the weights of each component of each sample point are updated, normalized, and importance resampled, and the transition step is accepted / rejected to obtain all sample positions of the current step t until the threshold is reached;

[0111] S4, for a large number of sample points within Ω obtained in S3, the “maximizing minimum distance” criterion is used for further screening to obtain a given number of sample points with good uniformity and orthogonality;

[0112] S5, for a small number of sample points within Ω obtained in S4, additional samples may be filled as needed to obtain any number of sample points within Ω with good uniformity and orthogonality.

[0113] In this embodiment, the step S1: Figure 2 The constraint space shown is a two-dimensional multiply connected region Ω surrounded by the three letters H, E, and U, that is, Ω = Ω1∪Ω2∪Ω3. We can form a mathematical expression containing a complex constraint space Ω through the maximum value function and the minimum value function:

[0114] Ω={(x1,x2)|min{g1(x),g2(x),...,g 10 (x)}≤0}

[0115] in:

[0116] g1(x)=max{0.1-x1,x1-0.2,-x2,x2-1}

[0117] g2(x)=max{0.2-x1,x1-0.8,0.45-x2,x2-0.55}

[0118] g3(x)=max{0.8-x1,x1-0.9,-x2,x2-1}

[0119] g4(x)=max{1.1-x1,x1-1.2,-x2,x2-1}

[0120] g5(x)=max{1.2-x1,x1-1.9,-x2,x2-0.1}

[0121] g6(x)=max{1.2-x1,x1-1.9,0.45-x2,x2-0.55}

[0122] g7(x)=max{1.2-x1,x1-1.9,0.9-x2,x2-1}

[0123] g8(x)=max{2.1-x1,x1-2.2,0.4-x2,x2-1}

[0124] g9(x)=max{2.8-x1,x1-2.9,0.4-x2,x2-1}

[0125] g 10 (x) = max{(x1-2.5) 2 +(x2-0.4) 2 -0.16,0.09-(x1-2.5) 2 -(x2-0.4) 2 ,-x2,x2-0.4}

[0126] Define the deviation function between it and the constraint:

[0127] C Ω (x)=min{g1(x),g2(x),...,g 10 (x)}≤0

[0128] In step S2, for the initial design space D 2 =[0,3]×[0,1], set the sample size to N=10000, and the threshold τ T =10 6 , Metropolis-Hastings accept / reject transition number N MH =10, set the initial condition t=0,τ t = 0, and Figure 3 In the space D with sample size N = 10000 2 The OLHS method is used to obtain D 2 Sample point coordinates with good uniformity and orthogonality And initialize the weights Where n=1,…,10000.

[0129] In step S3, the following is solved numerically:

[0130]

[0131] in:

[0132]

[0133] Solve for τ1=20.534 and update the weights And normalized to get

[0134]

[0135] In order to effectively remove samples with smaller probabilities, importance resampling is implemented:

[0136] Pick a random number:

[0137] For j, k = 1, 2, ..., 10000, if but

[0138] After completing the above resampling process, set the weights Where n=1,2,…,10000.

[0139] Then perform 10 Metropolis-Hastings acceptance / rejection transition steps, so that the position of each sample is slightly shifted with a certain probability within step 1.

[0140] Need to be paired The kth dimension of the sample (k=1,2) is operated:

[0141] Assume that the sample obtained above The standard deviation in the kth dimension is Pick a random number The sample coordinates after the shift are:

[0142]

[0143] where e k is a basic matrix whose kth component is 1 and the rest are 0.

[0144] Calculate the probability of acceptance:

[0145]

[0146] Select a random number u∈U[0,1], if u≤α, accept the sample value after a slight shift Otherwise, no movement is made and the sample value remains The probability of each sample does not change in this step.

[0147] After the above treatment, the results are as follows Figure 4 .

[0148] Since τ1<10 6 , so the next iteration step is performed to update the sample:

[0149]

[0150] in:

[0151]

[0152] Solve for τ2 = 10 6 , reaching the threshold.

[0153] Similar to the previous step, the weight update, normalization, and importance resampling of each component of each sample point are completed. After accepting / rejecting the transition step, the result is as follows Figure 4 .

[0154] In the step S4, Figure 5 As shown, the "maximize minimum distance" criterion is used to obtain a preset number N1 = 120 sample points with good orthogonality and uniformity, which satisfies the conditions:

[0155]

[0156] In step S5, based on the pre-set number N1=120 samples screened out by the "maximizing minimum distance" criterion, N2=80 points can be further sampled progressively by the "maximizing minimum distance" criterion, that is, the following optimization problem is solved:

[0157]

[0158] The progressive sampling results are as follows Figure 6 As shown, it can be foreseen that when the same number of samples is selected, the sample points obtained by this system have good uniformity and orthogonality, and will be more accurate than the proxy model constructed by the traditional sampling method. Therefore, the present invention can be used for sampling in spaces containing various complex constraints.

[0159] The present invention accurately expresses the boundary of the constraint design space and gradually weakens the relaxation of the constraints based on the sequential Monte Carlo idea, so that after a finite number of iterations, the selected priority sample points can fully meet all the constraint conditions, thereby preventing individual sample points from not belonging to the actual constraint space due to inaccurate boundary condition definition, resulting in unreasonable sample point selection; by introducing the "maximizing minimum distance" criterion, uniform and orthogonal sampling under a given number of samples can be achieved, so that the sample selection has good representativeness; progressive sampling can be achieved to prevent the phenomenon of requiring full resampling due to insufficient sample point selection in the early stage, and at the same time ensure that after progressive sampling, all sample points can still maintain good uniformity and orthogonality.

[0160] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for uniform experimental design in a design space with complex constraints. It is characterized in that The following steps are involved: Step 1: For the initial M-dimensional rule design space D M , define the constraint condition Ω in this space, and obtain D M Point x∈D within M The deviation function C between the constraint Ω Ω (x); Step 2: For the initial M-dimensional rule design space D M Perform dense sampling to obtain an initial set of sample points; Step 3: Use the sequential constrained Monte Carlo method to iteratively update the coordinates of each sample point in the initial sample point set; Step 4: For the updated initial sample point set, further screening is performed using the "maximize minimum distance" criterion to obtain a given number of sample points with good uniformity and orthogonality.

2. A uniform experimental design method in a design space with complex constraints according to claim 1, Features: The step 1 is specifically as follows: Represents the original M-dimensional rule design space, which contains constraints inside, forming a constrained design space If the constraint is a single inequality g(x)≤0, that is, Ω={(x 1 ,x 2 ,…,x M )|g(x)≤0}, for a certain point x∈D M , define the deviation function between it and the constraint as C Ω (x) = g(x); If the constraints are n inequalities and g 1 (x)≤0,g 2 (x)≤0,...,g n (x)≤0, that is, the intersection of multiple regions: Ω={(x 1 ,x 2 ,…,x M )|max{g 1 (x),g 2 (x),…,g n (x)}≤0}, for a certain point x∈D M , the deviation function between it and the constraint is defined as If the constraints are n inequalities and g 1 (x)≤0, or g 2 (x)≤0,…,or g n (x)≤0, that is, the union of multiple regions: Ω={(x 1 ,x 2 ,…,x M )|min{g 1 (x),g 2 (x),...,g n (x)}≤0}, for a certain point x∈D M , define the deviation function between it and the constraint as C Ω (x) = min{g 1 (x),g 2 (x),...,g n (x)}≤0; If the constraint is an equality constraint h(x) = 0, for a point x∈D M , define the deviation function between it and the constraint as C Ω (x)=|h(x)|-ε; among them, 0<ε<<1.

3. A uniform experimental design method in a design space with complex constraints according to claim 1, Features: In step 2, the optimized Latin hypercube sampling or Sobol sampling method is used for dense sampling.

4. A uniform experimental design method in a design space with complex constraints according to claim 1, Features: The step 3 is specifically as follows: Step 3.1: Set the threshold τ T and number of steps N MH ; Initialize t=1, initialize weights N is the initial sample point set The number of sample points in ; Step 3.2: Solve the effective sample number ESS equation to obtain τ t ; in, The coordinates of the nth sample point at the t-1th time step; Step 3.3: Update weights And normalized to get Step 3.4: Implement importance resampling and select random numbers For j, k = 1, 2, ..., N, if but Step 3.5: After resampling, set the weights Step 3.6: For each dimension, calculate N samples The standard deviation in the mth dimension Pick a random number For each sample in turn The offset operation is performed on the mth dimension, and the sample coordinates after the offset are: Among them, e m is a basic matrix whose mth component is 1 and the rest of the components are 0; Calculate the acceptance probability α and select a random number u 2 ∈U[0,1], if u 2 ≤α, then accept the sample coordinates after a slight shift Otherwise, no movement is made and the sample coordinates remain Step 3.7: Repeat step 3.6 and perform N operations on each dimension of all samples in turn MH times, and finally get N samples The coordinates corresponding to time step t; Step 3.8: If τ t ≤τ T , then set t = t + 1 and return to step 3.2; otherwise, end the calculation and output N samples Updated coordinates.

5. A uniform experimental design method in a design space with complex constraints according to claim 1, Features: The step 4 is specifically as follows: Solve the above optimization problem, screen the sample points in the updated initial sample point set, and obtain N points with good uniformity and orthogonality. 1 sample points; among them, p m With q m Represent the coordinate components of the mth dimension in sample points p and q respectively.

6. A uniform experimental design method in a design space with complex constraints according to claim 5, Features: If N obtained in step 4 1 If N sample points do not meet the design requirements, 1 Based on the sample points, N is further sampled progressively through the "maximize minimum distance" criterion. 2 points to build a more accurate proxy model, that is, to optimize and solve the following problems: in, r m With s m Represent the coordinate components of the mth dimension in sample points r and s respectively.

7. A computer device / apparatus / system comprising a memory, a processor and a computer program stored in the memory, Features: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 6.

8. A computer-readable storage medium having a computer program / instructions stored thereon, Features: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer program product comprising a computer program / instructions, Features: When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Sample point selection method and system based on ship-shaped constraint space, and terminal

    CN117150652A

  • Constrained domain Latin hypercube design optimization method

    CN106202667A

  • Pressure vessel design proxy optimization method under action of constraint weight expectation criterion

    CN114861346A

  • Techniques for automated bayesian posterior sampling using markov chain monte carlo and related schemes

    US20140278335A1

  • Sample points of 3D curves sketched by a user

    US20150294502A1

Cited By

  • Constrained region uniform experiment design method based on charge repulsion method

    CN120579453A

  • Dynamic test design and efficient optimization method in design space considering engineering actual constraint conditions, program, equipment and storage medium

    CN121683500A

  • A dynamic test design and efficient optimization method, device and storage medium in a design space considering engineering practical constraint conditions

    CN121683500B

  • Scheduling control method, scheduling control device, electronic equipment and storage medium

    CN121903798A