GAEND Call

CALL GAEND (id) ;

The GAEND subroutine ends a genetic algorithm optimization and frees memory resources. The arguments to the GAEND call are as follows:

id

is the identifier for the genetic algorithm optimization problem, which was returned by the GASETUP function.

The GAEND call ends the genetic algorithm calculations associated with id and frees up all associated memory.

See the GASETUP function for an example.