Genetic Algorithm and Direct Search Toolbox Previous page   Next Page

Stopping Conditions for the Algorithm

The genetic algorithm uses the following five conditions to determine when to stop:

The algorithm stops as soon as any one of these five conditions is met. You can specify the values of these criteria in the Stopping criteria options in the Genetic Algorithm Tool. The default values are shown in the figure below.

When you run the genetic algorithm, the Status panel displays the criterion that caused the algorithm to stop.

The options Stall time limit and Time limit prevent the algorithm from running too long. If the algorithm stops due to one of these conditions, you might improve your results by increasing the values of Stall time limit and Time limit.


Previous page  Plots of Later Generations Getting Started with Direct Search Next page

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS