while using Genetic algorithm, my " best value" is the same, it does ot change
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Adam
2016년 8월 24일
Maybe the problem is sufficiently simple that that is the optimum value that is always reached early?
답변 (1개)
Shruti Shivaramakrishnan
2016년 8월 30일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Genetic Algorithm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!