I've written a configuration selection code based on genetic algorithm. Now when i'm running it on different platforms like 2015a and 2016a it gives different answers. In my code I've repeated the algorithm 100 times so that no discrepancy occurs.

1 次查看(过去 30 天)
The code is giving different answers when executed in different MATLAB versions, i.e., 2015a and 2016a. I think the problem is occurring due to the rand function which has been used in it, but I'm not sure.
  7 个评论
John D'Errico
John D'Errico 2018-3-1
Nobody can answer a question where only a vague (and confusing) set of comments are made about what you did. If you seriously want help, then you need to show exactly what you are doing. You need to explain clearly what you perceive to be the problem.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by