help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] [Fwd: conditional assignment in glpk]


From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: conditional assignment in glpk]
Date: Wed, 18 Jan 2017 23:15:40 +0300

-------- Forwarded Message --------
From: Ahmed Abdelkhalek <address@hidden>
To: address@hidden
Subject: conditional assignment in glpk
Date: Wed, 18 Jan 2017 13:59:05 -0500

Hi,

 

I see that we have conditional expressions in glpk but what about
conditional assignment?

 

For example, suppose I have 8 binary variables y1 up to y8 whose values
depend on another 8 binary variables x1 up to x8.

So if x1...x8 = 10010010 then y1...y8 can be one of {00110011,
0100110110, 01100110}.

Can we model this conditional assignment using the conditional
expressions?

Thanks,

Ahmed







reply via email to

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