CN106127295A - A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm - Google Patents

A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm Download PDF

Info

Publication number
CN106127295A
CN106127295A CN201610451501.0A CN201610451501A CN106127295A CN 106127295 A CN106127295 A CN 106127295A CN 201610451501 A CN201610451501 A CN 201610451501A CN 106127295 A CN106127295 A CN 106127295A
Authority
CN
China
Prior art keywords
population
cuckoo
algorithm
fireworks
bird
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610451501.0A
Other languages
Chinese (zh)
Inventor
黄辉先
胡鹏飞
陈资滨
吴翼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiangtan University
Original Assignee
Xiangtan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiangtan University filed Critical Xiangtan University
Priority to CN201610451501.0A priority Critical patent/CN106127295A/en
Publication of CN106127295A publication Critical patent/CN106127295A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm, belong to improvement and the application of intelligent optimization algorithm.On the one hand, the step-size in search of cuckoo can be adjusted according to the gap between current Bird's Nest and optimum Bird's Nest environment adaptive value, and the probability of detection of bird egg calculates according to the standard deviation of individual fitness, thus improves the search efficiency of population.On the other hand, burst radius in fireworks algorithm uses the method for " segmentation value ", the number of spark then determines according to fried point search scope, individual in search procedure can the current demolition point of perception and the gap of optimal value, enable fireworks operator jumping characteristic, trans-regional search.Two independent sub-populations evolved mutually are merged through fixing algebraically, strengthens the communication for information between Different Individual.The advantage that present invention incorporates two kinds of intelligent algorithms, in Optimal Design of Pressure Vessel, has good optimizing effect.

Description

