I have programmed an optimization problem based on genetic algorithms following the scheme:
x = ga(fun,nvars,A,b,,,lb,ub,,IntCon,options)
As InitialPopulationMatrix I have introduced a set of possible individuals determined through heuristics.
When I run the algorithm, I only get as final solution the first of the individuals of the InitialPopulationMatrix, even though there are other individuals with better solution fval.
Can someone help me? Thank you very much in advance