while using Genetic algorithm, my " best value" is the same, it does ot change
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Adam
le 24 Août 2016
Maybe the problem is sufficiently simple that that is the optimum value that is always reached early?
Réponses (1)
Shruti Shivaramakrishnan
le 30 Août 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 commentaires
Voir également
Catégories
En savoir plus sur Genetic Algorithm dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!