Import a parameter from GDX file
Posted: Wed Jun 16, 2021 3:20 pm
Hello
I am trying to import a parameter through MATLAB within a GDX file.
I get the error (error 492): Symbol not in GDX
While I have a parameter named Inc in data.gdx file as shown below. what is wrong here?
It is worth mentioning there is not any problem with importing the set shown in the GDX file
I am trying to import a parameter through MATLAB within a GDX file.
Code: Select all
$GDXIN 'data.gdx'
Set
bus / 1*14 /
slack(bus) / 1 /
parameter
Inc(*,*);
$load Inc
$GDXIN
While I have a parameter named Inc in data.gdx file as shown below. what is wrong here?
It is worth mentioning there is not any problem with importing the set shown in the GDX file