Sample LP in Excel
Sample LP in Excel
Decision Var
Contribution
M1
M2
Chairs
Total
Max Cap
0
40
50
30
1500
7
5
4
5
200
250
200
400
Variable Cells
Cell
Name
$C$4 Dec Var Cyclone
$D$4 Dec Var Storm
Constraints
Cell
Name
$E$4 Dec Var Total
$E$7 Labor Total
$E$8 Tubes Total
Cell Value
Formula
Status
200 $E$4<=$F$4 Binding
1566 $E$7<=$F$7 Binding
2712 $E$8<=$F$8 Not Binding
Slack
0
0
168
Variable Cells
Cell
Name
$C$4 Dec Var Cyclone
$D$4 Dec Var Storm
Final
Value
122
78
Reduced
Cost
Constraints
Cell
Name
$E$4 Dec Var Total
$E$7 Labor Total
$E$8 Tubes Total
Final
Shadow
Constraint Allowable
Value
Price
R.H. Side
Increase
200
200
200
7
1566 16.66666667
1566
234
2712
0
2880
1E+30
Allowable
Decrease
26
126
168
Objective
Cell
Name
$E$5 Contribution Total
Value
66100
Variable
Cell
Name
$C$4 Dec Var Cyclone
$D$4 Dec Var Storm
Value
122
78
Lower Objective
Limit
Result
0
23400
0
42700
Upper Objective
Limit
Result
122
66100
78
66100
Dec Var
Contribution
Labor
Tubes
Cyclone Storm
Total
Max
122
78
200
350
300
66100
9
12
6
16
1566
2712
200
1566
2880
Variable Cells
Cell
Name
$D$4 Dec Var WM1
$E$4 Dec Var WM2
$F$4 Dec Var WM3
Constraints
Cell
Name
$G$8 Wiring Total
$G$9 Manuf Total
$D$4 Dec Var WM1
$E$4 Dec Var WM2
$F$4 Dec Var WM3
Cell Value
9525
5000
3000
550
900
Formula
$G$8<=$H$8
$G$9<=$H$9
$D$4<=$D$5
$E$4<=$E$5
$F$4<=$F$5
Status
Not Binding
Binding
Binding
Not Binding
Binding
Slack
475
0
0
1450
0
Variable Cells
Cell
Name
$D$4 Dec Var WM1
$E$4 Dec Var WM2
$F$4 Dec Var WM3
Allowable Allowable
Increase
Decrease
1E+30
0.5
1
1
1E+30
0.5
Constraints
Cell
Name
$G$8 Wiring Total
$G$9 Manuf Total
Objective
Cell
Name
$G$4 Dec Var Total
Value
4450
Variable
Cell
Name
$D$4 Dec Var WM1
$E$4 Dec Var WM2
$F$4 Dec Var WM3
Value
3000
550
900
Lower Objective
Limit
Result
0
1450
0
3900
0
3550
Upper Objective
Limit
Result
3000
4450
550
4450
900
4450
WM1
Dec Var
Max
Cost
Wiring
Manuf
WM2
WM3
Total
Max
3000
3000
50
550
2000
83
900
900
130
4450
312650
2
1
1.5
2
3
1
9525
5000
10000
5000