A kind of Optimal Design of Pressure Vessel based on self adaptation cuckoo Yu fireworks hybrid algorithm Method
Technical field
The invention belongs to improvement and the application of intelligent optimization algorithm, relate to two kinds of novel adaptive optimization algorithms And cuckoo and the fireworks hybrid algorithm that multigroup parallel is evolved.
Background technology
Design of pressure vessels is always in optimized algorithm the difficulties of application, owing to the structure of container is complicated, affect because of The element more and feasible zone many factors such as irregularly, uses traditional optimized algorithm cannot obtain preferable structural parameters.Cause This, some intelligent algorithms are gradually applied in this problem, such as genetic algorithm, differential evolution algorithm;But it is as modern industry The development of technology, technical staff has a higher requirement for the precision of Vessel Design and error, and basic intelligent algorithm Cannot meet the demand of people, for solving problems, the more excellent novel intelligent algorithm of some performances is gradually carried Go out.
Hatching this natural phenomena of nestling by observing cuckoo parasitism, Cambridge University Xin-SheYang (Yang Xin society) teaches Award and proposed cuckoo algorithm with S.Deb in 2009;The inspiration aloft exploded by fireworks, Tan and Zhu of Peking University in Within 2010, propose fireworks algorithm.It is similar that cuckoo has largely theoretically with fireworks algorithm, and algorithm idea comes Come from phenomenon universal in nature, simulate individuality by computer programming language in feasible zone, find optimized value Process.But, basic cuckoo algorithm and fireworks algorithm are all a kind of greediness, random searching algorithm, can be preferably Solve function optimization problem higher-dimension, unimodal, but in basic intelligent algorithm evolutionary process, parameter is fixed, individual oneself Perception and learning capacity are relatively low, and for multimodal, multivariable object function, single algorithm cannot jump out local optimum Solve, and parameter fixing in algorithm arranges and also reduces the individual adaptability for different search environments, for some targets Function low optimization accuracy is the highest.For solve for multimodal, the optimization problem of multivariate object function, have scholar have employed both or Both above hybrid algorithms replace single intelligent algorithm, thus in succession propose heredity and Particle Swarm Mixed Algorithm, grain Subgroup and differential evolution hybrid algorithm etc., by achieving two kinds of individual ways of search, dexterously by two in same population The Dominant Facies of individual algorithm combines.
Cuckoo algorithm have employed the mode of Lay dimension flight and have updated individual information, makes cuckoo constantly explore optimum It is worth region that may be present, after successive ignition selects, the individual globally optimal solution that finally can determine function.Fireworks are calculated Method generates substantial amounts of Mars, the adaptive value of the most all Mars by fried point to space all directions, retains optimal fried point Position, constantly improves the optimal value of every generation population.By cuckoo is mixed mutually with fireworks algorithm, in same population Use two kinds of evolution environment, then entered the regular hour remix evolution select, both ensure that the independence of each algorithm, also Be conducive to the mutual supplement with each other's advantages between different population model of evolution.
Summary of the invention
The invention aims to the optimization design problem of pressure container, in two sub-populations, cuckoo is calculated Method and fireworks algorithm parallel running, retain respective evolution characteristic, prevent individuality to be absorbed in locally optimal solution, it is ensured that population is various Property.
Present invention employs self adaptation cuckoo and fireworks algorithm, parameters index in self-adaptative adjustment algorithm.Solve Method certainly specifically includes following step:
A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm, it is characterised in that Specifically include following steps:
Step one: by the mathematical modeling for pressure vessel, determine each variable affecting construction of pressure vessel performance And excursion, set up the object function that construction of pressure vessel optimizes;
The optimization design of pressure vessel is through regulating each structural parameters, obtains optimal container with minimum cost Performance, by for the functional relationship between pressure vessel parameter and performance, sets up following function model:
min f ( x ) = 0.6224 x 1 x 3 x 4 + 1.7781 x 2 x 3 2 + 3.1661 x 1 2 x 4 + 19.84 x 1 2 x 3 g 1 ( x ) = - x 1 + 0.0193 x 3 ≤ 0 g 2 ( x ) = - x 2 + 0.00954 x 3 ≤ 0 g 3 ( x ) = - πx 3 2 - 4 3 πx 3 2 + 1296000 ≤ 0 g 4 ( x ) = x 4 - 240 ≤ 0. - - - ( 1 )
In formula, x1Represent the thickness of container inner wall, x2Represent container rounded nose thickness, x3For the internal diameter of head circular, x4 Length for container cylindrical portion;In above formula, f (x) is required object function, and g1(x)、g2(x)、g3(x)、g4X () is ginseng The constraints of number;
Step 2: cuckoo and the initiation parameter of fireworks algorithm and population are set;
Initiation parameter: in cuckoo algorithm, step-size in search α, the detection probability P of cuckoo bird eggα;In fireworks algorithm, The radius R of demolition pointi, the spark number M of demolition pointi, demolition point number of plies W;According to the object function dimension obtained in commercial production D, scale Np of population, individual maximum iteration time GMAX, current iteration number of times t=0 is set, population is individual for i-th at t Body is represented by:
X i t = ( x i , 1 t , x i , 2 t , ... , x i , D t ) , i = 1 , 2 , ... , N p - - - ( 2 )
The feasible zone of the search of population is [Xmin,Xmax], the scope that regulation must be limited to of each dimension in individuality In;Initialization of population is:
X i 0 = X m i n + r a n d ( 1 , N p ) × ( X m a x - X m i n ) , i = 1 , 2 , ... , N p - - - ( 3 )
Rand (1, Np) creates Np the uniform random number between (0,1) when algorithm runs;
Step 3: the population one of algorithm is divided into two sub-population N1=Np/2, N2=Np/2;Respectively by N1And N2Place (E in two completely self-contained evolution environment1, E2);
Step 4: at evolution environment E1In, population is carried out according to the basic procedure of cuckoo algorithm, including step 4.1~ Step 4.3:
Step 4.1: the present age, the position of cuckoo Bird's Nest wasI=1,2 ..., N1, cloth Paddy bird finds Bird's Nest of future generation individual by Lay dimension formulaIt is achieved thereby that the random search to space;
Step 4.2: calculate the adaptive value of alternative Bird's Nest, compareWithAdaptive value, select adaptive value in two populations The individuality that ranking is forward, defines the new Bird's Nest of cuckooI=1,2 ..., N1
Step 4.3:In each Bird's Nest(i=1,2 ..., N1, j=1,2 ..., D) all produce and be uniformly distributed Random number pα, the probability that found by former Bird's Nest owner as cuckoo bird egg, if pα< Pα, then illustrate that former host has discovered that Cuckoo bird egg, therefore, cuckoo needs the Bird's Nest that random searching is newBy contrastWithThe size of both adaptive values, Eliminate the Bird's Nest position being in a disadvantageous position;If pα≥Pα, then cuckoo Bird's Nest does not changes;Finally, the position of cuckoo Bird's Nest obtains Arrive renewal, generate a new generation Bird's Nest position
Step 5: at evolution environment E2In, sub-population is according to N2Operate according to the flow process of fireworks algorithm, concrete such as step Rapid 5.1~step 5.4:
Step 5.1: for the object function optimization problem of D dimension, fireworks demolition pointi =1,2 ..., N2, all directions in space, sequentially generate fried new Mars, the initial radium of every generation demolition point is Ri
Step 5.2: fireworks operator outwards generates the Mars of W layer centered by fried point and explodes a little, the demolition point radius of each layer For jRi/ W (j=1,2 ..., W);With a fireworks demolition point for breeding parent, generate MiIndividual sub-MarsThen demolition point is comparedWithOptimal value, so that it is determined that alternative fireworks kind of future generation Group
Step 5.3: due to the strategy using greediness to select, the gap between fireworks explode a little can be gradually lowered;For keeping planting The multiformity of group, randomly selects the individuality of 50% in fireworks population, adds differential variation operation, as follows:
U ‾ i t + 1 = { S ‾ i t + 1 + p ( S ‾ j t + 1 - S ‾ k t + 1 ) i f r a n d ≤ 0.5 i = 1 , 2 , ... , N 2 ; S ‾ i t + 1 o t h e r w i s e t = 1 , 2 , ... , G M A X - - - ( 4 )
In above formula, p is equally distributed random number, and p ∈ (0,1), j, k be randomly choose from fireworks population Body, can not be identical between i, j, k;Created the random number being evenly distributed between (0,1) by rand, population has obtained part There is candidate's demolition point of new characterIf candidate's demolition point is beyond the scope of feasible zone simultaneously, should be again to original fried PointCarry out differential variation operation, until
Step 5.4: select operation, selectWithIn advantage individual, constitute novel population of future generationFireworks explode and a little utilize differential variation to achieve searching in the range of whole feasible zone Rope;
Step 6: the communication for information operation between sub-population;
During Evolution of Population, every 10 generations, by sub-population N1And N2Melting is a population N, arranges single evolution environment For E, individual to cuckooIndividual with fireworksAdaptive value be ranked up, record current optimized individual
Step 7: terminate inspection;Whether evaluation algorithm meets end condition, if t is < GMAX, then step 2, and t=are returned t+1;Otherwise, algorithm terminates, and exports optimal value.
Advantages of the present invention and having the active effect that
1) have adjusted sub-population N1The step-size in search of middle cuckoo Lay dimension flight, the individual and optimum according to the present age in population The adaptive value relative size of body, the amplitude that Automatic adjusument cuckoo jumps.When cuckoo is in population optimal location field, Individual cognition strengthens Local Search;When individual fitness differs greatly with optimal value, step-size in search will increase, filial generation and parent Between distance increase, population expands Search Range.
2) due to probability of detection antithetical phrase population N in cuckoo algorithm1Multiformity and individual densely distributed degree have weight The impact wanted, therefore, the standard deviation of probability of detection Yu population is set up functional relationship by the present invention, and cuckoo individuality can be worked as in perception For the population distribution situation in space, it is automatically adjusted follow-on probability of detection, active balance population diversity and convergence speed Relation between degree.
3) method that in the present invention, the burst radius of fireworks algorithm uses segmentation value, contrasts previous improved procedure, just Beginning radius only uses a kind of adjustment modes, and this method take into account some multimodals, optimal value object function jumpy, respectively Time enough is had to carry out overall situation and partial situation's search in early stage and later stage, it is therefore prevented that algorithm evolution stagnation behavior.
4) be placed in two independent environment with fireworks individuality evolve individual for cuckoo respectively, remain simultaneously cuckoo and Fireworks explode optimizing mode a little.Simultaneously through 10 generations, two populations carry out communication for information rather than every generation all carries out population and melts Close, effectively reduce the complexity of algorithm, improve population diversity.
5) being inspired by other intelligent algorithm, in the present invention, in fireworks algorithm, individuality have employed differential variation mode, replaces Gaussian manner in basic fireworks algorithm, i.e. simplifies evolutionary process and too increases the purposiveness of individual selection, increase searching Probability to more excellent individuality.
6) optimization design problem that the present invention will utilize cuckoo and fireworks hybrid algorithm to preferably resolve pressure vessel, Hybrid algorithm maintains population diversity during evolution, and Search of Individual can be divided at feasible zone according to optimal value adaptively Cloth rule, adjusts the search emphasis of self;Being contrasted by basic cuckoo algorithm and fireworks algorithm, cuckoo mixes with fireworks Algorithm reduces Vessel Design cost, has obtained the higher container parameters of precision.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Fig. 2 is radius change function model curve in fireworks algorithm.
Fig. 3 is self adaptation cuckoo and fireworks hybrid algorithm (SCSFWA), basic cuckoo algorithm (CS), basic cigarette The convergence curve figure of flower algorithm (FWA);Wherein (a)~(j) respective function f respectively1~f10
Fig. 4 is construction of pressure vessel figure.
Detailed description of the invention
Below in conjunction with the accompanying drawings the present invention is made further description.The present invention have employed self adaptation cuckoo and cigarette Flower hybrid algorithm, main purpose is the optimization design problem for pressure container.Basic intelligent algorithm for multimodal, Multivariate, higher-dimension object function low optimization accuracy low, individuality is easily absorbed in locally optimal solution, and the success rate of algorithm is low.The present invention ties Close two kinds of optimized algorithm-cuckoo algorithms the most novel, excellent effect and fireworks algorithm, improve the evolution of rudimentary algorithm Parameter and strategy, it is achieved that the mutual supplement with each other's advantages between two algorithms, improve convergence of algorithm performance.
Similar with the optimization design problem of pressure vessel, technical staff sums up substantial amounts of multimodal, many in various industries Variable, higher-dimension object function as follows:
Table 1 CEC2014 benchmark test function
In table 1, function has multiple local extremum in feasible zone, and between functional value, jumping characteristic is strong, but only one of which Globally optimal solution, according to basic optimized algorithm, such as climbing hill algorithm, genetic algorithm etc., optimal value precision is low even cannot Convergence.Optimization to this type of complicated function, needs algorithm to have high from heuristic power, whenever individuality is absorbed in locally optimal solution Time, population can adjust the parameter of self, promotes individuality to jump out locally optimal solution, keeps the multiformity of population.Therefore, employing is mixed Hop algorithm optimizes problems, can be blended by different search attributes, for single algorithm, cuckoo individual or Fireworks individuality all cannot avoid easily being absorbed in the deficiency of locally optimal solution, but both is combined, it is achieved that in two kinds of algorithms Individuality carries out random search in space parallel, increases the successful probability of algorithm.In the present invention, self adaptation cuckoo mixes with fireworks Hop algorithm is as it is shown in figure 1, concrete step is respectively as follows:
Step one: by the mathematical modeling for pressure vessel, determine each variable affecting construction of pressure vessel performance And excursion, set up the object function that construction of pressure vessel optimizes.
The optimization design of pressure vessel is through regulating each structural parameters, obtains optimal container with minimum cost Performance, the with reference to the accompanying drawings figure of pressure vessel in 4, set up following functional relationship between pressure vessel parameter and performance:
min f ( x ) = 0.6224 x 1 x 3 x 4 + 1.7781 x 2 x 3 2 + 3.1661 x 1 2 x 4 + 19.84 x 1 2 x 3 g 1 ( x ) = - x 1 + 0.0193 x 3 &le; 0 g 2 ( x ) = - x 2 + 0.00954 x 3 &le; 0 g 3 ( x ) = - &pi;x 3 2 - 4 3 &pi;x 3 2 + 1296000 &le; 0 g 4 ( x ) = x 4 - 240 &le; 0. - - - ( 1 )
In formula, x1Represent the thickness of container inner wall, x2Represent container rounded nose thickness, x2For the internal diameter of head circular, x4 Length for container cylindrical portion;In above formula, f (x) is required object function, and g1(x)、g2(x)、g3(x)、g4X () is ginseng The constraints of number.
Step 2: cuckoo and the initiation parameter of fireworks algorithm and population are set;
Initiation parameter: the step-size in search α of cuckoo, the detection probability P of bird eggα, fireworks explode radius R a littlei, every generation In the Mars number M that generates of fried pointi, number of plies W of fried point.Required object function and dimension D, scale N of populationp, maximum enters Change algebraically GMAX, order just initial algebra t=0, wherein in t generation, i-th individuality is represented by:
X i t = ( x i , 1 t , x i , 2 t , ... , x i , D t ) , i = 1 , 2 , ... , N p - - - ( 2 )
Meanwhile, the hunting zone of population is [Xmin,Xmax], all individualities in the middle of population all should be limited to this feasible zone it In.Working as t=0, initialization of population is:
X i 0 = X m i n + r a n d ( 1 , D ) &times; ( X m a x - X m i n ) , i = 1 , 2 , ... , N p - - - ( 3 )
Wherein, rand (1, D) be generation 1 × D dimension, between [0,1] equally distributed random number.In conjunction with in the present invention Accompanying drawing, in experiment, the initiation parameter fixed value of algorithm is: for all of object function GMAX=1000;According in the present invention In table 1, test function and pressure vessel mathematical model, work as D=30, Np=45;Work as D=100, Np=100.
Step 3: the population one of algorithm is divided into two sub-population N1=Np/2, N2=Np/2;Respectively by N1And N2Place (E in two completely self-contained evolution environment1, E2)。
Step 4: at evolution environment E1In, population is carried out according to the basic procedure of cuckoo algorithm, including step 4.1~ Step 4.3:
Step 4.1: the present age, the position of cuckoo Bird's Nest wasI=1,2 ..., N1, cuckoo Bird finds Bird's Nest of future generation individual by Lay dimension formulaAs follows:
Wherein L é vy (λ) creates random walk, and its migration step-length is obeyed Lay dimension and is distributed:
L é vy (λ)~u=t, (1 < λ≤3) (5)
Understand step-size in search α by above formula and control the amplitude of cuckoo individuality search, for the optimizing of Solving Multimodal Function, search Step-length then to adjust according to the change of cuckoo search condition at any time at any time, and therefore the adjustable strategies of step-length cannot be with a certain Plant function variation model to match, but need to change for the search procedure of different object functions is made at any time according to population Becoming, to this, the step-size in search regulation strategy of cuckoo algorithm is herein:
s t e p = | f i - f b e s t f b e s t - f w o r s t | - - - ( 6 )
&alpha; = &alpha; &OverBar; &CenterDot; s t e p - - - ( 7 )
In formula, fbestAnd fwrostIt is respectively optimum individual and the adaptive value of worst individuality in population.WhereinFor certain value, In conjunction with accompanying drawing 1,Using the relative distance between current individual and optimum individual as feedback quantity, according to individuality in search Different conditions residing for during regulates step-size in search in real time, adds the efficiency of algorithm.When the individuality in population and optimum When body adaptive value difference is bigger, the Bird's Nest of future generation selected by cuckoo will increase individual for entirely away from parent Bird's Nest The dynamics of office's search.If the present age, individuality differed less with optimum individual adaptive value, cuckoo can lay particular emphasis on Local Search.In the past Cuckoo step-size in search adjust mode only with some fixing function models, such as linear function, exponential function etc., herein Step-size in search be adjusted not based on the algebraically evolved, but be adjusted according to individual being actually needed, improve Convergence of algorithm performance, is also that algorithm more has universality.
Step 4.2: calculate the adaptive value of alternative Bird's Nest, compareWithAdaptive value, select adaptive value in two populations The individuality that ranking is forward, defines the new Bird's Nest of cuckooI=1,2 ..., N1
Step 4.3: at the new Bird's Nest of cuckooIn, each is individualAll randomly generate a corresponding probability of detection pα, If pα< Pα, then the former host of Bird's Nest is found that cuckoo bird egg, cuckoo individuality then need to find a new Bird's Nest at random RelativelyWithThe size of adaptive value, finds optimum Bird's Nest composition cuckoo next generation population.If pα≥Pα, then former place is described Main discovery cuckoo bird egg, Bird's Nest invariant position.
Therefore, cuckoo Bird's Nest arranges the main purpose of probability of detection and is introduced into external Bird's Nest, prevents population to be absorbed in local Optimal solution, increases population diversity.Basic cuckoo algorithm probability of detection is definite value, and conventional improvement cuckoo algorithm uses The function model successively decreased, enables population global search in the early stage, and the later stage focuses on Local Search.The present invention is by cuckoo algorithm Individual fitness standard deviation be connected with probability of detection, specific strategy is as follows:
s t d ( S i t ) = 1 N 1 ( &Sigma; j = 1 N 1 ( f i t n e s s ( s j t ) - &mu; ) 2 ) - - - ( 8 )
P &alpha; = 1 - s t d ( s j t ) m a x ( s t d ( s i t ) ) , , t = 1 , 2 , ... , G M A X , i = 1 , 2 , ... , N 1 - - - ( 9 )
In above formula, μ is the t average environment adaptive value for individualities all in population,Represent algorithm The maximum standard deviation that recorded in evolutionary generation in the past.By calculating the standard deviation of every generation population, every generation population is owned by One optimum probability of detection, this regulative mode achieves and defines one between individual probability of detection and population diversity Closed loop control.When more disperseing between individuality, Population adaptation value standard deviation is relatively big, and cuckoo bird egg probability of detection is less, outward The probability that the random Bird's Nest come adds population of future generation is less, accelerates the speed of algorithmic statement;If concentration class is relatively between individuality Good, population norms difference is less, and the probability of detection of bird egg is relatively big, and cuckoo then can focus on the search for whole space, improves Population diversity.Therefore, using Population adaptation value standard deviation as feedback quantity, make Search of Individual more have motility, according to kind The search situation of the every generation of group, is automatically adjusted bird egg probability of detection, improves the precision of object function optimal value.
Step 5: at evolution environment E2In, sub-population is according to N2Operate according to the flow process of fireworks algorithm, concrete such as step Rapid 5.1~step 5.4:
Step 5.1: the fried point of fireworks is represented byI=1,2 ..., N2, by N in space2 Individual fried point generates Mars to D direction within respective territory, and the initial radium of every generation demolition point is Ri, wherein explode Point initial radium RiIt is the key factor affecting fireworks algorithm search efficiency, for taking into account algorithm optimal value precision and convergence rate, Fried point should cover inside global scope in the algorithm starting stage as far as possible, and at later stage of evolution, the radius of fried point then to keep less Numerical value, strengthens for the search in locally optimal solution contiguous range, and therefore, the radius employing segmentation that in the present invention, fireworks explode a little takes Value:
R i = R max , t &le; G M A X 3 R ^ ( t - 2 G M A X 3 ) 2 + R min G M A X 3 < t &le; 2 G M A X 3 R min t > 2 G M A X 3 - - - ( 10 )
Wherein, Rmax, RminFor the maximum of fried some radius,It is a constant, in the present invention, Rmax=10, Rmin= 0.0001, andUnderstand in conjunction with function of radius change curve in accompanying drawing 2, fried point the algorithm initial stage with And the later stage is definite value, thus ensure that the time of individual overall situation and partial situation search, improve the precision of optimal value.In the algorithm Phase, the radius of demolition point is gradually lowered, it is achieved that individual gradually transition from global search to local optimal searching, enables individuality to exist The different phase of population adjusts the hunting zone of Mars.
Step 5.2: in fireworks algorithm, individual blast produces the Mars (W=D in experiment) of W layer, the blast of each layer of Mars Radius be jr/W (j=1,2 ..., W), centered by fried point, in territory generate MiIndividual MarsCalculateWithIn the optimal value of each individuality being ranked up, select N2Individual optimum Individual alternative fireworks population of future generation
During fried point generates Mars, the number of Mars should determine according to individual search capability, therefore, and MiCalculate public affairs Formula is as follows:
Wherein, RiFor currently exploding the initial radium of point,For the maximum radius value that recorded in algorithm running,For in definite value, this experimentMars number more determines according to the search radius of fried point, it is to avoid different The overlap of Mars between body, decreases the useless demolition point of algorithm, it is ensured that individuality is uniformly distributed for different search volumes, carries High algorithm search efficiency.
Step 5.3: choose the advantage individuality in Mars and replace the parent individuality that adaptive value is relatively low, the evolution plan of this greediness Slightly can reduce the multiformity of population.For increasing the distance between fireworks individuality, the present invention adds differential variation operation, specifically Method is as follows:
U &OverBar; i t + 1 = { S &OverBar; i t + 1 + p ( S &OverBar; j t + 1 - S &OverBar; k t + 1 ) i f r a n d &le; 0.5 i = 1 , 2 , ... , N 2 ; S &OverBar; i t + 1 o t h e r w i s e t = 1 , 2 , ... , G M A X - - - ( 12 )
Wherein, p is the uniform random number between [0,1], and j, k are that the inequality randomly choosed in population is individual, i ≠ J, i ≠ k, the purpose adding differential variation operation is to introduce the individuality with brand-new character, prevents algorithm to be absorbed in Excellent solution
Step 5.4: select operation;By comparingWithAdaptive value size, choose optimum individual and constitute down A generation explodes position a little
Step 6: the communication for information between sub-population;
In two independent evolution environment, cuckoo algorithm and fireworks algorithm all maintain respective Evolution.For Strengthen the communication for information of whole population, every 10 generations, by sub-population N1And N2Merge and carry out selecting operation in an environment, will Currently available optimum individual adaptive value is as the history optimal solution of each population.
Step 7: terminate inspection;
Whether evaluation algorithm can terminate, if t is < GMAX, then step 2, t=t+1 are returned;Otherwise, then algorithm terminates, output Optimal solution.
The above be self adaptation cuckoo and fireworks hybrid algorithm institute in steps with principle.For the test present invention calculates The effectiveness of method, tests FWA algorithm, CS algorithm and SCSFWA algorithm test function in Table 1, each survey respectively Trial function carries out 50 groups of experiments respectively, and statistics often organizes average optimal value and the standard deviation of experiment, as shown in table 2:
The average optimal value of 2 three kinds of algorithms of table and standard deviation
Accompanying drawing 3 have chosen algorithmic statement curve representative in often group experiment;The experiment knot of contrast CS, FWA algorithm Really, SCSFWA algorithm improves the order of magnitude of optimal value precision, it is therefore prevented that algorithm has been absorbed in locally optimal solution, for evolving not Dynamically regulating the individual direction of search with zone algorithm according to the search condition of population with the stage, the versatility of algorithm is stronger.
Being applied in the optimization design problem of pressure vessel by above-mentioned three kinds of algorithms, the structural parameters of container are as follows:
The pressure vessel parameters optimization that 3 three kinds of algorithms of table obtain
Algorithm x1 x2 x3 x4 g(x1) g(x2) g(x3) g(x4) f(x)
FWA 12.56 6.871 500.8 7.222 -2.909 -2.093 -5.42e+05 -232.7 4.66e+06
CS 9.058 5.469 461.8 9.507 -0.144 -1.063 -2.67e+05 -230.4 2.85e+06
SCSFWA 8.657 5.760 420.5 7.218 -0.541 -1.748 -2.47e+02 -232.7 2.45e+06
In sum, SCSFWA algorithm, with minimum cost, has obtained optimal structural parameters, has improve pressure vessel Structural behaviour.

Claims (5)

1. an Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm, it is characterised in that tool Body comprises the steps:
Step one: by the mathematical modeling for pressure vessel, determine affect construction of pressure vessel performance each variable and Excursion, sets up the object function that construction of pressure vessel optimizes;
The optimization design of pressure vessel is through regulating each structural parameters, obtains optimal container with minimum cost Can, by for the functional relationship between pressure vessel parameter and performance, set up following function model:
In formula, x1Represent the thickness of container inner wall, x2Represent container rounded nose thickness, x3For the internal diameter of head circular, x4For holding The length of device cylindrical portion;In above formula,For required object function, andFor The constraints of parameter;
Step 2: cuckoo and the initiation parameter of fireworks algorithm and population are set;
Initiation parameter: in cuckoo algorithm, step-size in searchThe probability of detection of cuckoo bird eggIn fireworks algorithm, blast The radius R of pointi, the spark number M of demolition pointi, demolition point number of plies W;According to the object function dimension D obtained in commercial production, plant Scale Np of group, individual maximum iteration time GMAX, current iteration number of times t=0 is set, population can table for i-th individuality at t It is shown as:
The feasible zone of the search of population is [Xmin, Xmax], in individuality, each dimension must limit within the limits prescribed; Initialization of population is:
Rand (1, Np) creates Np the uniform random number between (0,1) when algorithm runs;
Step 3: the population one of algorithm is divided into two sub-population N1=Np/2, N2=Np/2;Respectively by N1And N2It is placed on two (E in completely self-contained evolution environment1,E2);
Step 4: at evolution environment E1In, population is carried out according to the basic procedure of cuckoo algorithm, including step 4.1 ~ step 4.3:
Step 4.1: the present age, the position of cuckoo Bird's Nest was Cuckoo Bird's Nest of future generation is found individual by Lay dimension formulaIt is achieved thereby that the random search to space;
Step 4.2: calculate the adaptive value of alternative Bird's Nest, compareAdaptive value, select adaptive value ranking in two populations Forward individuality, defines the new Bird's Nest of cuckoo
Step 4.3:In each Bird's NestAll produce and be uniformly distributed Random number, the probability that found by former Bird's Nest owner as cuckoo bird egg, ifThen illustrate that former host has been found that Cuckoo bird egg, therefore, cuckoo needs random to find new Bird's Nest, by contrastWithBoth adaptive values big Little, eliminate the Bird's Nest position being in a disadvantageous position;IfThen cuckoo Bird's Nest does not changes;Finally, cuckoo Bird's Nest Position is updated, and generates a new generation Bird's Nest position
Step 5: at evolution environment E2In, sub-population is according to N2Operate according to the flow process of fireworks algorithm, concrete such as step 5.1 ~ step 5.4:
Step 5.1: for the object function optimization problem of D dimension, fireworks demolition point All directions in space, have sequentially generated fried new Mars, and the initial radium of every generation demolition point is Ri
Step 5.2: fireworks operator outwards generates the Mars of W layer centered by fried point and explodes a little, and the demolition point radius of each layer isWith a fireworks demolition point for breeding parent, generate MiIndividual sub-MarsThen demolition point is comparedWithOptimal value, so that it is determined that alternative fireworks kind of future generation Group
Step 5.3: due to the strategy using greediness to select, the gap between fireworks explode a little can be gradually lowered;For keeping population Multiformity, randomly select the individuality of 50% in fireworks population, add differential variation operation, as follows:
In above formula, p is equally distributed random number, andIt is the individuality randomly choosed from fireworks population,i, j, kBetween can not be identical;Pass throughrandCreating the random number being evenly distributed between (0,1), population has obtained part to be had Candidate's demolition point of new characterIf candidate's demolition point is beyond the scope of feasible zone, should be again to original fried point simultaneously Carry out differential variation operation, until
Step 5.4: select operation, selectIn advantage individual, constitute novel population of future generationFireworks explode and a little utilize differential variation to achieve the search in the range of whole feasible zone;
Step 6: the communication for information operation between sub-population;
During Evolution of Population, every 10 generations, by sub-population N1And N2Melting is a population N, and arranging single evolution environment is E, Individual to cuckooIndividual with fireworksAdaptive value be ranked up, record current optimized individual
Step 7: terminate inspection;Whether evaluation algorithm meets end condition, ifThen return step 2, andt=t+1; Otherwise, algorithm terminates, and exports optimal value.
2. Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm as claimed in claim 1, It is characterized in that, in step 3.1, cuckoo finds Bird's Nest of future generation by Lay dimension flight, as follows:
WhereinFor step-size in search,For Lay dimension distribution;Cuckoo algorithm search step-length can adapt to according to current individual The change of value adjusts at any time, as follows:
WhereinFor the optimal value of adaptive value, worst-case value in contemporary populationFor certain value,stepIt is to weigh current bird The tolerance of gap between nest and optimum Bird's Nest.
3. Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm as claimed in claim 1, It is characterized in that, described step 3.3 sets a random number for each Bird's NestCuckoo bird is found as former host The probability of egg;Therefore, the probability of detection of algorithm initialization phase setsControl the external Bird's Nest influence degree for population, By suitable regulationThe dispersion degree between individuality can be changed;General in the standard deviation of contemporary population and the discovery of cuckoo Following functional relationship is established between rate:
WhereinFor adaptive value individual average in population,For in the previous evolutionary process of kind of group records, the maximum of appearance Standard deviation, this parameter is determined by the relative standard deviation between evolutionary generation, enables individuality to divide in space according to optimal value Cloth situation changes probability of detection at any time.
4. Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm as claimed in claim 1, It is characterized in that, the initial radium R of step 4.1 fireworks demolition pointiSegmentation value is used to be adjusted, fried some MiThen with self Region of search size set rational numerical value;The demolition point radius of fireworks algorithm and number according to the different evolution time periods, Different changing patteries is set, as follows:
In above formula, Rmax、RminIt is respectively the maxima and minima of fried some radius,For constant, it is present to ensure that the company of function Coherence, for different algorithm parameters, value is the most different;For certain value,Represent fried some radius maximum in population.
5. Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm as claimed in claim 1, It is characterized in that, step 5 is by sub-population N1And N2It is mixed into a population N every 10 generations, promotes between two Different Individual Communication for information;For all of individualityCalculate corresponding adaptation Value, the optimal value of record population, and as N1And N2History optimal value when two sub-populations are independently evolved.
CN201610451501.0A 2016-06-21 2016-06-21 A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm Pending CN106127295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610451501.0A CN106127295A (en) 2016-06-21 2016-06-21 A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610451501.0A CN106127295A (en) 2016-06-21 2016-06-21 A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm

Publications (1)

Publication Number Publication Date
CN106127295A true CN106127295A (en) 2016-11-16

Family

ID=57471130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610451501.0A Pending CN106127295A (en) 2016-06-21 2016-06-21 A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm

Country Status (1)

Country Link
CN (1) CN106127295A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678554A (en) * 2017-09-05 2018-02-09 湘潭大学 A kind of method and system of keyboard layout of mobile phone
CN108805349A (en) * 2018-05-30 2018-11-13 中国科学院遥感与数字地球研究所 A kind of crop-planting spatial configuration optimal method based on improvement cuckoo algorithm
CN110471419A (en) * 2019-08-23 2019-11-19 北京工业大学 A kind of multirobot collaboration paths planning method based on differential evolution fireworks algorithm
CN110533905A (en) * 2019-07-03 2019-12-03 广东工业大学 A kind of method of forecasting traffic flow, system and equipment
CN110555548A (en) * 2019-08-05 2019-12-10 三峡大学 ICS-ELM ultra-short-term wind power prediction method based on data mining original error correction
CN112068429A (en) * 2020-08-31 2020-12-11 五邑大学 SFCS (sparse form-factor correction) algorithm-based sliding mode controller parameter setting method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225003A (en) * 2015-09-23 2016-01-06 西北工业大学 A kind of cuckoo searching algorithm solves the method for UAV multitask investigation decision problem
CN105260785A (en) * 2015-08-24 2016-01-20 屈迟文 Logistic distribution vehicle path optimizing method based on improved Cuckoo algorithm
CN105279570A (en) * 2015-06-19 2016-01-27 电子科技大学 Complex machinery product assembling sequence programming method based on firework algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105279570A (en) * 2015-06-19 2016-01-27 电子科技大学 Complex machinery product assembling sequence programming method based on firework algorithm
CN105260785A (en) * 2015-08-24 2016-01-20 屈迟文 Logistic distribution vehicle path optimizing method based on improved Cuckoo algorithm
CN105225003A (en) * 2015-09-23 2016-01-06 西北工业大学 A kind of cuckoo searching algorithm solves the method for UAV multitask investigation decision problem

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
TAN Y ETAL.: "Introduction to Fireworks Algorithm", 《INTERNATIONAL JOURNAL OF SWARM INTELLIGENCE RESEARCH》 *
YANG XS ETAL.: "Multiobjective cuckoo search for design optimization", 《COMPUTERS AND OPERATIONS RESEARCH》 *
陈乐 等: "求解工程结构优化问题的改进布谷鸟搜索算法", 《计算机应用研究》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678554A (en) * 2017-09-05 2018-02-09 湘潭大学 A kind of method and system of keyboard layout of mobile phone
CN107678554B (en) * 2017-09-05 2020-07-03 湘潭大学 Method and system for layout of mobile phone keyboard
CN108805349A (en) * 2018-05-30 2018-11-13 中国科学院遥感与数字地球研究所 A kind of crop-planting spatial configuration optimal method based on improvement cuckoo algorithm
CN110533905A (en) * 2019-07-03 2019-12-03 广东工业大学 A kind of method of forecasting traffic flow, system and equipment
CN110533905B (en) * 2019-07-03 2022-02-15 广东工业大学 Traffic flow prediction method, system and equipment
CN110555548A (en) * 2019-08-05 2019-12-10 三峡大学 ICS-ELM ultra-short-term wind power prediction method based on data mining original error correction
CN110471419A (en) * 2019-08-23 2019-11-19 北京工业大学 A kind of multirobot collaboration paths planning method based on differential evolution fireworks algorithm
CN112068429A (en) * 2020-08-31 2020-12-11 五邑大学 SFCS (sparse form-factor correction) algorithm-based sliding mode controller parameter setting method and device and storage medium

Similar Documents

Publication Publication Date Title
CN106127295A (en) A kind of Optimal Design of Pressure Vessel method based on self adaptation cuckoo Yu fireworks hybrid algorithm
Cvetkovic et al. Preferences and their application in evolutionary multiobjective optimization
Herrera et al. Fuzzy adaptive genetic algorithms: design, taxonomy, and future directions
EP1921280A2 (en) Systems and methods for multi-level optimizing control systems for boilers
CN112862380B (en) Project type product assembly workshop personnel scheduling method and device based on hybrid algorithm and storage medium
CN101617328A (en) The automatic configuration method and the device that in problem solving environment, are used for meta-heuristic algorithms
Jin et al. Fine-tuning heuristic methods for combinatorial optimization in forest planning
Kewley et al. Computational military tactical planning system
CN101842754A (en) Method for the computer-assisted exploration of states of a technical system
CN108551175B (en) Energy storage capacity configuration method for power distribution network
CN109190278A (en) A kind of sort method of the turbine rotor movable vane piece based on the search of Monte Carlo tree
CN109670655B (en) Multi-target particle swarm optimization scheduling method for electric power system
CN109657884A (en) Power grid power supply optimization method, apparatus, equipment and computer readable storage medium
CN104504440A (en) Method and system for predicting ammunition consumption based on interpretative structural modeling knowledge refinement
EP3129839A1 (en) Controlling a target system
CN113609761B (en) Calculation method, device, equipment and storage medium of model parameters
CN115342812A (en) Unmanned aerial vehicle three-dimensional flight path planning method based on improved butterfly optimization algorithm
CN115981372A (en) high-Mach-number aircraft jumping flight segment trajectory optimization method
LK et al. Design and Implementation of Machine Learning Modelling through Adaptive Hybrid Swarm Optimization Techniques for Machine Management
CN109212999A (en) The intelligent generation method and system of digital satellite emulation operating condition
CN109325288A (en) A kind of Solid Launch Vehicle population parameter based on uncertainty optimization determines method and system
Fu et al. A novel firefly algorithm based on improved learning mechanism
CN110185789A (en) New energy vehicle AMT Shifting based on bee colony Artificial neural network ensemble
CN108509735A (en) A kind of Cylinder Liner-piston Ring break-in trend prediction method
CN107292007A (en) A kind of product Design Decision Making based on effectiveness supports system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161116