Originally posted by: JKRATHORE
Hi Everybody,
I am working on a task similar to house_building_calendar (house_building_calendar.py) example mentioned in IBM Decision Optimization Help. In this example, each task has to be assigned to only one worker, what if I need one or more resources for same task, I have modified the existing code with three workers and trying to add a constraint to satisfy minimum workers required for each task, I believe it should be like "count of workers appended to a task should be less than or equal to number of workers required", however I am finding difficulty to implement it. can somebody please assist me to write this sort of constraint.
I have attached modified code here.
Thank you
#DecisionOptimization#OPLusingCPOptimizer