Professional Documents
Culture Documents
Linear and Integer Programming Models
Linear and Integer Programming Models
8(450) + 5(100)
Management is seeking a
production schedule that will
increase the companys profit.
10
Objective Function:
Weekly profit, to be maximized
11
(Weekly profit)
subject to
2X1 + 1X2 1000
(Plastic)
(Production Time)
X1 + X2 700
(Total production)
X1 - X2 350
(Mix)
Xj> = 0, j = 1,2
(Nonnegativity)
12
13
14
X1
15
1000
700
500
Infeasible
Production
Time
3X1+4X2 2400
Feasible
500
700
X1
16
1000
700
500
Production
Time
3X1+4X22400
Infeasible
Production mix
constraint:
X1-X2 350
Feasible
500
700
X1
17
18
700
Profit =$4360
500
X1
500
19
21
22
Sensitivity Analysis of
Objective Function Coefficients.
Range of Optimality
The optimal solution will remain unchanged as long as
An objective function coefficient lies within its range of
optimality
There are no changes in any other input parameters.
Sensitivity Analysis of
Objective Function Coefficients.
1000
X2
500
+5
X1
x8
Ma
M
Ma ax 4
x3
.75 X1 +
X 5X
1 +
5X 2
X2
Max
2X
+ 5X
X1
500
800
25
1000
Sensitivity Analysis of
Objective
Function
Coefficients.
X
2
X2
+5
X1
x8
Ma
X2
3.7
5
+5
Ma
x
X1
500
+5
X2
400
600
800
X126
Reduced cost
Assuming there are no other changes to the input parameters,
the reduced cost for a variable Xj that has a value of 0 at the
optimal solution is:
The negative of the objective coefficient increase of the variable
Xj (-Cj) necessary for the variable to be positive in the optimal
solution
Alternatively, it is the change in the objective value per unit
increase of Xj.
Complementary slackness
At the optimal solution, either the value of a variable is zero, or
its reduced cost is 0.
27
Sensitivity Analysis of
Right-Hand Side Values
In sensitivity analysis of right-hand sides of constraints
we are interested in the following questions:
Keeping all other factors the same, how much would the
optimal value of the objective function (for example, the profit)
change if the right-hand side of a constraint changed by one
unit?
For how many additional or fewer units will this per unit
change be valid?
28
Sensitivity Analysis of
Right-Hand Side Values
Any change to the right hand side of a binding
constraint will change the optimal solution.
Any change to the right-hand side of a nonbinding constraint that is less than its slack or
surplus, will cause no change in the optimal
solution.
29
Shadow Prices
Assuming there are no other changes to the
input parameters, the change to the objective
function value per unit increase to a right hand
side of a constraint is called the Shadow Price
30
The Plastic
constraint
X2
1000
2X 1
01
=10
x 2<
00
+1
=10
x 2<
+1
2X 1
500
Production time
constraint
X1
500
31
Range of Feasibility
Assuming there are no other changes to the
input parameters, the range of feasibility is
The range of values for a right hand side of a constraint, in
which the shadow prices for the constraints remain
unchanged.
In the range of feasibility the objective function value changes
as follows:
Range of Feasibility
The Plastic
constraint
X2
2X 1
=10
x 2<
+1
1000
00
Production mix
constraint
X1 + X2 700
A new active
constraint
500
33
Range of Feasibility
The Plastic
constraint
X2
2X 1
0
100
x 2
+1
1000
500
Production time
constraint
X1
500
34
Range of Feasibility
X2
Infeasible
solution
1000
A new active
constraint
X1
500
35
$D$7:$D$10
$F$7:$F$10
38
$D$7:$D$10<=$F$7:$F$10
39
40
Space Rays
320
8
2
3
1
1
Zappers
360
5
1
4
1
-1
Total
4360
1000
2400
680
-40
Limit
<=
<=
<=
<=
1000
2400
700
350
41
Space Rays
320
8
2
3
1
1
Zappers
360
5
1
4
1
-1
Total
4360
1000
2400
680
-40
Limit
<=
<=
<=
<=
1000
2400
700
350
42
Original Value
4360
Final Value
4360
Adjustable Cells
Cell
Name
Original Value
$B$4 Dozens Space Rays
320
$C$4 Dozens Zappers
360
Final Value
320
360
Constraints
Cell
Name
$D$7 Plastic Total
$D$8 Prod. Time Total
$D$9 Total Total
$D$10 Mix Total
Cell Value
1000
2400
680
-40
Formula
$D$7<=$F$7
$D$8<=$F$8
$D$9<=$F$9
$D$10<=$F$10
Status
Slack
Binding
0
Binding
0
Not Binding
20
Not Binding
390
43
Adjustable Cells
Final Reduced Objective Allowable Allowable
Cell
Name
Value
Cost
Coefficient Increase
Decrease
$B$4 Dozens Space Rays
320
0
8
2
4.25
$C$4 Dozens Zappers
360
0
5 5.666666667
1
Constraints
Cell
$D$7
$D$8
$D$9
$D$10
Name
Plastic Total
Prod. Time Total
Total Total
Mix Total
44
Infeasible Model
No point, simultaneously,
lies both above line 1 and
below lines 2 and 3
46
47
Unbounded solution
the
Ma
xim
Ob
jec
iz e
t
ive
Th
Fu
ef
nc
ea
tio
re si
n
gio ble
n
48
49
52
The Model
Minimize 0.60X1 + 0.50X2
Cost per 2 oz.
Subject to
20X1 + 50X2 100 Vitamin A
25X1 + 25X2 100 Vitamin D
% Vitamin A
provided per 2 oz.
50X1 + 10X2 100 Iron
% required
X1, X2 0
53
Feasible Region
Vitamin D constraint
Vitamin A constraint
54
55