This is my last hurtle to my problem. I am not clear on how to deal with the situation when a task can be done by multiple resources. I have read through the examples and see how to deal with assigning tasks to multiple resources but each task can only be done by one resource in those examples. Any help would be appreciated. I did search through the mailing list and someone mentioned using FD.element. Could anyone elaborate on this approach?

Hi, I think that this is not possible directly. The builtin scheduling constraints expect that each task is assigned to a resource. You may use the cumulative constraint to get an estimate, and assign resources based on that (by posting additional unary capacity constraints). However, this is not an easy task at all and depends on the specifics of your problem.

Of course, there is always the possibility of trying all resource assignments, but such approach would probably lead to unacceptable performance.

Cheers,
Filip

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to