I've seen both 1) and 2) if I understand your explanation well
enough.
In 1) the difficulty is deciding the size of the fractions of that
task.
For a job of 19 hours, you might think 8 + 8 + 3 hours, but what
if it starts on Monday and an employee takes a half day PTO on
Tuesday, then that won't be feasible.
Furthermore, the more fractions you have (19 = 8 + 4 + 3 + 2 + 1)
, the more the search space explodes.
And without custom moves to move all fractions as one, it won't
get anywhere good anyway.
Nah, don't do that.
The other way is to much better. In the chained through time
pattern, the Shadow variable listener automatically streches
across lunch, sleep and PTO times.
See the "Empire state building" job here:

With kind regards,
Geoffrey De Smet
--
You received this message because you are subscribed to the Google Groups "OptaPlanner development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optaplanner-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/optaplanner-dev/c87c2a28-3aed-4ada-b797-43aa514bcdab%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to optapla...@googlegroups.com.