Search found 2 matches

by yamaz
6 years ago
Forum: Syntax
Topic: Domain filtering
Replies: 3
Views: 3873

Re: Domain filtering

Hi Renger, Thanks very much for your help. According to that post I can modify the equation as follow: Eq1(t) $ (ord(t) ne card(t)) .. A(t+1)-A(t) =E= 1; It works as that it excluded Eq1(t3); However, what if I what to introduce A(t4) into Eq1(t3) instead of excluding it without expanding the domain...
by yamaz
6 years ago
Forum: Syntax
Topic: Domain filtering
Replies: 3
Views: 3873

Domain filtering

I tried to make a set of constraints. It is something like: set time /t1*t4/; set t(time) /t1*t3/; Variables A(time) Equations Eq1(t).. A(t+1)-A(t) =E= 1; it is very annoying that even though A(t4) exist, the constrains of Eq(t3) is always become: 0-A(t3) =E= 1; How can I deal with such situation? P...