SAS/IML Software and Matrix Computations

Statistical programming, matrix languages, and more
BookmarkSubscribeRSS Feed
stoffprof
Fluorite | Level 6

I've found the genetic algorithm documentation to be somewhat vague with regard to the details of its implementation. For example, in describing the GASETSEL call, nothing is said about how members are chosen from the population to participate in the tournament. Is it a roulette wheel implementation?

2 REPLIES 2
stoffprof
Fluorite | Level 6

Another example: what does the random seed in GASETUP do if a user-written initialization module is specified? Does it do anything?

Hutch_sas
SAS Employee

Members are chosen completely at random from the population to participate in the tournament. The tournament itself generates the selection pressure to choose the fittest  member. If you are concerned that a very fit member of the population might not be chosen to participate in the tournament, you can use the elite parameter to guarantee the best solution are carried over to the next generation. There is a "Genetic Algorithms" section of the Language Reference Manual that explains the operation of the genetic algorithm routines in  more detail.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 2 replies
  • 1828 views
  • 3 likes
  • 2 in conversation