sheaf / unary-scheduling

Constraint propagation algorithms for unary resource scheduling
0 stars 0 forks source link

Makespan propagator #2

Open sheaf opened 4 years ago

sheaf commented 4 years ago

When scheduling staff on a set of tasks, it can be interesting to introduce makespan constraints of the form "the makespan of a staff member cannot exceed a certain value inside a given time interval".

It should be possible to implement this propagator as follows:

Given a staff member and a makespan constraint (a makespan range and maximum makespan duration in that range):

A symmetric propagator adjusts the EST.

This should be straightforward as we already have access to a vector containing the ECTs in sorted order.

sheaf commented 4 years ago

Commit e9019eb adds a makespan propagator, but at the moment I think it is wrong. More testing/development needed.