Genetic algorithm options in MATLAB R2013
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to know how I can enter "PopulationSize" and "MaxGeneration" into my options of Genetic algorithm in MATLAB R2013. I think it does not have such options so I need to know how I should put these options into my related codes? These are the options which my "ga" function has:
Display: 'final'
MaxFunEvals: []
MaxIter: []
TolFun: 1.0000e-06
TolX: []
FunValCheck: []
OutputFcn: []
PlotFcns: []
ActiveConstrTol: []
Algorithm: []
AlwaysHonorConstraints: []
BranchStrategy: []
DerivativeCheck: []
Diagnostics: []
DiffMaxChange: []
DiffMinChange: []
FinDiffRelStep: []
FinDiffType: []
GoalsExactAchieve: []
GradConstr: []
GradObj: []
HessFcn: []
Hessian: []
HessMult: []
HessPattern: []
HessUpdate: []
InitialHessType: []
InitialHessMatrix: []
InitBarrierParam: []
InitTrustRegionRadius: []
Jacobian: []
JacobMult: []
JacobPattern: []
LargeScale: []
MaxNodes: []
MaxPCGIter: []
MaxProjCGIter: []
MaxRLPIter: []
MaxSQPIter: []
MaxTime: []
MeritFunction: []
MinAbsMax: []
NodeDisplayInterval: []
NodeSearchStrategy: []
NoStopIfFlatInfeas: []
ObjectiveLimit: []
PhaseOneTotalScaling: []
Preconditioner: []
PrecondBandWidth: []
RelLineSrchBnd: []
RelLineSrchBndDuration: []
ScaleProblem: []
Simplex: []
SubproblemAlgorithm: []
TolCon: 1.0000e-06
TolConSQP: []
TolGradCon: []
TolPCG: []
TolProjCG: []
TolProjCGAbs: []
TolRLPFun: []
TolXInteger: []
TypicalX: []
UseParallel: 'never'
When I set my "PopulationSize" and "MaxGeneration" to my desire values, MATLAB gives me error :
Unrecognized parameter name 'PopulationSize'. Please see the optimset reference page in the
documentation for a list of acceptable
option parameters. Link to reference page.
I know that my MATLAB does not have such options. I just need to know how I can adjust these values in MATLABR2013.
1 Kommentar
Antworten (2)
Star Strider
am 7 Jun. 2021
I do not have access to the R2013x documentation, since it is no longer available online.
Are you certain those options are for the ga function?
The ga function does not use Jacobian, Hessian, or similar options, since it does not use gradient descent.
Otherwise, 'MaxGenerations' could be 'MaxIter', however nothing in those options would appear to be specific to the ga function.
0 Kommentare
Steven Lord
am 7 Jun. 2021
See this documentation page for a list of the options changes that took place in release R2016a in Global Optimization Toolbox.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!