![我怎样才能将模型的这一部分插入到乳胶中?](https://linux22.com/image/463714/%E6%88%91%E6%80%8E%E6%A0%B7%E6%89%8D%E8%83%BD%E5%B0%86%E6%A8%A1%E5%9E%8B%E7%9A%84%E8%BF%99%E4%B8%80%E9%83%A8%E5%88%86%E6%8F%92%E5%85%A5%E5%88%B0%E4%B9%B3%E8%83%B6%E4%B8%AD%EF%BC%9F.png)
答案1
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\begin{align*}
\textup{Maximize or Minimize}\quad z &= c_0+c_1x+\dotsb + c_nx_n\\
\text{subject to:}\hspace{43pt} & \\
& \hspace{-5pt}a_{i1}x_1 +a_{i2}x_2+\dotsb +a_{in}x_n \hspace{5pt} \begin{matrix}
\leq\\ \geq \\ =
\end{matrix}\hspace{20pt} i=1, \ldots , m \\
& \hspace{-5pt}x_j\,\biggl\{\begin{matrix}
\geq\\ \gtrless
\end{matrix}\hspace{138pt} j=1, \ldots , n.
\end{align*}
\end{document}
答案2
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[
\begin{array}{cll}
\text{Maximize or Minimize} & z = c_0 + c_1x + \dots + c_nx_n\\
\text{subject to:}\\
& a_{i1}x_1 + a_{i2}x_2 + \dots + a_{in}x_n
\begin{array}{c} \le\\ \ge\\ =\end{array} b_i
& i = 1, \dots, m\\
& x_j\left\{\begin{array}{l} \ge 0\\ \gtrless 0\end{array}\right.
& j=1, \dots, m.
\end{array}
\]
\end{document}