-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2021 Week 10-12 (from Mar 8)
-
2
-
Undefined
-
NEW
-
NEW
from(Lesson::class.java) .filter { it.timeslot != null } .groupBy({ it.studentGroup }, { it.timeslot!!.day }, ConstraintCollectors.toList()) .filter { group, day, list -> list.any { it.timeslot!!.number != 1 } } .penalize( "Student must have first lesson", HardSoftScore.ONE_HARD ) { group, day, list -> list.count { it.timeslot!!.number != 1 } },
Exception:
Undo for (Lesson(subj...)) does not exist
SO discussion: https://stackoverflow.com/questions/66204604/optaplanner-school-timetabling-force-first-lession
- is related to
-
PLANNER-2357 Simplified CS-D accumulate function
- Resolved