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.
Questions on using the GAMS APIs (Python, .NET, etc.)
1 post • Page 1 of 1