Cross reference to align
What I want to do is to make a cross reference to program (P) and still be able to make cross references to each separate line in the alignment.
\begin{align}
(P)\quad \min &cx\label{objective}\\
s.t.: & Ax\geq b\label{firstConst}\\
& Dx\geq d\label{secondConst}\\
& x\in\{0,1\}\label{binary}
\end{aling}
I known that I can use gather-aligned to make a reference to the program, but then I do not have the possibility to make references to separate lines. Any suggestions=
What I want to do is to make a cross reference to program (P) and still be able to make cross references to each separate line in the alignment.
\begin{align}
(P)\quad \min &cx\label{objective}\\
s.t.: & Ax\geq b\label{firstConst}\\
& Dx\geq d\label{secondConst}\\
& x\in\{0,1\}\label{binary}
\end{aling}
I known that I can use gather-aligned to make a reference to the program, but then I do not have the possibility to make references to separate lines. Any suggestions=
No comments:
Post a Comment