约束规划调度
我不知道如何在 cplex 中编写这些约束。
护理机构每天每小时都需要一名保安值班。一个 24 小时日历日分为三个 8 小时班次:D(上午)、E(晚上)和 N(晚上)。 为使用 6 名警卫的护理机构制定两周的时间表,并确保 满足以下就业要求:
如果警卫在日历日工作,那么他们将在上一个和/或下一个日历日工作 日
每个警卫的作息时间是正向轮换的。也就是说,给定任意一对 警卫工作的连续日历日,允许的任务是:D D、DE、DN、EE、EN 或 N N。
3) 时间表是循环的:时间表的第 15 天是该时间表的第一天 时间表等......,所有规则适用于第 14 日到第一天的边界。
I have no idea how to write these constraints in cplex.
A care facility requires exactly one security guard on duty every hour of every day. A
24-hour calendar day is broken up into three 8 hour shifts: D(ay), E(vening) and N(ight).
Find a two week schedule for the care facility that uses 6 guards and that ensures the
following employment requirements are met:
If a guard works on a calendar day, then they work on the previous and/or next
dayThe schedule of every guard is forward rotating. That is, given any pair of
consecutive calendar days that a guard works, the allowable assignments are: D
D, D E, D N, E E, E N, or N N.
3)The schedule is cyclical: the 15th day of the schedule is the first day of the
schedule, etc…, and all rules apply across the 14th to first day boundary.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
作为起点,您可以使用决策管理社区挑战2020 年 4 月
挑战是 医生规划
as a starting point you could use the Decision Management Community challenge April 2020
The challenge was doctor planning