syntax error 148 during Matlab-gams wgdx

Questions on using the GAMS APIs (Python, .NET, etc.)
Post Reply
bigakrim
User
User
Posts: 12
Joined: 1 year ago

syntax error 148 during Matlab-gams wgdx

Post by bigakrim » 4 months ago

Hi everyone
I am trying to run gams in Matlab using the command gams. In Matlab, the parameters Q_m, Q_p, R_m and R_p; the set t are updated and write in a gdx so that gams can update them while running and give cost.
but unfortunately, I am having the syntax error 148. It seems that Q_m, Q_p, R_m and R_p are referenced with more or less indices as declared.

Kindly help me find where the syntax error is.

here is the excel file, matlab and gams code.
myopic_gams_matlab.gms
(10.01 KiB) Downloaded 84 times
gams_matlab.txt
(533 Bytes) Downloaded 84 times
data_opt_lookup_inc.xlsx
(2 MiB) Downloaded 90 times

Post Reply