what is the best choice?
1 次查看(过去 30 天)
显示 更早的评论
I have the problem for discrete values of decision variables, a real coded genetic algorithm or a Binary coded genetic algorithm is good ?
0 个评论
采纳的回答
Walter Roberson
2018-3-20
It depends on what you are calculating.
You should have a look at https://www.mathworks.com/help/optim/ug/mixed-integer-linear-programming-algorithms.html
3 个评论
Walter Roberson
2018-3-20
For the purposes of particle swarm algorithms, a population is a collection of particles, each of which has a vector of values of decision variables, along with velocities, and typically also information about the "cost" of that vector, and perhaps also information about which generation the particle was created in. For genetic algorithms a population is similar but would not have a "velocity" for each entry.
更多回答(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!