Module 1 Lesson 1.2. Graphical Method
Module 1 Lesson 1.2. Graphical Method
MODULE 1
OPTIMIZATION OF DISCRETE
MODEL:
Operation Research
• A Linear Programming model seeks the most optimum solution for a problem
that is the largest (maximum) and the smallest (minimum) values of function,
subject to a set of linear constraints.
• The linear model consists of the following components:
- a set of decision variables
- an objective function
- a set of constraints
1. The main objective of the decision maker or planner is to obtain the optimum
solution that must be either to maximize or to minimize.
2. The actions of the decision maker or planner must not violate the limitations
or constraints.
3. All variables used have a value from zero or more, that is greater than or equal
to zero.
4. The relationship of variables could be presented into equations or inequalities.
Here are some list of words that are commonly used in the linear programming
problems with their corresponding symbols of inequality.
Words Symbol of Inequality
Maximization, at most, no more than, ≤
available
Minimization, at least ≥
Module 1 – Optimization of Discrete Model
Examples:
Solve the following linear programming problems completely.
1. An airline offers coach and first-class tickets. For the airline to be profitable, it must
sell a minimum of 25 first-class tickets and a minimum of 40 coach tickets. The
company makes profit of PhP2,250 for each coach ticket and PhP200 for each
first-class ticket. At most, the plane has a capacity of 150 travelers. How many of
each ticket should be sold in order to maximize the profit.
Solution:
𝑥 + 𝑦 ≤ 150
Subject To : { 𝑥 ≥ 40 explicit constraints
𝑦 ≥ 25
𝑥 ≥0 implicit constraints
𝑦 ≥0
Eqt’n. 1: x + y = 150
x 0 150
y 150 0 Common
Solution
Eqt’n. 2: x = 40
Eqt’n. 3: y = 25
x + y = 150 and x = 40
40 + y =150
y = 150 – 40 (by addition property)
y = 110
x + y = 150 and y = 25
x + 25 = 150
x = 150 – 25 (by addition property)
x = 125
x = 40 and y = 25
Vertices of
the Feasible Objective Function: 2,250x + 2000y Results
Region
(40, 110) 2,250(40) + 2000(110) 310,000
(40, 25) 2,250(40) + 2000(25) 140,000
(125, 25) 2,250(125) + 2000(25) 331,250
Decision:
Maximum Profit: Php331,250.00
x = 125 pieces of coach ticket
y = 25 pieces of first-class ticket
Interpretation: The airline company should sell 125 pieces of coach ticket and 25
pieces of first-class ticket to maximize the profit at
Php331,250.00
2. The GBJ Mix Enterprise combines two ingredients, X and Y to form a mixture of a
product that must weigh at least 30 kilos. At most 15 kilos of X and no more that
25 kilos of Y can be used. Ingredient X costs PhP150 per kilos, while Y costs
PhP120 per kilo. Find the number of kilos of each of the two ingredients that should
be used in order to minimize the cost of production.
Solution:
𝑥 + 𝑦 ≥ 30
Subject To : { 𝑥 ≤ 15 explicit constraints
𝑦 ≤ 25
𝑥 ≥0 implicit constraints
𝑦 ≥0
Module 1 – Optimization of Discrete Model
Eqt’n. 1. x + y = 30
x 0 30
y 30 0
Eqt’n 2. x = 15
Eqt’n. 3. y = 25
Substitute x = 15 to eqt’n. 1: x + y = 30
15 + y = 30
y = 30 – 15
y = 15
Substitute y = 25 to eqt’n. 1: x + y = 30
x + 25 = 30
x = 30 – 25
x=5
Point (5, 25) is one of the vertices of the feasible region.
Vertices of the
Feasible Objective Function: 150x + 120y Results
Region
(5, 25) 150(5) + 120(25) 3,750
(15, 15) 150(15) + 120(15) 4,050
(15, 25) 150(15) + 120(25) 5,250
Decision:
Minimum Cost of Production: PhP3,750
x = 5 kilos of ingredient X
y = 25 kilos of ingredient Y
Interpretation: The GBJ Mix Enterprise should use 5 kilos of ingredient X and
25 kilos of ingredient Y for the mixture to minimize the cost of
production at PhP3, 750.
Module 1 – Optimization of Discrete Model
SPECIAL CASES:
1. Infeasible Problem
➢ In some cases, there is no feasible solution area, for instance, there are no
points that satisfy all constrains of the problem. An infeasible LP problem, with
two decision variables can be identified through its graph.
For example:
Minimize C = 200x1 + 300x2
The region located on the right of PQR includes all solutions which satisfy the
first and the third constraints. The region located on the left of ST inclu des all
solutions, which satisfy the second constraint. Thus, the problem is infeasible
because there is no set of points that will satisfy all the three constraints.
2. Unbounded Problem
➢ It is a solution whose objective function is infinite. If the feasible region is
unbounded then one or more decision variables will increase indefinitely
without violating feasibility, and the value of the objective function can be made
arbitrarily large.
For example:
Minimize C = 40x1 + 60x2
2𝑥 1 + 𝑥 2 ≥ 70
Subject to : { 𝑥 1 + 𝑥 2 ≥ 40
𝑥 1 + 3𝑥 2 ≥ 90
𝑥1; 𝑥2 ≥ 0
The points (x1, x2) must be somewhere in the solution space as shown in the
figure by shaded portion.
Exercises:
A.
Find the common solution of each of the following linear programming problems
by graphical method.
a. Draw the graph and solve for the point of intersection if any.
b. Substitute the coordinates of the vertices in the objective function.
c. Write down the decision.
d. Interpret the result.
1. Maximize: 20𝑥 + 30
4𝑥 + 2𝑦 = 8
Subject to: {
4𝑥 + 8𝑦 ≤ 16
𝑥 ≥ 0; 𝑦 ≥ 0
B.
Find the common solution of each of the following linear programming problems
by graphical method.
Seatwork:
A.
Find the common solution of each of the following linear programming problems
by graphical method.
a. Draw the graph and solve for the point of intersection if any.
b. Substitute the coordinates of the vertices in the objective function.
c. Write down the decision.
d. Interpret the result.
B.
Find the common solution of each of the following linear programming problems
by graphical method.
The AAB factory produces two types of industrial chemical: X 1 and X2. The
profit realized from a kilo of type X 1 at PhP350 and PhP250 for type X 2. The
raw materials from which the industrial chemicals are made, are nitrogen,
sulfur, and potassium which are used in the following quantities:
The available stocks include 2,400 kilos of nitrogen, 1,600 kilos of potassium,
and 1,400 kilos of sulfur. The objective is to maximize the profit. Find the
amounts of X 1 and X2 to be manufactured.
Assignment:
Find the common solution of each of the following linear programming problems
by graphical method.
1. Each month a store owner Adler can spend at most PhP1,000,000 on PC’s and
laptops. A PC costs the store owner PhP15,000 and a laptop costs him
PhP20,000. Each PC is sold for a profit of PhP10,000 while laptop is sold for a
profit of PhP15,000. The store owner estimates that at least 12 PC’s but no
more than 30 are sold each month. He also estimates that the number of laptops
sold is a at most half the PC’s. How many PC’s and laptops should be sold in
order to maximize the profit?