综述
如何用latex表达显示优化模型公式呢?
效果与代码
无编号
\begin{align*}
&\min \quad \sum_{i=1}^{n} \frac{ d_i}{s_i} \Phi(s_i) \\
& \begin{array}{r@{\quad}l@{}l@{\quad}l}
s.t.& s_i^{min} \le s_i \le s_i^{max} ,&i=1,2,3\ldots,n\\
&\tau_i^{min} \le \sum_{j=1}^{i}\frac{d_j}{s_j} \le \tau_i^{max}, &i=1,2,3\ldots,n
\end{array} .
\end{align*}
有编号
\begin{alignat}{2}
\min_{\rho} \quad & c = \frac{1}{2}u^TKu, & \tag{1}\\
\mbox{s.t.}\quad
&Ku =f, & \tag{2}\\
&\rho_e \in \{0,1\} &\tag{3}\\
&\overline \rho_e\le \alpha ,\forall e.&\tag{4}
\end{alignat}