Lesson 2: Linear Programming: Objectives
Lesson 2: Linear Programming: Objectives
Objectives
After reading and studying this lesson, the students will be able to:
Introduction
Most business students secretly dream of someday running their own business. Many of the problems
met by managers involve making decisions that will maximize or minimize quantities. For example, a
plant manager can determine the most economical way of shipping goods from the factory to the
market. A Chef may want to design a diet satisfying certain nutritional requirements at minimal cost. A
manufacturer may wish to blend ingredients, subject to specification, to maximize the profits. In this
lesson, several problems on linear programming - which is a vital tool for every manager in making a
good decision - are explained.
Linear programming refers to planning through the use of a linear relationship of the variables involved.
It applies mathematical techniques to find the best possible solution to problems in spite of limited
resources. A good manager can maximize profit and minimize cost without violating the limitation or
restriction of variables, such as time and quantity of available raw material. It is, therefore, a must for
any prospective manager to learn
and understand linear programming problems (maximization and minimization). Two methods -the
graphical method and the simplex method are used in linear programming. The graphical method can
only be used the problem has two or three variables, since there are only two coordinate axes in a plane
and three coordinates in space. The problems on maximization or minimization involving more than
three variables can be handled by the simplex method which will be discussed in the next lesson.
The Graphical Method
In this method a graph is used to arrive at the optimal solution. The optimal solution is one that makes
the objective function as large as possible in the case of a maximization process and as small as possible
in the case of a minimization process. The set of all points in the graph satisfying the constraints is called
feasible solution. These points are located at the feasible region (shaded portion) of the graph.
A linear program consists of two parts: the objective function and the constraints or limitation. The
objective function is a mathematical expression introduced by the words “maximize” or “minimize”.
The constraints are introduced by the word "subject to”. The mathematical expression in the constraints
is written as inequalities. Two kinds of constraints may occur. Explicit constraint means that a condition
expressed in a mathematical sentence is derived from the condition of the problems. Implicit
constraints are implied conditions such as when time or raw materials are variables in the problems.
These factors must always be expressed as positive values.
Mathematical Formulation
More often than not, optimization problems are stated word problems which need to be transformed to
algebraic symbols. The following are recommended in converting word problems into mathematical
symbols
1. Represent the unknown value in the problem by a variable. If necessary, tabulate the data to
form mathematical sentences.
3. Using a coordinate plane, graph the constraints to determine the feasible region.
4. The point of intersection of lines can be seen. Solve for the coordinates of the point.
5. Substitute the coordinates at the vertices of the feasible region in the objective function.
6. From the values of coordinates at the vertices, the decision will rely on either the highest value
which corresponds to maximization or the lowest value which corresponds to minimization.
Linear Programming: Maximization Problems
Example 1: Graphic Art Inc., a manufacturer of photographic products, prepares two types of film
developers each day: fine and extra fine, using solutions A and B as the raw material. Suppose that each
quart of fine contains 2 oz. of solution A and 1 oz. of solution B, while each quart of extra fine contains 1
oz. solution A and 2 oz. of solution B. Suppose also that the profit is Php 80 for each quart of fine and
Php 100 for each quart of extra fine. If the firm has 50 oz. of solution A and 70 oz. of solution B available
each day, how many quarts of fine and how many quarts of extra fine should be made daily to maximize
the profit?
Solution:
Maximize (This is just the same as asking for the value of x and y that will maximize the objective
function)
𝑷 = 𝟖𝟎𝒙 + 𝟏𝟎𝟎𝒚 (objective function)
The feasible solution is bounded by vertices 1 to 4. The coordinates of three vertices are already
identified. However, V3 is still unknown so the coordinate points must be solved.
2𝑥 + 𝑦 = 50 (Eq. 1)
𝑥 + 2𝑦 = 70 (Eq. 2)
Example 2: Shane, the production manager of Pantene shampoo, wants to determine the production
mix that will yield the maximum profit. As a manager, she needs to analyze data for her to decide. It
takes 5 minutes to mix 1 case of men's shampoo and 10 minutes to mix 1 case of women's shampoo.
This process it done for 100 minutes per day. It takes 7 minutes to bottle 1 case of men's shampoo and 7
minutes to bottle 1 case of women's shampoo. Eighty-four minutes is consumed for the bottling process
per day. It takes 9 minutes to pack 1 case of men's shampoo and 5 minutes to pack 1 case of women's
shampoo. The total number of minutes available for the packing process is 90 minutes. The company
earns Php 60 for every case of men's shampoo and Php 80 for every case of women's shampoo. How
many cases of men's and women's shampoo should be produced per day to maximize the profit?
Solution: Let x be the number of minutes for mixing, bottling and packing the product for one case of
men's shampoo.
Let y be the number of minutes for mixing, bottling and packing the product for one case of
women's shampoo
Product
Process Number of Minutes per Case
Available Minutes per Day
Men’s Shampoo Women’s Shampoo
Mixing 5x 10y ≤ 100
Bottling 7x 7y ≤ 84
Packing 9x 5y ≤ 90
Profit per case in Php 60x 80y = Maximize
Objective function
Maximize: 𝑃𝑟𝑜𝑓𝑖𝑡 (𝑃 ) = 60𝑥 + 80𝑦
Constraints
Determine the intercept for each equation and graph. Converting each inequality into equation:
For 5𝑥 + 10𝑦 = 100, the intercepts are (0,10) and (20,0).
For 7𝑥 + 7𝑦 = 84, the intercepts are (0,12) and (12,0).
For 9𝑥 + 5𝑦 = 90, the intercepts are (0,18) and (10,0).
From the graph, the feasible solution is the region bounded by vertices 1 to 5. From these, two vertices
have no given values yet because they are points of intersection between two lines. To find the values,
use the system of simultaneous equations, V3 the point of intersection between the two lines
represented by the equations 7x + 7y = 84 and 5x+ 10y = 100.
Solving for the x and y coordinates of V3, the answers are: x = 4 and y = 8
15 9
𝑥= or 7.5 and 𝑦 = or 4.5
2 2
Decision – Making
Pantene Shampoo should produce 4 cases of men’s shampoo and 8 cases of women’s shampoo
per day in order to get the maximum profit of Php 880 per day.
Example 1: The ABCD Fertilizer Company has two plants where the products are made. In a week,
plant A can make at most 30 tons of fertilizers and plant B can make at most 40 tons. The production
manager wants to make a total of at least 50 tons of fertilizer per week. The amount of particulate
matter in the atmosphere over the nearby town is measured weekly and found out to be 20 pounds for
each ton of product made in plant A and 30 pounds for each ton of product made in plant B. How many
tons should be made weekly in each plant to minimize the total amount of particulate matter in the
atmosphere?
Let X + Y be the total amount of product manufactured per week in plants A and B.
Since the production manager wants to make a total of at least 50 tons per week, 𝑥 + 𝑦 ≥ 50. Plant A
can make 30 tons at most; hence, x ≤ 30, Plant B can make 40 tons at most, which is y ≤ 40. Of course, x
and y cannot be negative so x ≥ 0 and y ≥ 0. The amount of particulate matter in pounds is P= 20x + 10y.
This is what the company wants to minimize.
Subject to: 𝑥 + 𝑦 ≥ 50
𝑥 ≤ 30
𝑦 ≤ 40
𝑥 ≥ 0, 𝑦 ≥ 0
Graphing the constraints, the intercept of x + y = 50 are (0, 50) and (50, 0).
The feasible region is bounded by vertices A, B, and C with their corresponding coordinates as (10,40)
(30,40) and (30, 20). Finding the optimum solution from each vertex results in:
Example 2: The purchasing manager of a food company wants to determine the supply mix with the
least cost. He collects the data necessary for him to make a decision. A gallon of Liberty milk can
produce 5 cases of cheese, 7 cases of butter, and 9 cases of cream. In contrast, a gallon of Alaska milk
can make 10 cases of cheese, 8 cases of butter, and 4 cases of cream. He must produce at least 100
cases of cheese, 112 cases of butter, and 72 cases of cream per day. Liberty milk costs $5 per gallon
while Alaska milk costs $6 per gallon. How many gallons of Liberty milk and Alaska milk should he
purchase per day co minimize cost? The data are given below.
Solution:
Objectives function
Minimize: 𝐶 = 5𝑥 + 6𝑦
From the graph, the feasible solution/region is found on the four corners denoted by A, B, C, and D. The
coordinates A and D are already given while B and C are not.
𝟑𝟐 𝟏𝟐𝟔
𝒙= 𝒂𝒏𝒅 𝒚 =
𝟏𝟏 𝟏𝟏
Corner C is the intersection of the lines:
7𝑥 + 8𝑦 = 112
5𝑥 + 10𝑦 = 100
𝟑𝟐 𝟏𝟒
𝒙= 𝒂𝒏𝒅 𝒚 =
𝟑 𝟑
Decision – Making
𝟑𝟐 14
The purchasing manager should buy or 10.6667 gallons of Liberty Milk and or 4.6667
𝟑 3
gallons of Alaska Milk per day in order to achieve a minimum total cost of $81.3333.