LP-1 Intro EN
LP-1 Intro EN
http://www.stmartin.edu/
The non-negativity
constraint
X1
7
LP Terminology
Feasible points in the feasible region:
three types are possible
X2
1000 The Plastic constraint
2X1+X2 1000
700 Total production constraint:
X1+X2 700 (redundant)
500
Infeasible
Production mix
constraint:
Production Feasible X1-X2 350
Time
3X1+4X22400
X1
500 700 8
Interior points Boundary points Extreme points
LINEAR PROGRAMMING
Application to the Food Industry
(Example of a Mixing Problem) - I
A brewery has received an order for 100 gal of beer with the
special constraint that the beer must contain 4% alcohol by
volume and it must be supplied immediately.
The brewery wishes to fill the order, but no 4% beer is now
in stock. It is decided to mix two beers now in stock to give
the desired final product. One of the beers in stock (Beer A)
contains 4.5% alcohol by volume and is valued at $0.32 per
gallon. The other beer in stock (Beer B) contains 3.7%
alcohol by volume and is valued at $0.25 per gallon. Water
(W) can be added to the blend at no cost.
What volume combination of the two beers in stock with
water, including at least 10 gal of Beer A, will give the
minimum ingredient cost for the 100 gal of 4% beer?
9
LINEAR PROGRAMMING
Application to the Food Industry
(Example of a Mixing Problem) - II
10
LINEAR PROGRAMMING
Application to the Food Industry
(Example of a Mixing Problem) - III
Mathematical Model
Objective function
z = 0.32 VA + 0.25 VB min!
Problem Constraints
1.VA + VB + Vw = 100
2.VA 10
3.(1 - 0.045) VA + (1 - 0.037) VB + Vw = (1 - 0.04)100
[3 0.045VA + 0.037VB = 4]
2) Solution
Example: x1 < 10
x1 < 12
The second constraint is redundant
because it is less restrictive.
13
Special Situation in LP
Example: x1 < 10
x1 > 15
14
Infeasible Model
No point, simultaneously,
lies both above line and
below lines and .
3 1
Max 2T + 2C C
Subject to: 10
2T
T + C < 10
+
All points on
2C
T < 5
=
Red segment
20
6
C< 6 are optimal
T, C > 0
NB:
The objective function eq. is
parallel to the eq. of one 0
0 5 10 T 16
constraint
Special Situation in LP
lut n
so tio
ion
Max 2T + 2C
of rec
Subject to:
Di
2
2T + 3C > 6
T, C > 0 1
0
0 1 2 3 T 17
Special Situation in LP
of
t i on
c n
i re lutio
D o
s
18
Special Situation in LP
5. Decision variable unrestricted in sign:
x j
x j x 'j x "j
with x 'j 0; x "j 0
19
Sensitivity Analysis
of the Optimal Solution
M
Ma ax
x 3 4X
.75 1 +
X 5X M
1 +
5X 2 ax
2 8X
1
+
600 5X
2
X1
500 800
from the companion CD of the book:
Lawrence and Pasternack, Applied Management Science: Modeling, Spreadsheet Analysis, 21
and Communication for Decision Making, 2nd Edition, 2002 John Wiley & Sons Inc.