Why doesn't it work?

There are a number of reasons why it's fiendishly difficult to use a genetic algorithm to evolve any but the most trivial JavaScript functions (e.g. constant functions or the identity function). Here are a few of them:

In summary, although genetic algorithms can be very good at optimizing parameters for existing programs, we've not yet found our genetic algorithm to be at all successful in generating/finding fit solution programs out of nothing.

What are we doing wrong?

We'd be the first admit that we're no experts in genetic/evolutionary algorithms, so we've probably missed a trick. So if you have more degrees than us, do drop us a line, we'd love to hear from you!

Back...