help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Intersection of two sets is empty


From: Andrew Makhorin
Subject: Re: [Help-glpk] Intersection of two sets is empty
Date: Sun, 07 Jul 2013 16:24:54 +0400

>Is it possible to express a condition based on the intersection of two
> sets, the idea is to express if A[i] intersection A[j] is empty then
> V[i] = c[j].
>i.e {i in I, j in j : A[i] inter A[j] == Empty }: V[i] = c[j]; 
>
>Any suggestion to do that?

{i in I, j in j : forall{t in A[i]} (t not in A[j]) }: V[i] = c[j]; 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]