What are the necessary requirements for using a GA?
...some way to represent potential solutions to a problem
(representation: bit string, list of integers or floats,
permutation, combinations, etc).
...some way to evaluate a potential solution resulting in a
scalar. This will be used by the GA to rank the worth of
a solution. This fitness (or evaluation) function needs to
be very efficient, as it may need to be called thousands -
even millions - of times.
...the final solution to be optimal.