Can you help me to write the following set of constraints?
Posted: Sun Nov 25, 2018 2:41 am
Hello everyone
I hope you can help me out with the following case.
I'm trying to write the set of equations (20) and (21) as shown in the attached file, but I'm having a hard time understanding how to write them given the conditions "when(x(i,j,m)=0 and x(i,j,m)=1)".
So far, I wrote 20 as:
r20(m)..sum((i,j),t(i,j)*x(i,j,m))+sum((i,N(j)), h(j)*x(i,j,m))+sum((i,F(j)),((Cm-y(i,j,m))/r)) =l=Hs;
and 21 as two equations:
r21a(F,m)..(Cm-y(i,F,m))/r =g=0; Here set i is not controlled.
r21b(F,m)..(Cm-y(i,j,m))/r =l=H*sum(i,x(i,j,m)); Here It is controlled in the sum but not for the y(i,j,m) variable.
The model is from this article:
https://ac.els-cdn.com/S235214651600008 ... 77a490775b
I appreciate your help.
I hope you can help me out with the following case.
I'm trying to write the set of equations (20) and (21) as shown in the attached file, but I'm having a hard time understanding how to write them given the conditions "when(x(i,j,m)=0 and x(i,j,m)=1)".
So far, I wrote 20 as:
r20(m)..sum((i,j),t(i,j)*x(i,j,m))+sum((i,N(j)), h(j)*x(i,j,m))+sum((i,F(j)),((Cm-y(i,j,m))/r)) =l=Hs;
and 21 as two equations:
r21a(F,m)..(Cm-y(i,F,m))/r =g=0; Here set i is not controlled.
r21b(F,m)..(Cm-y(i,j,m))/r =l=H*sum(i,x(i,j,m)); Here It is controlled in the sum but not for the y(i,j,m) variable.
The model is from this article:
https://ac.els-cdn.com/S235214651600008 ... 77a490775b
I appreciate your help.