Hello

I have defined the variables X(i,j,t) i=i1,…, I j=j1,…,J t=1,…,T

I would like to declare an SOS1 set containing variables X(i,j,t) , where only specific pairs of (i,j) are permissible.

For example valid SOS1 sets could be:

{X(i1,**j1**,t), X(i2,**j1**,t)}

{X(i1,**j2**,t), X(i2, **j2**,t), X(i5,**j2**,t)}

{X(i5,**j3**,t), X(i6, **j3**,t)}

…

So the rule is: set {x(i,j,t)} where (i,j) is permissible

Is it possible to define the SOS1 sets explicitely, like:

SOS1 VARIABLE

s1 : {X(i1,**j1**,t), X(i2,**j1**,t)} ;

s2 : {X(i1,**j2**,t), X(i2, **j2**,t), X(i5,**j2**,t)}

s3 : {X(i5,**j3**,t), X(i6, **j3**,t)}

;