چطور می توان چند رابطه دو ضابطه ای که هم متن و هم رابطه ریاضی دارد زیر هم ردیف نوشت؟
من این رابطه را نوشتم اما درست نیست:
\begin{align}
&$A_a^{i}=\left\{
\begin{array}{l}
1 \,\,\,\,if$ if vessel $i$ is assigned in assignment $a$,\\
0\,\,\,\,otherwise.
\end{array} \right.\ \\
& & $B_a^{kt}=\left\{
\begin{array}{l}
1 \,\,\,\,if$ if section $k$ is occupied at time $t$ in assignment $a$,\\
0\,\,\,\,otherwise.
\end{array} \right.\ \\
& & $C_a^{pw}=\left\{
\begin{array}{l}
1 \,\,\,\,if$ if cargo type $w$ is stored at location $p$ in assignment $a$,\\
0\,\,\,\,otherwise.
\end{array} \right.\ \\
& & $D_a^{pt}=\left\{
\begin{array}{l}
1 \,\,\,\,if$ if assignment $p$ is handled at cargo location $p$ at time $t$,\\
0\,\,\,\,otherwise.
\end{array} \right.\ \\
\end{align}