The GA Procedure |
UpdateSolutions Call |
updates current solution population
The inputs to the UpdateSolutions subroutine are as follows:
sol |
is an array containing the replacement solution elements. |
n |
is the number of solutions to update. |
seg |
is the segment of the solution to replace. |
The UpdateSolutions subroutine is used to replace the values of the selected solution segment with new values computed in an update routine. The update routine can be designated in a SetUpdateRoutine call. The UpdateSolutions call is often used to implement advanced strategies such as marking Pareto-optimal sets or employing local optimizations. The sol parameter should have 2 dimensions. The first dimension represents the solution number, and should have a value of n or greater. The second dimension represents the element within the solution seg, and should be equal to the segment size.
Copyright © SAS Institute, Inc. All Rights Reserved.