I am writing a program in GAMS, in which I need to change a parameter to a certain range, and for each value of this parameter i am evaluating results.
For this sensitivity analysis is it possible to use solve statement in a loop, so that for each input I can get results.

where “modeldata” is the parameter you want to change in your model, and “X” is the name of the variable you want to keep track of.
Hope this helps
cheers

I am writing a program in GAMS, in which I need to change a parameter to a certain range, and for each value of this parameter i am evaluating results.
For this sensitivity analysis is it possible to use solve statement in a loop, so that for each input I can get results.

where “modeldata” is the parameter you want to change in your model, and “X” is the name of the variable you want to keep track of.
Hope this helps
cheers

I am writing a program in GAMS, in which I need to change a parameter to a certain range, and for each value of this parameter i am evaluating results.
For this sensitivity analysis is it possible to use solve statement in a loop, so that for each input I can get results.

I need to do exactly the same (to check how the solution of a system changes with changes in a parameter), I did exactly what Dax suggested, but it turns out that, though my code runs without problems, the reported results for all the iterations are the corresponding to the system evaluated just with the first value (in the index) assigned to my parameter. I don´t really find out what the problem is. Does any of you have an idea about what could be going wrong with my code??

In advance, thank you all very much for your help.