DM871

Linear and Integer Programming

Preparation for take-home assignments

Instructions on the front page of the test

This is one of a series of three tests that constitute the exam of the course. The test consists of a number of tasks divided into subtasks. The answers must be collected in a unique PDF document and are to be handed in electronically in ItsLearning (to be confirmed)

Templates

Aiding tools

\begin{align}
   \label{ob} \max \; \quad & \sum_{j=1}^nc_jx_j  \\
   \label{c1} \mbox{s.t.} \quad &\sum\limits_{j=1}^n a_{ij}x_j\geq b_i, \quad i=1,\ldots,m \\
   \label{c2} &x_j \geq 0, \quad j=1,\ldots,n   
\end{align}
\[\begin{align} \label{ob} \max \; \quad & \sum_{j=1}^nc_jx_j \\ \label{c1} \mbox{s.t.} \quad &\sum\limits_{j=1}^n a_{ij}x_j\geq b_i, \quad i=1,\ldots,m \\ \label{c2} &x_j \geq 0, \quad j=1,\ldots,n \end{align}\]
\begin{equation}
 \begin{array}{lrll}
  \max & \sum\limits_{j=1}^nc_jx_j\\
  & \sum\limits_{j=1}^n a_{ij}x_j & \leq b_i,& i=1,\ldots,m\\
  & x_j&\geq 0, & j=1,\ldots,n
 \end{array}
\end{equation}
\[\begin{array}{lrll} \max & \sum\limits_{j=1}^nc_jx_j\\ &\sum\limits_{j=1}^n a_{ij}x_j&\leq b_i,& i=1,\ldots,m\\ &x_j&\geq 0,& j=1,\ldots,n \end{array}\]
\begin{equation}
\label{ob}
\max  \sum_{j=1}^nc_jx_j\\
\end{equation}
\begin{equation}
\label{c1}
\sum_{j=1}^n a_{ij}x_j\leq b_i, i=1,\ldots,m\\
\end{equation}
\begin{equation}
\label{c2}
x_j\geq 0, j=1,\ldots,n
\end{equation}
\[\max \sum_{j=1}^nc_jx_j\] \[\sum_{j=1}^n a_{ij}x_j\leq b_i, i=1,\ldots,m\] \[x_j\geq 0, j=1,\ldots,n\]