[gecode-users] Gecode/J: Setting boolean var

Christian Schulte cschulte at kth.se
Thu Nov 15 01:18:14 CET 2007


rel with IRT_EQ should work, check its docs (if not, it'll work with 2.0.0
which we finished today, hurray! More tomorrow). Maybe you want to check
some of the C++ examples that are shipped with Gecode, modeling in C++ is
sufficiently close (albeit nicer) to modeling in Java.

Christian

-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Malcolm Ryan
Sent: Tuesday, November 13, 2007 6:46 AM
To: gecode list
Subject: [gecode-users] Gecode/J: Setting boolean var

Is there a simple standard way to constraint the value of a BoolVar  
to a constant?
bool_eq() does not have a constant argument version, and eq() doesn't  
seem to
work.

Malcolm

--
"If there is one thing worse than the modern weakening of major morals
    it is the modern strengthening of minor morals.
Thus it is considered more withering to accuse a man
    of bad taste than of bad ethics."    -- G.K.Chesterton, On Lying  
in Bed




_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users





More information about the gecode-users mailing list