How to only display a specific parameter?
Posted: Thu Jan 12, 2023 9:55 pm
Hi Friends,
If you have created a parameter `param(i,j,s)` where `set i /1*500/ s /s1*s200/` and wanted to just display it for `s22` ,for example, how did you do that?
I've tried to run `display param(i,j,"s22")` but it doesn't work. Is there a way to do that?
Also using a loop in GAMS is fast or slow? I mean, should I avoid using loop as much as possible?
If you have created a parameter `param(i,j,s)` where `set i /1*500/ s /s1*s200/` and wanted to just display it for `s22` ,for example, how did you do that?
I've tried to run `display param(i,j,"s22")` but it doesn't work. Is there a way to do that?
Also using a loop in GAMS is fast or slow? I mean, should I avoid using loop as much as possible?