The GA Procedure |
retrieves objective function values from the current solution generation
The inputs to the GetObjValues subroutine are as follows:
dest | is an array to receive the objective values. |
n | is the number of objective values to get. |
The GetObjValues subroutine is used to retrieve the objective values for the current solution generation. It can be called from a user update routine or finalize routine. If it is called from a finalize routine, and if the elite parameter from a SetElite call is 1 or greater, then the first elite members of the population are the fittest of the population, and they are sorted in order, starting with the most fit. The input dest should be a dimensioned variable, with dimension greater than or equal to n.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.