[gecode-users] if-then-else

Ruben Zilibowitz ruben.zilibowitz at gmail.com
Tue Apr 12 09:12:51 CEST 2011


Suppose I have a BoolExpr called B. And I have two LinExpr: X and Y. I want a LinExpr that is equivalent to:
if (B) then X else Y
However I don't see support for an if-then-else construct. Is there a way to implement this?

Ruben




More information about the users mailing list