Linear Programming
Linear Programming
Learning Objectives
Describe the type of problem that would lend
itself to solution using linear programming
Formulate a linear programming model from
a description of a problem
Solve linear programming problems using
the graphical method
Solve linear programming problems using
the Simplex method
Linear Programming
Used to obtain optimal solutions to
problems that involve restrictions or
limitations, such as:
Materials
Budgets
Labor
Machine time
Linear Programming
x1 + 2x2 ≤ 720
3x1 + x2 ≤ 900
x1 , x2 ≥ 0.
Linear Programming
x1 P 2 3 - 3
x2 Q - 2 5 5
x3 R 3 2 4 4
2x1 + 3x3 ≤ 8
5x2 + 4x3 ≤ 15
x1 , x2, x3 ≥ 0
Linear Programming
7x1 + 2x2 ≥ 30
5x1 + 4x2 ≥ 20
2x1 + 8x2 ≥ 16
x1 , x2 ≥ 0.
Linear Programming
x1 A 1.5 2 5
x2 B 2.5 1.5 4
Hours Available 80 70
(per week) Maximum Maximum
1.5x1 + 2.5x2 ≤ 80
2x1 + 1.5x2 ≤ 70
x1 , x2 ≥ 0.
Graphical Method
Objective - profit
Maximize, Z = 60X1 + 50X2
Subject to:
Assembly 4X1 + 10X2 ≤ 100 hours
Inspection 2X1 + 1X2 ≤ 22 hours
Storage 3X1 + 3X2 ≤ 39 cubic feet
X1, X2 ≥ 0
Linear Programming Example
Objective
Maximize, Z = 2X1 + 10X2
Subject to:
Durability 10X1 + 4X2 ≥ 40 wk
Strength X1 + 6X2 ≥ 24 psi
Time X1 + 2X2 ≤ 14 hr
X1, X2 ≥ 0
Slack and Surplus
Simplex: a linear-programming
algorithm that can solve problems
having more than two decision
variables
MS Excel Worksheet for
Microcomputer Problem
MS Excel Worksheet Solution