Case 5 - Registration to elective courses - a more complex situation
A more complex registration for elective courses needs to be created:
The students can select 2 or 3 elective courses from the specified courses. Some courses comprise two lessons per week, the others three lessons per week.
The total number of lessons per student cannot exceed 6 lessons. I.e. the students can select 2 three-lesson courses or 1 three-lesson course and 1 two-lesson course or 3 two-lesson courses.
The method is the same as in Case 4 - Registration for elective courses.
However, every course must have a defined weight, in this case number of lessons per week.
Use the Rules to set the minimum and the maximum number of targets (courses) and the minimum and the maximum wiegh of the selected courses.