Hello,
I'm trying to do some sensitivity runs where I scale a parameter each run and resolve.
The problem is I can't seem to very simply make an array to loop over to scale the parameter.
Basically this:
FOR x in 50, 75, 100] DO
y = x * z;
solve LP;
ENDFOR
Just creating the array and looping through it is giving me trouble. I don't know the best way - import the array as a parameter? Then it gets mad it doesn't have an index? But it doesn't even really have an index. Then x has to be a declared parameter as well?
Is there an easy way to do this or maybe it's because AIMMS isn't made for scripts? I can't seem to find a syntax guide that talks about declaring an array parameter.
Thanks for helping a noob!