Linear Progaming Notes
Linear Progaming Notes
Introduction:
Meaning and Importance of Linear Programming
Linear programming is used in situations where firms/producers, need to maximize
their profit within a given requirement or minimize costs. This is due to the fact that
firms/producers have objectives to achieve but at the same time there exist constraints
to achieve the objectives brought up by scarce resources. Such objectives and
constraints are stated mathematically in form of linear inequalities. The constrained
environment surrounding the firms therefore calls for decision making which is not
just “a haphazard” process.
Application Areas
1.Production Management: Manufacturing companies use LP to plan and schedule
production: E.g. Product mix that maximizes total contribution with limited resources;
Product planning; blending problems, etc.
2. Transportation and routing, and various types of scheduling: Airlines use linear
programs to schedule their flights, taking into account both scheduling aircraft and
scheduling staff.
3. Agricultural Applications: Planning land use to maximize revenue, etc.
4. Distribution/Delivery services: use linear programs to schedule and route
shipments to minimize shipment time or minimize cost.
5. Retailers use linear programs to determine how to order products from
manufacturers and organize deliveries with their stores.
6. Financial institutions use linear programming to determine the mix of financial
products they offer e.g. loans packages or to schedule payments transferring funds
between institutions. Portfolio selection–which maximizes the total expected return
or minimizes risk under certain limitations. Profit planning/ maximization from
investments.
7. Health care institutions use linear programming to ensure the proper supplies are
available when needed. LP has also been used to organize and coordinate lifesaving
health care procedures e.g. Organ Donations and transplants
8. Marketing Management: advertising media mix so as to maximize the effective
exposure, subject to limitation of budget, locating manufacturing plants and
distribution centers for physical distribution;
9. Personnel Management: Staffing problems (man-power allocations); job evaluation
and selection situations; Determination of equitable salaries:
Example. The Equation 2𝑥+5𝑦=10 is acceptable; but not 2𝑥 2 +5𝑦 3 +3𝑥𝑦=10 because
the variable 𝑥 is squared, the variable 𝑦 is cubed and the two variable 𝑥 & 𝑦 appear
again as a product of each other. In most problems, we encounter constraints as
inequalities of the form 𝑥 + 𝑦 ≤ 𝐶 𝑜𝑟 𝑥 + 𝑦 ≥ 𝐶;
In LP, if we are maximizing, we use the less than or equal to sign “≤” to imply that the
constraints must be minimized.
If we are minimizing, we use the greater than or equal to sign “≥” to imply that the
constraints are positive and should be maximized
6. Additivity. The total of all activities equals the sum of the individual activities i.e. if
an objective is to maximize profit=30,000/=per unit of first product made and
14,000/=per unit of a second product made; and if 1unit of each product is actually
produced, the profit contributions of 30k and14k must add up to produce a sum of
44,000/=.
Linear Inequalities
Consider a linear inequalities below relating the two variables 𝒙 and 𝒚. We can examine
this inequalities in terms of graphs.
𝑦 > 2𝑥 – 4
𝑥+𝑦 <4
𝑦 − 2𝑥 < 6, We find three points on the lines. 𝑦 = 2𝑥 – 4, 𝑥 + 𝑦 = 4 𝑎𝑛𝑑 𝑦 − 2𝑥 = 6
Note A linear inequality between two variables 𝒙 and 𝒚 is any relationship of the form
𝑎𝑋 + 𝑏𝑌 + 𝑐 > 0 (𝑜𝑟 < 0) 𝑜𝑟 𝑎𝑋 + 𝑏𝑌 + 𝑐 ≥ 0 (𝑜𝑟 ≤ 0). The graph of a linear
inequality consists of all those points (x, y) that satisfy the inequality. It consists of a
region in the xy plane not simply a line or a curve
EXERCISES.
Sketch the graph of the linear inequalities and shade the unwanted regions.
2𝑥 – 3𝑦 < 6
𝑥 + 𝑦 > 6
2𝑥 + 3𝑦 < 12
2𝑥 – 𝑦 ≤ 8
3𝑥 ≥ 𝑦 – 6
0 ≤ 𝑦 ≤ 15
Note: The inequalities that must be satisfied by the variables in a linear programming problem are
called the constraints. The linear function that is to be maximized or minimized is called the
objective function
MUBS QM LECTURE NOTES (Linear programming) prepared by: J.N 2023/2024
8
Therefore, we identify all the vertices (corner/extreme points) of the feasibility region.
We call these points’ critical points.
2. A shopkeeper wants to buy up to 500 necklaces for her shop. She has Shs.900, 000
to spend. There are two types of necklaces available, one type costing Shs.3, 000 each
and the other costing Shs.1, 000. She wants to buy at least 100 of each type of
necklace. If the shopkeeper buys x of the expensive type and y of the cheaper type of
necklace, show graphically the region in which points (x, y) must lie. The profit is Shs.1,
000 each on the expensive necklaces and Shs.500 each on the cheaper necklaces. How
many of each type of necklace should she buy to make the most profit?
3. A company produces two products S and T. Each unit of S requires 1 hour on one
machine and 4 hours on a second machine. Each unit of T requires 2 hours on the first
machine and 4 hours on the second machine. There are 120 hours available per week
on the first machine and 100 hours on the second machine. If the company makes a
profit of $60 on each unit of S, and $70 on each unit of T, how many of each unit
should be produced to maximize the total profit?
4. Rwab Ltd. produces two products X and Y each of which requires time on machines
M1, M2 and M3. During the production process, each unit of X requires 2 hours on
machine M1, 4 hours on machine M2 and 3 hours on machine M3. And each unit of Y
requires 5 hours on machine M1, 1 hour on machine M2 and 2 hours on machine M3.
The company makes profits of $250 and $300 on each unit of both products X and Y
respectively. The numbers of machine hours available per month are 200 for machine
M1, 240 for M2 and 190 for M3. Find the number of units of each product that must
be produced to maximize the total profit.
REVISION EXERCISES
1. A manufacturer wants to produce two products pancake and chocolate coke. The
profit contribution potential of each product is 200 and 500 respectively. To produce
a chocolate cake it requires 40kg of sugar while to produce a pancake it doesn’t
require anything. He also reveals that the assembly time required to produce a pan
cake is 1.2 hours while the chocolate cake requires 4hrs. Similarly the inspection time
required for pancake is 1/2hrs and 1hr for a chocolate cake. He noted that time
available for both assembly and inspection does not exceed 240 and 81 respectively.
Required Develop a linear programming model that fits the manufacturer’s
constraints. Graph the constraints to obtain a feasible region. Find how many pancakes
and chocolate cakes that should be produced in order to maximize profits
Explain the rationale of linear programming to a decision maker and the extent to
which its application is limited.
UBL deals in production of two products C and P. Each unit of C requires one nutrient
of food color and 5 nutrients of Muchuzi mix. Each unit of P requires 2 nutrients of
food color and 3 nutrients of muchuzi mix. The production manager says there are
MUBS QM LECTURE NOTES (Linear programming) prepared by: J.N 2023/2024
10
only 6 nutrients available for product C and 15 nutrients for product P. If UBL makes a
profit of 2 on each unit of C and 15 on each unit of product P. How many units of each
product should be produced to maximize the total profit?
5
5𝑎 + 𝑏 > 30 𝑎 ≥ 0, 𝑏 ≥ 0
2
Required;
Determine the values of 𝒂 and 𝒃 that will minimize the costs, hence obtain the
minimum costs.
READING ASSIGNMENT:
Read and make notes about the SIMPLEX METHOD of solving linear inequalities.