help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Pseudo boolean constraint


From: Henri Gourvest
Subject: [Help-glpk] Pseudo boolean constraint
Date: Wed, 02 Jun 2004 17:36:54 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

I have a special constraint:

  x1 + x2 + x3 >=  2
or
  x1 + x2 + x3 <= 0

I want the result set to be:
0 0 0
1 1 0
1 0 1
0 1 1
1 1 1

But the constraints seem to be unsatisfaible because I don't know how to write the "OR" constraint.
I'm not sure it is possible but perhaps someone have an idea ...

Thanks

Henri




reply via email to

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