\input{template}
\input{macros}
\begin{document}
\lecture{1}{Introduction}{Anup Kumar}
\section{History of Linear Optimization}
This subject first came up in manufacturing and industrial engineering in 1940s where they need to derive maximum profit with less expenditure.
\section{Definition of Linear Programming}
We illustrate the problem of Linear Programming through the following example.
\begin{Exa}
A factory needs to produce different goods from different kinds of raw materials available. Each good yields a certain amount of profit per unit. Each good in the process of its manufacture uses a certain proportion of each available raw material. The amount of each raw material available is limited.

The problem is how much quantity of each good to produce using these raw materials in order to maximize the total profit on the goods.
\end{Exa}

The problem is mathematically formulated as follows :

\begin{itemize}
\item Raw Materials Available: $M_{1}$, $M_{2}$, $M_{3}$, $\cdots$, $M_{m}$
\item Quantity of each material available: $b_{1}$, $b_{2}$, $b_{3}$, $\cdots$, $b_{m}$
\item Goods to be produced: $G_{1}$, $G_{2}$, $G_{3}$, $\cdots$, $G_{n}$
\item Profit on each good: $p_{1}$, $p_{2}$, $p_{3}$, $\cdots$, $p_{n}$
\item $A_{ij}$: Proportion of material $M_{i}$ required to produce one unit quantity of good $G_{j}$
\item $x_{j}$: Quantity of each good $G_{j}$ produced. $x_{j} \geq 0$.
\item Total Profit: The sum of profit on all goods $=$ $\sum_j\,x_j\,p_j$
\end{itemize}

\paragraph{Optimization Problem:} How much of each good to be produced, $x_{j}$, to maximize the total profit under the given constraints?

The name {\em Linear Optimization} comes from the fact that the quantity which is to be optimized is a linear function of the unknown quantity $x_j$ and the constraints on $x_j$ are linear inequalities. The above problem is an instance of maximizing the value.

There can be problem instances where we have to minimize some quantity and find out the unknowns which minimize that quantity. For example, the above problem could have been formulated as minimum raw material requirement under certain constraints such as given profit, etc.

\paragraph{Problem Statement:}
\begin{itemize}
\item Inputs: $b_i$, $p_j$, the matrix $A$
\item Outputs: $x_j$, which denotes the quantity of each $G_j$ to be produced
\item To Maximize: $\sum_j x_j p_j$. If profit $p_j$ is denoted by an $n \times 1$ column matrix $p$, then we have to maximize the value $p^t x$ where $x$ denotes the column matrix of $x_j$s.
\item Constraints: 
\begin{itemize}
\item for all material $i$, $\sum_j a_{ij}x_j \leq b_{i}$  or  $Ax \leq b$
\item $x_{j} \geq 0$
\end{itemize}
\end{itemize}

\section{Solution Idea}

We need to understand what \{$x:Ax\leq b$\} looks like. Suppose there were only two variables $x_1$ and $x_2$. We begin by considering the object \{$x:Ax=b$\}. The linear equations $\sum_j a_{ij}x_j=b_{i}$ represents a set of straight lines in two dimensional plane with $x_1$ and $x_2$ as co-ordinates.

The solution to these equations can be a single point in the plane or a line or empty. This can be extended further when there are $3$ or more variables. Our goal is to have a geometric interpretation and an algebraic description for these sets.

In the next class we shall see the solutions to the linear equations and their geometric description.

\end{document}

