Dear GALib malinglist users thanks for the help. I have solved the problem. My solution: GARealGenome genome(1, alleles, Objective); double test; genome = ga.statistics().bestIndividual(); test = genome.gene(); This gives me the value I was looking for. Best Regards, Alin