Take a closer look at the documentation on loops.
Code: Select all
set i /1*100/;
loop(i,
* set a random value
* solve your model
* save the results:
results(i, "myresult x") = X.L;
* end of loop
);
Renger
Code: Select all
set i /1*100/;
loop(i,
* set a random value
* solve your model
* save the results:
results(i, "myresult x") = X.L;
* end of loop
);