Main code GASA

所属分类:其他
开发工具:matlab
文件大小:884KB
下载次数:5
上传日期:2020-11-30 11:19:50
上 传 者包粟
说明:  遗传算法的优化,结合着模拟退火算法找到最佳值
(Optimization of genetic algorithm, combined with simulated annealing algorithm to find the best value)

文件列表:
Main code GASA\BOLTZMAN.m (78, 2019-03-02)
Main code GASA\CROSSOVER.m (234, 2019-03-02)
Main code GASA\CROSSOVER3.m (655, 2019-03-02)
Main code GASA\OBJFUNC.m (1519, 2019-03-02)
Main code GASA\P.m (62, 2019-03-02)
Main code GASA\SORT.m (451, 2019-03-02)
Main code GASA\Velasco_Cmsc191_FinalExam.pdf (1885662, 2019-03-02)
Main code GASA\Velasco_GA.m (8670, 2020-08-18)
Main code GASA\Velasco_HSA.m (10797, 2020-08-18)
Main code GASA\Velasco_SA.m (5312, 2020-08-17)
Main code GASA (0, 2020-08-18)

To Run the Genetic Algorithm, open Velasco_GA.m To Run the Simulated Annealing, open Velasco_SA.m To Run the Hybrid Simulated Annealing, open Velasco_HSA.m On every GA, SA and HSA code found in the mfiles folder, find the block "INPUT ARGUMENTS", the following arguments are found there: I. Velasco_GA.m: = CostF - Objective Function to minimize - 1 - DE JONGS - 2 - AXIS PARALLEL HYPER-ELLIPSOID - 3 - ROTATED HYPER-ELLIPSOID - 4 - RASTRIGINS - ow - ACKLEYS = nVar - number alleles of chromosome = VarSize - stores the fittest chromosome per iteration (no need to change) = VarMin - lower bound of variable value = VarMax - upper bound of variable value = MaxGen - maximum number of generations (this is met if tol is not yet met) = nPop - chromosome population per generation = nSel - Type of Selection process to use - 1 - Tournament Selection - ow - Roulette Wheel Selection = mu - mutation rate = sigma - crossover rate = cxver - Type of Crossover process to use - 1 - Single point Crossover - ow - Three point Crossover | = tol - fitness tolerance (minimization problem) II. Velasco_SA.m: = CostF - Objective Function to minimize - 1 - DE JONGS - 2 - AXIS PARALLEL HYPER-ELLIPSOID - 3 - ROTATED HYPER-ELLIPSOID - 4 - RASTRIGINS - ow - ACKLEYS = nVar - number alleles of chromosome = VarSize - stores the fittest chromosome per iteration (no need to change) = VarMin - lower bound of variable value = VarMax - upper bound of variable value = MaxIt - maximum number of iterations (so as to avoid too much iterations) = T0 - initial temperature = Tf - final temperature = alpha - temperature reduction rate = nMove - number of neighbors the solution considers = mu - mutation rate III. Velasco_HSA.m: = CostF - Objective Function to minimize - 1 - DE JONGS - 2 - AXIS PARALLEL HYPER-ELLIPSOID - 3 - ROTATED HYPER-ELLIPSOID - 4 - RASTRIGINS - ow - ACKLEYS = nVar - number alleles of chromosome = VarSize - stores the fittest chromosome per iteration (no need to change) = VarMin - lower bound of variable value = VarMax - upper bound of variable value = MaxIt - maximum number of iterations (so as to avoid too much iterations) = T0 - initial temperature = Tf - final temperature = alpha - temperature reduction rate = nPop - number of chromosomes per iteration = nMove - number of neighbors the solution considers = mu - mutation rate = sigma - crossover rate The for loop found at the top can be uncommented if the user desires to. The values found in the arguments are the recommended input arguments for the algorithms. The raw results of the tests can be found in the latex folder.

近期下载者

相关文件


收藏者