i am getting different results for different times of running the genetic algorithm
3 views (last 30 days)
Show older comments
trilochan
on 19 Oct 2013
Answered: Walter Roberson
on 19 Oct 2013
hi i'm working on a project in which i have to minimize the net annual cost( objective function). the variable range is in 500-5000. i am getting different results when i run it several times and also the results are weird. can anyone help me i have attached my objective function file and can anyone give me suggestions in choosing the parameters like mutation rate etc. thank you in advance
0 Comments
Accepted Answer
Walter Roberson
on 19 Oct 2013
Genetic algorithms involve randomization. The results will only be the same if your function does not have wide local minimums and the calculation is run for long enough.
0 Comments
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!