命令展示
%导言区加载amsmath宏包
%子公式代码
\begin{subequations}
\begin{align}
&\mathop{\max}\limits_{\mathbf{a}} T \label{opti}\\
\text{s.t.}~~
& a_k > \lambda_k {\tiny\sum\nolimits_{i=k+1}^{K}} a_i, \quad \forall 1\leq k \leq K-1, \label{opti:sub1}\\
&a_K>0,\label{opti:sub2}\\
&1- \sum\nolimits_{k=1}^{K} a_k=0, \label{opti:sub3}
\end{align}
\end{subequations}
%子公式引用
where \eqref{opti:sub1} is to meet the condition $\eta_k > 0$, and \eqref{opti:sub3} corresponds to the total power constraint.
效果展示