Error 98: Non-blank character(s) beyond max input line length (80000) ****

Hello All!

I found this error in my run but not in my toy model

****  98  Non-blank character(s) beyond max input line length (80000)

I am suspecting that this is because gamspy will only create one line for the Model like
Model mpa_N150_BLnone / w0,w1,w2,w3,w4,w5,w6,w7,w8,w9,w10,w11,w12,w13,w14,w15,w16,w17,w18,w19,w20,w21,w22,w23,w24,w25,...
and I have more than 70,000 equations.

Does anyone here know how can I write this in gamspy so it will create multiple lines when running in gams? Or anyone here knows how to deal with this kind of problem?

GAMSPy version

GAMSPy version: 1.5.1
GAMS version: 48.6.1
gamspy_base version: 48.6.1

Thank you very much!

Hi Monique,

I think you might need to revisit the formulation… the number of equations is a bit suspect and suggests that you might have scalar equations instead of equations defined over algebraic sets (as equation blocks). Unfortunately there isn’t a way around the MaxInput restriction at the moment, but I will raise this internally in case we can generate these model statements differently if they are very very long.

Feel free to write in with other questions!

best,
adam

1 Like