Hi,
I have a loop that is running a bunch of nonlinear optimizations.
Usually the optimization fails, and I collect data on the failure in a
parameter table. At the end, I execute_unload a table of summary
stats on the trials. However, within each loop, I would like to have
a separate execute_unload that will store all of the other data only
for the runs that are successful. And I’d like to do it without
dramatically disturbing what I already have.
One way would be to have the execute_unload statement have a different
file name that changes for each run. So my solve loop is indexed as
xx = xx00001, xx00002, xx00003, …, xx00100. Is there a way to make
xx the name of the file I want to save? I tried the following, but it
didn’t work.
execute_unload xx;
Thanks,
Emily
\