while using Genetic algorithm, my " best value" is the same, it does ot change

1 view (last 30 days)
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.
the best penalty is 113.9 in each generations.
  1 Comment
Adam
Adam on 24 Aug 2016
Maybe the problem is sufficiently simple that that is the optimum value that is always reached early?

Sign in to comment.

Answers (1)

Shruti Shivaramakrishnan
Shruti Shivaramakrishnan on 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.

Community Treasure Hunt

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

Start Hunting!