how I can change a parameters in fitfun in genetic algorithm in each itration of a loop?
3 次查看(过去 30 天)
显示 更早的评论
In my code there is a loop that in each itration genetic algorithm optimizes my problem and give me the fval. How can a parameter be changed inside the objective function in a loop, meaning that in each iteration this parameter takes a different value and must be entered into the genetic algorithm? In fact, the value of the objective function(fval) after each itration should be used as an initial guess for the next iteration.
1 个评论
回答(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!