Generating numbers whose sum is 1 during genetic algorithms optimization
3 次查看(过去 30 天)
显示 更早的评论
I need to run a GA optimization and I have 12 parameters whose values must be between 0 and 1. However, their sum must always be 1, as they represent fractions of a component.
How do I make sure that my genetic algorithm will generate numbers that satisfy these two conditons simultaneously?
Thank you!
0 个评论
回答(1 个)
另请参阅
类别
在 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!