Page 1 of 1

syntax error 148 during Matlab-gams wgdx

Posted: Tue Jul 27, 2021 10:27 am
by bigakrim
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 318 times
gams_matlab.txt
(533 Bytes) Downloaded 306 times
data_opt_lookup_inc.xlsx
(2 MiB) Downloaded 310 times