Is the ga in the ga toolbox of matlab continuous GA or binary GA?
2 views (last 30 days)
Show older comments
I want to know if the GA used in matlab optimization toolbox assumes default as continuous or binary?
1 Comment
jgg
on 23 Jan 2016
Do you mean in terms of the variables you put as an input to the objective function? It can support both binary and continuous parameters.
Answers (1)
Walter Roberson
on 23 Jan 2016
The default PopulationType is 'double', which is continuous variables. You need to specifically use an optimset() of PopulationType bitstring if you want to use binary variables.
0 Comments
See Also
Categories
Find more on Get Started with Optimization Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!