I'd like to optimize timetable in optaplanner where a class of students is split among some elective options for a few courses.
Eg the 4th grade class all get joint trunk lessons (maths, languages, sports...) but a subpart of the group (4S) gets science+ , while the other part (4E) gets science- and economics+. I don't want to consider 4S and 4E as distinct groups, as they should have all trunks courses jointly.
How best model such a situation in optaplaner? Thanks.