I have been trying to use a .bat file with double-dashed parameters to execute a series of models (say, model1, model2 & model3). In addition, I wrote a shell program to execute the 4 models in sequence:
Code: Select all
$call '"E:\GAMS\36\gams.exe" folder1/model1.gms'
$call '"E:\GAMS\36\gams.exe" folder2/model2.gms'
$call '"E:\GAMS\36\gams.exe" folder3/model3.gms'
It seems to me that the statement is saying that the double-dashed parameters should be defined everywhere so long as I use "$setGlobal", which doesn't seem to be the case (unless I am missing something). My question is: can I pass double-dashed parameters to multiple separate models through a shell-loop like the code above? Thanks in advance for any tips/recommendations.