help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Modelling constaints


From: john tass
Subject: [Help-glpk] Modelling constaints
Date: Thu, 26 Mar 2015 23:10:59 +0200

Good evening to every one,
I have a problem in modelling the following situation:
Let U, K in {-6, .. , 6} integers
Let A in {0, 1} binary
Let D in {0, 1} binary
What I want to do  is to model the condition:
D = 1, iff (U > 0 OR K > 0) AND A = 1
Otherwise, D should equal 0.
I can not figure out how to model this situation. 
Can any one give me an answear or even a hint? It would be very welcome.
Thanks a lot

--
Ioannis X. Tassopoulos

reply via email to

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