BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PatrickYang
Obsidian | Level 7

When teaching myself PROC GA, I suspect I encountered some inconsistency in SAS documentation for this procedure: Between the SAS code and the description in the text. I just want to make sure my understanding is correct.

 

1. Page of SAS documentation (first block of SAS code for PROC GA): https://support.sas.com/documentation/cdl/en/orlsoug/68155/HTML/default/viewer.htm#orlsoug_ga_exampl...

 

2. SAS code:

   call Initialize('DEFAULT',200);
   call ContinueFor(140);

 

3. Description in the text: "Next, the Initialize callspecifies default initialization (random sequences) and a population size of 100. The ContinueFor call specifies a run of 220 iterations."

 

Am I correct there is inconsistency here?

 

1 ACCEPTED SOLUTION

Accepted Solutions
StevenGardner
SAS Employee

Yes you are correct, this is an inconsistency in the documentation.  I apologize for the confusion.

 

The text description in the documentation should read as follows:

 

"Next, the Initialize call specifies default initialization (random sequences) and a population size of 200. The ContinueFor call specifies a run of 140 iterations."

 

This error will be fixed in the next release of the PROC GA documentation.

View solution in original post

1 REPLY 1
StevenGardner
SAS Employee

Yes you are correct, this is an inconsistency in the documentation.  I apologize for the confusion.

 

The text description in the documentation should read as follows:

 

"Next, the Initialize call specifies default initialization (random sequences) and a population size of 200. The ContinueFor call specifies a run of 140 iterations."

 

This error will be fixed in the next release of the PROC GA documentation.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Discussion stats
  • 1 reply
  • 1440 views
  • 1 like
  • 2 in conversation