Optimization, Python, Mathematical Modeling, Data Science, Prescriptive Analytics.
from the previous hour, to identify when a subject starts or ends. This is controlled using the constraint group ctSubjectSwitches and modelling it as an absolute value, that way, the value of vbSubjectSwitches will be 1 regardless of being the first or last hour of the subject. Mathematically, we