Originally posted by: SystemAdmin
Hi guys and girls
Can someone advise on best practice to manage resources in a schedule. If I have various resource identified by numbers 0,1,2,... and a task can use one of several of them, but not all of them can be used for this task; say the task requires resource 1,4 or 5. The optimizer should chose exactly one of them for the task. I have for the task an IntervalVar to determine the time duration (the task is fixed length) and a IntVar to determine which of the resources. How can I model that no other task can overlap this task if it the optimizer chose to use the same resource for both, but can overlap if two different resources were allocated?
Thanks all for any help.
#CPOptimizer#DecisionOptimization