Genetic Algorithm Toolbox Problem
Show older comments
I could not create a "creation function" in the genetic algorithm toolbox. My population consists of only real values. Firstly, my creation function includes,
function chrom=initrp(Nind,FunctionName,Options);
But i get stuck on "options" part. I am trying to write variables for options part. but it always give error on this.
How can i solve this problem? Thanks
Accepted Answer
More Answers (1)
VENKATA SUPRIYA GOTTAM
on 2 Mar 2024
0 votes
Unrecognized function or variable 'initrp'.
Error in genet (line 36)
chrom=initrp(pop,range);
Categories
Find more on Genetic Algorithm 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!