LINEAR PROGRAMMING NOTES
LINEAR PROGRAMMING NOTES
1.0 INTRODUCTION
Linear programming is concerned with the problem of optimizing (maximizing or minimizing)
some variable (profit, output, loss etc.) subject to some constraints (costs, availability etc.). Linear
programming therefore enables a manager to calculate the profit maximizing output mix of a multi-
product firm subject to restrictions on input availability, or the input mix that will minimize costs
subject to minimum quality standards being met. As such linear programming is an extremely
useful tool for managerial decision-making.
Business organizations have various objectives which they have to meet using a certain available
resource that are usually in scarce supply, for instance:
i) A manufacturing company deems to provide quality products and make profit through utilization
of the limited resources like personnel, material, machine, lime, market etc.
ii) A hospital has the main objective of maintaining and restoring good health to its patients at an
affordable cost to the patients. Resources include medical personnel, number of beds, pharmacies
and laboratories.
In such examples, mathematical programming (MP)provides a technique that may be used to make
decision on the best way to allocate the limited resources in order to maximize profit or minimize
cost.
Programming refers to a mathematical technique which is iterative. Iteration is a technique which
converges towards an optimal solution using the same basic steps in a repetitive manner. The
solution keeps improving until it can improve no more i.e., until the best solution is obtained given
that circumstance.
Mathematical Programming therefore is a mathematical decision tool that aids managers in
seeking either the maximization n of profit, minimization of cost or both within an environment
of scarce/limited resources. Such scarce resources are called constraints e.g., raw materials labour
supply, market etc. The maximization of profit and in minimization of cost are known as
objectives. The decision problems can be formulated and solved as mathematical programming
problems. Mathematical programming involves optimization of a certain function called the
objective function subject to certain constraints.
The mathematical programming techniques can be divided into 7 categories namely:
1. linear programming
2. non-liner programming
3. integer programming
4. dynamic programming
5. stochastic programming
6. parametric programming
7. goal programming
1. Linear programming (LP) method
This method is a technique for choosing the best alternative from aset of feasible alternatives
whereby the objective function and constraints are expressed as linear mathematical functions. In
order to apply linear programming (LP), the following requirements should be met:
i) There should be a clearly identifiable objective which is measured quantitatively.
ii) The activities to be included should be distinctly identifiable and measurable in quantitative
terms.
iii) The resources of the system should be identifiable and measurable quantitatively and also in
limited supply.
iv) The relationships representing objective function and the constraints equations or inequalities
must be linear in nature.
v) There should be a series of feasible alternative courses of action available to the decision maker,
which are determined by the resource constraints.
There are various ways of solving a linear programming problem, the only
1.3 GRAPHICAL APPROACH
Procedure for solving a linear programming problem.
Input: Objective function P= ax +by and a set of constraints.
Output: Optimal value of the objective function.
As the company cannot produce negative quantities of the two goods, we can also add the two
non-negativity constraints on the solutions for the optimum values x ≥ 0 and y ≥ 0
We now plot the inequalities to determine the feasible region. See the graph below.
Note that the coordinates for B can be read off from the graph or can be found by solving the
equations
The feasible region is clear from the graph and contains the vertices (0,0), (0,40), (15,40), (30,0).
The next thing is to plug these into the objective function. We will do this using a table.
We can see those 15 corrugated boxes and 30 ordinary boxes will yield the maximum profit.
ASSIGNMENT 1
5. Wezi a self-boarding Accountancy student and studying in Blantyre has K30,000 in her account
at the start of the semester which has 21 weeks. She would like to save at K5000 for her transport
back home in Lilongwe. Write out an inequality to express how much Wezi should withdraw from
the account per week for her upkeep.
6. A company uses inputs K and L to manufacture goods A and B. It has available 200 units of K
and 180 units of L and the input requirements are:
10 units of K plus 30 units of L for each unit of A
25 units of K plus 15 units of L for each unit of B
If the per-unit profit is K80 for A and K30 for B, what combination of A and B should it produce
to maximize profit and how much of K and L will be used in doing this?
7 Mr. Chiwoza is a farmer in Chitipa, a wheat and paprika growing area. He has 10 acres to plant
in wheat and puprica. Mr. Chiwoza has to plant at least 7 acres. However, he has only K360,000
to spend and each acre of wheat costs K60,000 to plant and each acre of paprika costs K30,000 to
plant. Moreover, the farmer has to get the planting done in 12 hours and it takes an hour to plant
an acre of wheat and 2 hours to plant an acre of paprika.
Required
a) Identify the constraints for Mr. Chiwoza and write them as inequalities.
b) Graph the inequalities and identify the feasible region.