Professional Documents
Culture Documents
TPK - Chapter 7
TPK - Chapter 7
TPK - Chapter 7
Programming
Models
Group Member :
1. Felicia Monika
1511011032
2. Astri Datmalem
1511011051
What is Linear Programing ?
Linear programming (LP) is a widely used
mathematical modeling technique
designed to help managers in planning
and decision making relative to resource
allocation.
All problems seek to maximize or minimize
some quantity, usually profit or cost.
Steps in Formulating
Understand the managerial problem being faced
HOURS REQUIRED TO
PRODUCE 1 UNIT
(T) (C) AVAILABLE HOURS
DEPARTMENT TABLES CHAIRS THIS WEEK
Carpentry 4 3 240
Table 7.2
Graphical Representation of a
Constraint
C
100 –
– This Axis Represents the Constraint T ≥ 0
80 –
Number of Chairs
–
60 –
–
40 – This Axis Represents the
– Constraint C ≥ 0
20 –
–
|– | | | | | | | | | | |
0 20 40 60 80 100 T
(T = 0, C = 80)
–
60 –
–
40 –
–
(T = 60, C = 0)
20 –
–
|– | | | | | | | | | | |
0 20 40 60 80 100 T
–
60 –
–
(30, 40) (70, 40)
40 –
–
20 –
– (30, 20)
|– | | | | | | | | | | |
0 20 40 60 80 100 T
Painting/Varnishing Constraint
–
60 –
–
40 –
–
Carpentry Constraint
20 – Feasible
– Region
|– | | | | | | | | | | |
0 20 40 60 80 100 T
–
60 –
– $2,100 = $70T + $50C
(0, 42)
40 –
–
(30, 0)
20 –
–
|– | | | | | | | | | | |
0 20 40 60 80 100 T
–
60 –
–
3
40 –
–
20 –
–
1 |– | | | | | | | | | | |
0 20 40 60 80 100 T
4
Figure 7.9 Number of Tables
Point 1 : (T = 0, C = 0) Profit = $70(0) + $50(0) = $0
Point 2 : (T = 0, C = 80) Profit = $70(0) + $50(80) = $4,000
Point 3 : (T = 50, C = 0) Profit = $70(50) + $50(0) = $3,500
Point 4 : (T = 30, C = 40) Profit = $70(30) + $50(40) = $4,100
Because Point returns the highest profit, this is the optimal solution
To find the coordinates for Point accurately we have to solve for the
intersection of the two constraint lines
Example
Orlando business into Tampa. In doing so, the company must
determine how many storage rooms of each size to build. Its
objective and constraints follow:
Maximize monthly earnings = 50X1 + 20X2
subject to 2X1 + 4X2 ≤ 400
(advertising budget available)
100X1 + 50X2 ≤ 8,000 (square
footage required)
X1 ≤ 60 (rental limit expected)
X1, X2 ≥ 0
Where :
Profit = $4360
SOLVING MINIMIZATION PROBLEM
Table 7.4
Holiday Meal Turkey
Ranch X 2
–
Using the corner
point method
First we construct 20 –
the feasible
Pounds of Brand 2
Ingredient C Constraint
solution region 15 –
The optimal
a Feasible Region
solution will lie at 10 –
on of the corners
as it would in a 5–
Ingredient B Constraint
maximization b
problem c |A Constraint
Ingredient
0|– | | | |
5 10 15 20 25 X1
Pounds of Brand 1
Figure 7.10
Holiday Meal Turkey Ranch
We solve for the values of the three corner points
Point a is the intersection of ingredient constraints
C and B
4X1 + 3X2 = 48
X1 = 3
Substituting 3 in the first equation, we find X2 = 12
Solving for point b with basic algebra we find X1 =
8.4 and X2 = 4.8
Solving for point c we find X1 = 18 and X2 = 0
Holiday Meal Turkey Ranch
Substituting these value back into the objective
function we find
Cost = 2X1 + 3X2
Cost at point a = 2(3) + 3(12) = 42
Cost at point b = 2(8.4) + 3(4.8) = 31.2
Cost at point c = 2(18) + 3(0) = 36
approach
Pounds of Brand 2
15 –
Choosing an
initial cost of 54
cents, it is clear 10 –
improvement is
possible 5–
Figure 7.11
Four Special Cases in LP
Four special cases and difficulties arise at
times when using the graphical approach
to solving LP problems
Infeasibility
Unboundedness
Redundancy
Alternate Optimal Solutions
infeasibility : When there is no
solution to an LP problem that
satisfies all of the constraints given,
then no feasible solution exists.
Graphically, it means that no
feasible solution region exists—a
situation that might occur if the
problem was formulated with
conflicting constraints.
A problem with no feasible solution
X2
8–
–
6–
–
Region Satisfying
4– Third Constraint
–
2–
–
0– | | | | | | | | | |
2 4 6 8 X1
Figure 7.12
unboundedness : When the profit in a
maximization problem can be infinitely
large, the problem is unbounded and is
missing one or more constraints.
A solution region unbounded to the right
X2
X1 ≥ 5
15 –
X2 ≤ 10
10 –
Feasible Region
5–
X1 + 2X2 ≥ 15
0|– | | | |
5 10 15 X1
Figure 7.13
redundancy, Redundancy causes no
major difficulties in solving LP problems
graphically, but you should be able to
identify its occurrence. A redundant
constraint is simply one that does not
affect the feasible solution region. And
X2
30 –
A problem with
25 –
a redundant 2X1 + X2 ≤ 30
constraint 20 –
Redundan
t
15 – Constraint
X1 ≤ 25
10 –
X1 + X2 ≤ 20
Feasible
5–
Region
0– | | | | | |
5 10 15 20 25 30 X1
Figure 7.14
alternate optimal Solutions : An LP
problem may, on occasion, have two or
more alternate optimal solutions.
Graphically, this is the case when the
objective function’s isoprofit or isocost line
runs perfectly parallel to one of the
problem’s constraints—in other words,
when they have the same slope.
X2
8–
Example of 7–
alternate
optimal 6 –A
Optimal Solution Consists of All
solutions 5– Combinations of X1 and X2 Along
the AB Segment
4–
2–
B Isoprofit Line for $12
1 – Feasible Overlays Line Segment AB
Region
0– | | | | | | | |
1 2 3 4 5 6 7 8 X1
Figure 7.15
Sensitivity Analysis
Sensitivity analysis often involves a series of what-
if? questions concerning constraints, variable
coefficients, and the objective function
One way to do this is the trial-and-error method
where values are changed and the entire model
is resolved
The preferred way is to use an analytic
postoptimality analysis
After a problem has been solved, we determine
a range of changes in problem parameters that
will not affect the optimal solution or change the
variables in the solution
High Note Sound Company
The High Note Sound Company manufactures
quality CD players and stereo receivers
Products require a certain amount of skilled
artisanship which is in limited supply
The firm has formulated the following product mix
LP model
Maximize profit = $50X1 + $120X2
Subject to 2X1 + 4X2 ≤ 80 (hours of electrician’s
time available)
3X1 + 1X2 ≤ 60 (hours of audio
technician’s time
available)
X 1 , X2 ≥ 0
The High Note Sound Company graphical solution
X2
(receivers)
60 –
–
Optimal Solution at Point a
40 – X1 = 0 CD Players
X2 = 20 Receivers
a = (0, 20) – Profits = $2,400
b = (16, 12)
20 –
Isoprofit Line: $2,400 = 50X1 + 120X2
10 –
0– | | | | | |
10 20 30 40 50 60 X1
Figure 7.16 c = (20, 0) (CD players)
Changes in the
Objective Function Coefficient
0– | | c | | | |
10 20 30 40 50 60 X1
Figure 7.17