I have the following problem. I have a Nurse rostering problem and want to model the following. I have the indices $D$ (days), $I$ (nurse), $S$ (shift). My planning period $D$ is 28 days. Now I want to include weekend work without having to introduce new indices.
I would need the following constraints. In a period of 14 days, 1) one weekend must remain completely free and 2) once it must be completely occupied. So for the period from $d=1-14$ either a) work must be done on days 6-7 and not on 13-14 or b) the other way round. And the whole thing should be repeated every 14 days. Twice for 28 days. 3) In addition, after a weekend of work, Monday should be free. How do I get this modeled? I really have no idea how to start. The constraints should be compliant for an LP.
I have the variable $y_{id}$ which tells me whether nurse $i$ is working on day $d$ and $x_{ids}$ whether a nurse is working shift $s$ on day $d$.
This would be my idea for question 3: \begin{align}y_{i(t-1)}+y_{it}\le 1 \forall i \in I, t \in T \{8,\ldots,\mid T \mid - 6\}\end{align}