while using Genetic algorithm, my " best value" is the same, it does ot change
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello all,
I am using GA in order to solve a MINL problem, In each population,I get the same best value, it does not change although GA supposes to do some changing in the Variable x.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/155964/image.png)
the best penalty is 113.9 in each generations.
1 Kommentar
Adam
am 24 Aug. 2016
Maybe the problem is sufficiently simple that that is the optimum value that is always reached early?
Antworten (1)
Shruti Shivaramakrishnan
am 30 Aug. 2016
The Genetic algorithm can help find the most optimal value using crossovers and mutations in the chromosomes(possible solutions). It would also depend on the fitness function being used to calculate the solutions. Could you post a code-snippet to identify if the fitness function is working as expected. Also, I see that the Generations have reached 101, the optimal solution might have converged early and remained as the best possible value.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!