Or - Lecture 3 - LP Graphical Solution
Or - Lecture 3 - LP Graphical Solution
LP – Graphical Solution
Fall 2024-2025
Example 1 – Beaver Creek Pottery Company
Resource Requirements
Labor Clay Profit
Product
(hr/unit) (lb/unit) ($/unit)
Bowl 1 4 40
Mug 2 3 50
Resource
40 hr/day 120 lbs
Availability
2 OR – LP Graphical Solution
Example 1 – Beaver Creek Pottery Company (Cont’d)
3 OR – LP Graphical Solution
Example 1 – Beaver Creek Pottery Company
Graphical Solution
x2
50 –
Complete Linear
Programming Model: 40 –
4 x1 + 3 x2 <120 lb
Maximize Z = $40 x1 + 50 x2
Maximize Z = $40x1 + 30 –
Optimal point:
$50x2 Area common to x1* = 24 bowls
20 –
Subject to: both constraints x2* = 8 mugs
• 1x1 + 2x2 40 (Feasibility Region) Z* = $1,360
10 –
• 4x1 + 3x2 120 x1 + 2 x2 <40 hr
• x1, x2 0 0– | | | | | |
10 20 30 40 50 60 x1
4 OR – LP Graphical Solution
Graphical Solution
Can be used when there are two decision variables
Number of Watch-TVs
– Assembly (constraint B)
X1, X2 ≥ 0 60 –
–
40 –
1. Plotting the constraint equations –
Electronics (constraint A)
Disregard the inequality portion of 20 –
the constraints (< or >). –
Make each constraint an equality (=) –
| | | | | | | | | | | X1
transforms it into the equation for a 0 20 40 60 80 100
straight line. Number of Walkmans
6 OR – LP Graphical Solution
Example 2 – Product Mix Problem (Cont’d)
Maximize Profit = $7X1 + $5X2 X2
Subject to: 100 –
4X1 + 3X2 ≤ 240 (Constraint A) –
2X1 + 1X2 ≤ 100 (Constraint B) 80 – Assembly (constraint B)
Number of Watch-TVs
–
X1, X2 ≥ 0
60 –
–
7 OR – LP Graphical Solution
Example 2 – Product Mix Problem (Cont’d)
Maximize Profit = $7X1 + $5X2 X2
Subject to: 100 –
4X1 + 3X2 ≤ 240 (Constraint A) –
2X1 + 1X2 ≤ 100 (Constraint B) 80 –
Number of Watch-TVs
–
X1, X2 ≥ 0
60 –
$210 = $7X1 + $5X2
–
(0, 42)
3. Create an iso-profit line based 40 –
8 OR – LP Graphical Solution
Example 2 – Product Mix Problem (Cont’d)
Maximize Profit = $7X1 + $5X2
X2
Subject to:
100 –
4X1 + 3X2 ≤ 240 (Constraint A) – $350 = $7X1 + $5X2
2X1 + 1X2 ≤ 100 (Constraint B) 80 –
Number of Watch-TVs
$280 = $7X1 + $5X2
X1, X2 ≥ 0 –
60 – $210 = $7X1 + $5X2
–
4. Move this line outwards until 40 –
9 OR – LP Graphical Solution
Example 2 – Product Mix Problem (Cont’d)
X2
100 –
– Maximum profit line
Number of Watch-TVs
80 –
–
60 – Optimal solution point
– (X1 = 30, X2 = 40)
40 –
–
$410 = $7X1 + $5X2
20 –
–
0 –| | | | | | | | | | | X1
0 20 40 60 80 100
Number of Walkmans
10 OR – LP Graphical Solution
Example 2 – Product Mix Problem (Cont’d)
Corner Point Method: X2
Corner point: A point that lies at
the intersection of two (or possibly 100 –
Number of Watch-TVs
boundary of the feasible region. 80 –
–
Even though all the points in the
60 –
feasible region represent possible
–
solutions, we can limit our search 3
40 –
to the corner points.
–
No interior points in the feasible 20 –
region need be considered because –
at least one corner point is better X1
1 0 –| | | | | | | | | | |
than any interior point. 0 20 40 4 60 80 100
Number of Walkmans
11 OR – LP Graphical Solution
Corner-Point Method
Subject to:
X1 ≥ 30 (tons of black-and-white chemical)
X2 ≥ 20 (tons of colour chemical)
X1 + X2 ≥ 60 (tons total)
X1 , X2 ≥ 0 (non-negativity requirements)
13 OR – LP Graphical Solution
Example 3 – Resource Utilization (Cont’d)
60 – X1 + X2 = 60
Z at (a) = $160,000
50 –
Feasible
region
Point (b) = (30, 30) 40 –
Z at (b) = $165,000 30 –
b
20 –
a
Lowest total cost is at 10 –
X1 = 30
X2 = 20
point (a) | | | | | | | X1
0 10 20 30 40 50 60
14 OR – LP Graphical Solution
Example 4 – Airline Flights
A local Airline Company is considering air service from its hub of operations
in Germany to Rome, and Dublin. They have one gate at Berlin Airport, which
operates 12 hours per day.
Each flight requires 1 hour of gate time and the pilot crew labour is limited to
150 hours per day.
Each flight to Rome consumes 15 hours of pilot crew time and is expected to
produce a profit of €2,500. The market for service to Rome is limited to 9
flights per day.
Serving Dublin uses 10 hours of pilot crew time per flight and will result in a
profit of €2,000 per flight.
Determine the number of daily flights to Rome and Dublin to maximize total
profit.
15 OR – LP Graphical Solution
Example 4 – Airline Flights (Cont’d)
Decision Variables
x1 = number of flights per day to Rome
x2 = number of flights per day to Dublin
The objective function is to maximize profits (Z)
Maximize Z = € 2,500x1 + € 2,000x2
16 OR – LP Graphical Solution
Example 4 – Airline Flights (Cont’d)
x2
15 — A careful drawing
15 x1 + 10 x2 ≤ 150 (labor) of iso-profit lines
parallel to the one
E shown indicates
that point D is the
10 — optimal solution.
x1 ≤ 9 (market)
D
5—
Feasible
x1 + x2 ≤ 12 (gate)
region
C
B
0— | | | x1
A 5 10 15
17 OR – LP Graphical Solution
Example 4 – Airline Flights (Cont’d)
x2
15 —
15 x1 + 10 x2 ≤ 150 (labor)
The maximum profit results from
E´
making six flights to Rome and six
10 —
flights to Dublin
$2,500(6) + $2,000(6) = $27,000
x1 ≤ 9 (market)
D´
5—
Feasible
x1 + x2 ≤ 12 (gate)
region
C
B
0— | | | x1
A 5 10 15
18 OR – LP Graphical Solution
Example 5
Find the maximum
values of the function: 3–
z = 5x + 2y, 3x + 2y ≥ 6
Given the following set
of constraints:
2–
2x + 3y ≥ 6,
3x + 2y ≥ 6,
x& y≥0 2x + 3y ≥ 6
1-
Unbounded
I I I
Solution 1 2 3
19 OR – LP Graphical Solution 19
Example 6
Find the minimum
values of the function 5–
z = 5x + 2y,
4-
Given the following set
of constraints: 3x + 3y ≤ 9
3-
3x + 3y ≤ 9, 4x + 5y ≥ 20
4x + 5y ≥ 20, 2–
x and y ≥ 0
1-
Infeasible Solution I I I I I
1 2 3 4 5
20 OR – LP Graphical Solution 20
Example 7
• Maximize the function:
z = $40x1 + 30x2,
• Given the following set of
constraints:
• 1x1 + 2x2 40
• 4x1 + 3x2 120
• x 1 & x2 0
• Objective function is parallel
to a constraint line.
Multiple Optimal Solutions
21 OR – LP Graphical Solution
Irregular Types of Linear Programming Problems
For some linear programming models, the general rules do not apply
23 OR – LP Graphical Solution
23
Thank You
Questions?
[email protected]