(函数来自 pyomo.repn.plugins.gams_writer)
pyomo.repn.plugins.gams_writer
GAMS 对行有 80,000 个字符的限制,因此根据需要拆分多次,以避免出现非法行。