Hi, all
I'm doing a multi objective optimization using Genetic algorithm, the only documentation I found is here:
http://support.sas.com/documentation/cdl/en/orlsoug/59688/HTML/default/viewer.htm#ga_sect65.htm
There are three other examples, but all about single object.
Is there an example of multi-objective somewhere I can use?
Any comment and suggestion is welcome. Thanks!
Lingli
Try setting NOVALIDATE=3 on the PROC GA statement.
The third example actually uses two objectives: the original quadratic objective and the constraint violation.
You might also be interested in the new OPTLSO procedure available in SAS 9.4 (SAS/OR 12.3):
Multi-objective support in OPTLSO is planned for an upcoming release.
Hi, Rob:
Thanks!
I'm pasting the SAS code from this example to SAS 9.2 editor:
http://support.sas.com/documentation/cdl/en/orlsoug/59688/HTML/default/viewer.htm#ga_sect69.htm
but I cannot run this example successfully, I see this error in log:
The statement was:
1 (555:7) call ReadCompare(selected,2,2, member2);
ERROR: Error reported in function 'ContinueFor' in statement number 16 at line 611 column 5.
The statement was:
1 (611:5) call ContinueFor(500);
ERROR: Execution terminating because of previous errors.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 9 observations read from the data set WORK.LINCON.
NOTE: There were 13 observations read from the data set WORK.BOUNDS.
WARNING: The data set WORK.OUT may be incomplete. When this step was stopped there were 0
observations and 0 variables.
WARNING: Data set WORK.OUT was not replaced because this step was stopped.
NOTE: PROCEDURE GA used (Total process time):
real time 0.68 seconds
cpu time 0.56 seconds
Do you mind to help paste the code to your editor and run it, to see if there is a quick fix? Thanks!
Lingli
I also attached the code I pasted from the webpage.
Try setting NOVALIDATE=3 on the PROC GA statement.
It worked, thanks! so it was a version issue.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.