a genetic algorithm for solving the euclidean distance matrices