Thanks a lot Rob. We were able to implement the code on real data and it worked just like we expected it to. We also added a line to extract X into a dataset looking at one of the examples from the SAS support pages on OPTMODEL. It is create data param_values from [param_name param_value]= {j in PARAMS, v in VALUES } value =X; Thanks again for your valuable help.
... View more