Search found 1 match
- 4 years ago
- Forum: Modeling
- Topic: how to add an equation to indice
- Replies: 0
- Views: 2005
how to add an equation to indice
hello, I'm new in gams trying to implement the fallowing toy model. set c(e,e); c(e,e) = not sameas(e,e); set d(t,t); d(t,t) = not sameas(t,t); binary variables x(e,t) delta(e,e,i); delta.l(e,e,i) = 0; I have 2 binary variables. I assigned delta to 0 initially. logc(c(e,e),d(t,t))..x(e,t)+x(e,t)-1=l...