syntax error 148 during Matlab-gams wgdx

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

syntax error 148 during Matlab-gams wgdx

Post by bigakrim » 3 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.
(10.01 KiB) Downloaded 59 times
(533 Bytes) Downloaded 60 times
(2 MiB) Downloaded 65 times

Post Reply