No BSD License  

Highlights from
Model Determination using Genetic Algorithm: Application to Vapour Pressure vs Temperature Equations

image thumbnail

Model Determination using Genetic Algorithm: Application to Vapour Pressure vs Temperature Equations

by

 

19 Aug 2007 (Updated )

Model determination using the genetic algorithm

binous
function [X,FVAL,REASON,OUTPUT,POPULATION,SCORES] =  binous
%%   This is an auto generated M file to do optimization with the Genetic Algorithm and
%    Direct Search Toolbox. Use GAOPTIMSET for default GA options structure.

global X

%%Fitness function
fitnessFunction = @obj;
%%Number of Variables
nvars = 6 ;
%Start with default options
options = gaoptimset;
%%Modify some parameters
options = gaoptimset(options,'PopInitRange' ,[60 -8500 0 -15 5e-006 2 ...
    ; 90 -7500 0 -5 7e-006 2 ]);
options = gaoptimset(options,'PopulationSize' ,10);
options = gaoptimset(options,'CrossoverFraction' ,0.9);
options = gaoptimset(options,'Generations' ,20);
options = gaoptimset(options,'StallGenLimit' ,Inf);
options = gaoptimset(options,'StallTimeLimit' ,Inf);
options = gaoptimset(options,'SelectionFcn' ,@selectionuniform);
options = gaoptimset(options,'MutationFcn' ,{ @mutationuniform 0.01 });
options = gaoptimset(options,'Display' ,'off');
% options = gaoptimset(options,'PlotFcns' ,{ @gaplotbestf });
%%Run GA
[X,FVAL,REASON,OUTPUT,POPULATION,SCORES] = ga(fitnessFunction,nvars,options);

Contact us