Hello sorry to bother but I have a situation with optidef, here is an example of my code :
\begin{mini!}[3]
{}{\theta}{}{\text{(TSP-SD)}\quad}\tag{1}\protect\label{eq_obj2}
\addConstraint{li }{\geq \hat{a}{i,r}^d - (1-\sum{\substack{j \in C,\i\neq j}} y{i,j,i}^{d,r})M_1}{\forall i \in C\cup {0}, \forall d \in D, \forall r \in R}\tag{18}\protect\label{eqct36}
\addConstraint{\hat{l}{i,r}^d}{\geq ai + (\Bar{t} - t{j,i}) - (1-\sum{\substack{j \in C,\i\neq j}} y{i,j,i}^d)M2}{si \; t{j,i} < \Bar{t}, \forall i \in C\cup {0, n+1}, \forall d \in D, \forall r \in R }\tag{19}\protect\label{eq_ct37}
\end{mini!}
The issue is that the constraint are so long that the tags appear bellow the model and not next to it. Can you help me?
Hello sorry to bother but I have a situation with optidef, here is an example of my code : \begin{mini!}[3] {}{\theta}{}{\text{(TSP-SD)}\quad}\tag{1}\protect\label{eq_obj2} \addConstraint{li }{\geq \hat{a}{i,r}^d - (1-\sum{\substack{j \in C,\i\neq j}} y{i,j,i}^{d,r})M_1}{\forall i \in C\cup {0}, \forall d \in D, \forall r \in R}\tag{18}\protect\label{eqct36} \addConstraint{\hat{l}{i,r}^d}{\geq ai + (\Bar{t} - t{j,i}) - (1-\sum{\substack{j \in C,\i\neq j}} y{i,j,i}^d)M2}{si \; t{j,i} < \Bar{t}, \forall i \in C\cup {0, n+1}, \forall d \in D, \forall r \in R }\tag{19}\protect\label{eq_ct37} \end{mini!}
The issue is that the constraint are so long that the tags appear bellow the model and not next to it. Can you help me?