How to solve linear equations using a genetic algorithm?
问题 I want to solve a system of n linear equations containing n variables using a genetic algorithm. I am having difficulty in defining the crossover operation as the solution may consist of floating point values. How do I proceed? It seems possible, but this is my first encounter with genetic algorithms. Suppose we have to solve x + 2y = 1 2x + 8y = 3 The answer would be x = 1/2 and y = 1/4. How do we model the problem? Update : see if you could decipher anything from the paper http://www