Scott Anderson
unread,Mar 11, 2013, 12:55:43 PM3/11/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to or-tools...@googlegroups.com
Given a set of tasks with categories and varying lengths:
id, category, length in seconds
1, "cat1", 180
2, "cat1", 210
3, "cat2", 205
4, "cat3", 300
5, "cat2", 250
etc.
How feasible is implementing the following constraint:
Create a sequence of the tasks such that there are no more than 4 tasks of a particular category within a sliding 3 hour window.
And are there particular constructs I should be looking at using?
Pardon the newbie questions, I'm just starting to get my head around constraint programming.
Regards,
-scott