i am getting different results for different times of running the genetic algorithm

3 views (last 30 days)
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

Accepted Answer

Walter Roberson
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!