while using Genetic algorithm, my " best value" is the same, it does ot change
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Adam
el 24 de Ag. de 2016
Maybe the problem is sufficiently simple that that is the optimum value that is always reached early?
Respuestas (1)
Shruti Shivaramakrishnan
el 30 de Ag. de 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 comentarios
Ver también
Categorías
Más información sobre Genetic Algorithm en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!