help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] Re: Selection rules on degenerate solutions (Panajotis Papaz


From: varada . rajan
Subject: [Help-glpk] Re: Selection rules on degenerate solutions (Panajotis Papazoglou)
Date: Thu, 07 Oct 2004 09:06:10 +0530


Hi,
Say, If you have defined Xblue and Xred as two binary integer variables which can take either 0 or 1
adding a constraint like
Xblue - Xred >= 0
will give blue a higher priority over red, i.e., Xred can be 1 only when Xblue is 1,
but as you say both being optimal, blue will be chosen.
try it out !
regds
Rajan

reply via email to

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