The GA Procedure

SetUpdateRoutine Call

designates a control subroutine to be called at each iteration

call SetUpdateRoutine( 'routine' );

The input to the SetUpdateRoutine subroutine is as follows:

routine        is the name of a subroutine you have defined that is called once during each iteration of the optimization process. This parameter must be a string literal; a variable is not accepted.

The SetUpdate subroutine enables you to define a subroutine to be called at each iteration of the optimization process, in order to monitor the progress of the genetic algorithm, adjust optimization parameters, or perform calculations that depend on the population as a whole. The specified routine is called once at each iteration, just before the selection process and after the evaluation phase. See the section "Defining a User Update Routine" for a discussion of how an update routine might be used.

Previous Page | Next Page | Top of Page