Adding bounds using gdx

Problems with modeling
Post Reply
Francisco.Patrocinio
User
User
Posts: 15
Joined: 3 years ago

Adding bounds using gdx

Post by Francisco.Patrocinio »

Hey, I think this is the right place for this question:

I have a variable A, and a GDX file with A.l from another model. I want to do something like (in my new model):

$gdxin TEST
$load A.up=A.l

GAMS returns an error saying I cannot load/unload this suffix.

I got around this by writing a parameter P such as:

$gdxin TEST
$load P=A.l

then setting

VARIABLES
A.up=P;

Is there a way to make my original approach possible?


Thanks
Post Reply