GAMS modelation: how do i set an identifier as the last value of a set (index.last) on an equation

后端 未结 0 809
再見小時候
再見小時候 2020-12-11 23:36

I\'m modeling a VRP in GAMS language and one of my equations would ideally be:

SUM(i, x(i,n+1)) =e= 0;

with "n+1" being the last value of the set i /

相关标签:
回答
  • 消灭零回复
提交回复
热议问题