I am writing a genetic algorithm implementation from python and I need to call some sas procedures inside the ObjectFunction that i am defining. For example when i try to use proc compare base=selected_row compare=evolving_individual outstats=compare_result noprint; run; inside my objective function i get an error saying ERROR: Subroutine 'fitness_sso' was not terminated with ENDSUB. ERROR: Execution terminating because of previous errors. If i remove the call in my objective function to the 'proc compare' then the genetic algorithm runs to completion. Any suggestions how i can call procedures inside the objective function? What about my own defined macros? If i reference my own macro like so %macro_call(var1, var2); then i also get the same error of the objective function not termintated with ENDSUB... Thanks for any help on this, but there is just not enough documentation and examples on genetic algorithm implementation.
... View more