Fantasy Football Scheduling Problem

We have $16$ teams $i \in T$ dividied into $4$ divisions $N, E, S, W$ and each team has a position within its division $d_i$ from last year $p_i \in {1, 2, 3, 4}$. Every division $D$ is assigned a subdivision $S_D$ in which each team from $D$ has to play two home and two away games (while playing each team from $S_D$ exactly once). Every team has also to play twice against each other team of its own division $D_i$ (once at home, once away) and against each team that had the same position in its respective division (thus, there are four teams that will be played twice—once at home, once away—by a team: The three teams in its own division and the team $j$ in $i$s subdivision $S_{D_i}$ that cam in the same place $p_i = p_j$ last year). This makes in total $13$ games for each team on $13$ game days $d \in G$.

We use the following types of variables:

  • $x_{ij}^d \in {0, 1}$ is $1$ iff team $i$ plays team $j$ on day $d$.
  • $y_{ij} \in {0, 1}$ is $1$ iff team $i$ plays team $j$ in two consecutive weeks.

The model is defined as following Note that \eqref{ffsp:last2weeks} ensures that the last two weeks are divisional matchups.