Replies: 1 comment
-
Hello! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently I'm using adjustedEndTime to keep track of when end time was updated in
@PlanningEntity class
In variable listener class, I set it to update end time if it is bewteen break. I set adjustEndTime here for the next start time to update.
After the solving ends, I got error. Before , when I mistakenly add at to cas 'Start time between break time, it runs no have no error.
Anyone know how can I notify start time to change after endtime changes?
When I just use shadow variable for start time, piggyback for end time, each time end time move 1 hour, the next task start at case 2 (next task start after break time is over), and overlap the previous task. It becomes:
break time: 11:30 - 12:30 (if start between break, move start to end of break. If end between break, add 60 more minutes)
before skip break time method: Task 2: start: 11:29 - end: 11:55
after skip break time method: Task 2: start : 11:29 - end: 12:55
finale result: Task 2: start : 11:29 - end: 12:55
next task by same employee: Task 5: start: 12:30 - end 12: 50 (overlap)
next task by same employee: Task 5: start: 12:50 - end 13: 20
Beta Was this translation helpful? Give feedback.
All reactions