ISE 330 Introduction To Operations Research: Deterministic Models What Is Linear Programming?
ISE 330 Introduction To Operations Research: Deterministic Models What Is Linear Programming?
Linear Programming
(Sec. 3.1 – 3.3)
Example 3.1 – Wyndor Glass Co. Example 3.1 – Wyndor Glass Co.
The company produces glass products and owns 3 plants. Production time available each week
Management decides to produce two new products. Plant 1: 4 hours
Product 1 Plant 2: 12 hours
1 hour production time in Plant 1 Plant 3: 18 hours
3 hours production time in Plant 3
$3,000 profit per batch
Product 2
2 hours production time in Plant 2
2 hours production time in Plant 3
$5,000 profit per batch
1
Example 3.1 – Wyndor Glass Co. Example 3.1 – Wyndor Glass Co.
Production Time per Batch,
Hours Maximize Z = 3x1 + 5x2
Production Time
Product Available per Week,
Plant 1 2 Hours Subject to:
1 1 0 4 x1 ≤ 4
2x2 ≤ 12
2 0 2 12 3x1 + 2x2 ≤ 18
3 3 2 18
Profit per batch $3,000 $5,000 and
x1 ≥ 0, x2 ≥ 0
Maximize
3x12x+x2Z12x≤=2412
3x
≤ 18
1 + 5x2
2
General Linear Programming Problems General Linear Programming Problems
Objective Function
Z = c1x1 + c2x2 + … + cnxn Z = Value of overall measure of performance Resource Usage per Unit of Activity
xj = Level of activity j Amount of
= Decision variables
Activity Resource
Constraints
cj = Increase in Z resulting from increase in j Resource 1 2 ... n Available
a11x1 + a12x2 + … + a1nxn ≤ b1 = Parameters
bi = Amount of available resources
1 a11 a12 ... a1n b1
a21x1 + a22x2 + … + a2nxn ≤ b2
... = Parameters 2 a21 a22 ... a2n b2
aij = Amount of resource i consumed by each unit of j
am1x1 + am2x2+ … + amnxn≤ bm = Parameters
... ... ... ... ... ...
Functional m am1 am2 ... amn bm
and Constraints Contribution to Z per c1 c2 ... cn
x1 ≥ 0, x2 ≥ 0, ..., xn ≥ 0 Non-negativity unity of activity
Constraints
3
Linear Programming Solutions Linear Programming Solutions
x2 x1 = 4 x1 = 9 x2 x1 = 4
2x2 = 12 2x2 = 12
2x2 = 12 2x2 = 12
4
Linear Programming Assumptions In-class Example
Proportionality – The contribution of each activity to Z or a 3.1-6 – The Whitt Window Company is a company with only three
constraint is proportional to the level of activity xj employees which makes two different kinds of hand-crafted windows: a
wood-framed and an aluminum-framed. They earn $60 profit for each
0 Z = 3x1 – 1 + 5x2
wood-framed window and $30 for each aluminum-framed window. Doug
Additivity – Every function is the sum of the individual makes the wood frames, and can make 6 per day. Linda makes the
contributions of the activities aluminum frames, and can make 4 per day. Bob forms and cuts the glass,
0 Z = 3x1 + 5x2 + x1x2 and can make 48 square feet of glass per day. Each wood-framed
window uses 6 square feet of glass and each aluminum-framed window
Divisibility – Decision variables are allowed to have any value, uses 8 square feet of glass.
including non-integer values
Certainty – The value assigned to each parameter is assumed How many windows of each type should be produced per day to maximize
profit?
to be a known constant