Optimization, Python, Mathematical Modeling, Data Science, Prescriptive Analytics.
variable vbSubjectSchedule[d, h, s] takes the value 1 when the subject s is given that (day x hour) and 0 otherwise. In addition to the binary decision variable, we already have three different sets: sHours: hours of the day when a class can be given. sDays: days of the week for the schedule.