Maximising a function

e.g. Each value of parameter x constructs a solution with fitness f(x).
Find the x value that gives maximum fitness f(x).

Strategy:
  1. If we have an equation for the function and it is differentiable:
  2. Interesting case is where no equation known / not differentiable (but can still judge fitness of any given x). General approach:



The idea of Maximising a function from exemplars is that "nearby" Input should generate "nearby" Output.

But some functions defeat this simple idea:




Chaotic functions




Chaos Theory demo




Non-chaotic functions

We do not expect in general to be able to maximise a chaotic (or discontinuous) function from exemplars.
The global maximum must be surrounded by some continuous zone of uplands, otherwise how can we find it.
It cannot be a single, isolated point or else the odds of finding that precise x go to zero.