Genetic Algorithm Toolbox Problem
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Walter Roberson
2012-5-7
options should be a structure, according to the response when you posted your previous question about this a short time ago.
0 个评论
更多回答(1 个)
VENKATA SUPRIYA GOTTAM
2024-3-2
Unrecognized function or variable 'initrp'.
Error in genet (line 36)
chrom=initrp(pop,range);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!