Alternative Equation Formats

The equation on this page is available in multiple formats. Depending on your browser, some formats might not render correctly.

MathML

maximize∑i∈M∑j∈Npijxijsubject to∑i∈Mxij=1j∈N(Assignment)∑j∈Nwijxij≤bii∈M(Knapsack)xij∈{0,1}i∈M, j∈N

MathML rendered with MathJax

maximize∑i∈M∑j∈Npijxijsubject to∑i∈Mxij=1j∈N(Assignment)∑j∈Nwijxij≤bii∈M(Knapsack)xij∈{0,1}i∈M, j∈N

Math as LaTeX Source

\begin{align*} & \text {maximize} & \sum _{i \in M} \sum _{j \in N} p_{ij} x_{ij}\\ & \text {subject to} & \sum _{i \in M} x_{ij} & = 1 & & j \in N & & \text {(Assignment)}\\ & & \sum _{j \in N} w_{ij} x_{ij} & \leq b_ i & & i \in M & & \text {(Knapsack)} \\ & & x_{ij} & \in \left\{ 0,1\right\} & & i \in M, \ j \in N \end{align*}