[Fwd: conditional assignment in glpk]

Andrew Makhorin <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <1484770540.4171.0.camel@corvax>
-------- Forwarded Message --------
From: Ahmed Abdelkhalek <[email protected]>
To: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.