I'm not familiar with advanced mathematics so I will need more down to earth explanations. In a way this call for help is almost like saying "do this for me" and I'm sorry about that, but it's a very interesting problem to tackle nonetheless.
So with all that out of the way here's what I'm looking to implement:
We have a table with columns of days in a given month and rows of employee names. We need to fill the matrix with day and night shift data so that
- the total number of shifts per person per month is ideally 15 (but can be up to 17)
- there are always 4 persons on a day shift and 3 persons on a night shift per day (this is strict)
- no double shifts (i.e. no night shifts immediately following day shifts and no day shifts immediately following night shifts)
- there may be reserved days for certain employees when they can't go on a shift due to personal reasons (those days will be specially marked in the database)
- certain persons have strict pre-defined schedules that are manually input in the database beforehand (for example, a 10-day series of consecutive day shifts followed by vacation days)
- certain persons would want strictly day shifts or night shifts for the entire month
In other words, the solution should check every unmarked cell and find out whether it should be marked according to the preexisting (pre-filled) data.
I've attached a sample table that we use, it's filled by hand by a manager so it should give a visual idea of what I'm talking about. Don't mind the numbers much, the table usually requires manual tweaking afterwards to allow 5 days shifts for example or more than usual shifts per month for a particular person and so on. Ideally the number of specified shifts per person per month should be handled by the solution as well.
So is this even possible? Any clues are greatly appreciated!
table.pdf (29.72K)
Number of downloads: 21

Help
Sign In »
Register Now!


MultiQuote

time comes to mind.











