Linear Programming
Linear Programming
Linear
Programming
Linear Programming
was invented by a mathematician named George Dantzig. His
idea about linear programming was to consider any business
variable (e.g. manufacturing, scheduling, or distribution) and
formulate a mathematical linear model that would optimize the
business objective. Essentially, optimizing the business objective
means to find the maximum profit or minimum cost considering
various constraints.
Terminologies in Linear
Programming
1. An objective function is an equation which is minimized or
maximized. This illustrates the relationship between variables of
interest with a goal.
2. Structural constraints refer to the restrictions in terms of the
available resources.
3. Non-negativity refers to the decision variable that subjects the
linear programming model to zero or positive values.
4. An optimal solution refers to the set of values that yields the
maximum profit or minimum cost.
5. The feasible region is the common region determined by all
constraints (i.e. structural and non-negativity constraints).
Linear Programming:
Maximization
Examples:
1. A shop sells two kinds of dolls, A and B. The shop owner pays
Php45 and Php50 for each piece of doll A and B respectively. One
piece of toy A earns a profit of Php50 while doll B yields a profit of
Php75. The shop owner approximates that no more than 2,000
dolls will be sold every month and she does not want to exceed
the cost of Php20,000. How many units of each type of doll should
be produced in order to maximize profit?
Solution:
a. Express the given values through a table. We begin by
understanding the constraints of the problem through a table.
Let x- quantity of Doll A; y- quantity of Doll B.
Variables x y Available
Quantity 1 1 2,000
Price 50 75 20,000
Profit 45 50
b. Define the constraints and the objective function.
Objective function: P= 45x+50y
Subject to the following constraints:
x+y≤2000
50x+75y≤20,000➡️Structural Constraints
x20;y200➡️Non-negativity Constraints
(0,266.28) 45(0)+50(0,266.28)=13,314
(400,0) 45(400)+50(0)=18,000
Subject to:
2x + 6y <= 24
6x + 3y <18
x+y<4
X,y>0
Solution:
a. In this problem, we are already given the linear programming
model. So, we graph each constraint in a Cartesian coordinate
system and determine the feasible region (solution set) and
extreme points.
b. Observe that in the graph, we need to find for the intersection
of x + y = 4 and 6x + 3y = 18 (we'll leave it as your exercise!).
The point of intersection is (2,2).
So,
Extreme Points Profit
(P=10x+20y)
(0,4) 10(0)+20(4)=80
(2,2) 10(2)+20(2)=60
(3,0) 10(3)+20(0)=30
Product x y Requirement
Cheese 5 11 110
Butter 7 8 112
Cream 9 4 72