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.

2 views (last 30 days)
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 Comments
John D'Errico
John D'Errico on 1 Mar 2018
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.

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!