Please use unary, that's what it is meant for. Christian
-- Christian Schulte, KTH, web.it.kth.se/~cschulte/ -----Original Message----- From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of Alin Sent: Saturday, May 28, 2011 12:49 PM To: users@gecode.org Subject: [gecode-users] Scheduling Hi, I am trying different ways of modeling scheduling problems, and I have used cumulatives quite a lot because it has multiple resources, and solves a large part of my problems. but the i didn't find a way of specifying that each resource can do only one task at a time. Is there a good way to do this with cumulatives or is it better to revert to unary and just do a unary constraint for each resource ? Or is it better to implement a propagator for this myself ? (I am trying to achieve something similar to http://www.emn.fr/z-info/sdemasse/gccat/Kassigning_and_scheduling_tasks_that _run_in_parallel.html ) _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users _______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users