
226 Chapter 8 GenetiC alGorithms
Assignment
The maximum value of the function has reached 38 in two generations. Try
to complete Example 2 to verify how many generations it may take.
8.6.1 Stopping Criteria
GA gives “better” results as compared to traditional searching algorithms,
especially in situations where there is no concept of an optimal solution.
That is why, according to Frontline Systems (www.solver.com, 2008), evo-
lutionary algorithms are best employed on problems where it is difficult or
impossible to test for optimality. This also means that an evolutionary algo-
rithm never knows for certain when to stop, aside ...