LP HW2 Solution
LP HW2 Solution
LP HW2 Solution
Z 1 -1 -2 0 0 0
R1 0 4 5 -1 0 0
R2 0 8 5 0 -1 0
s3 0 3 10 0 0 1
s4 0 4 -7.5 0 0 0
s5 0 -7 10 0 0 0
Z 1 -1-12M -2-10M M M 0
R1 0 4 5 -1 0 0
R2 0 8 5 0 -1 0
s3 0 3 10 0 0 1
s4 0 4 -7.5 0 0 0
s5 0 -7 10 0 0 0
Z 1 0 -3.875-32.5M M M 0
R1 0 0 12.5 -1 0 0
R2 0 0 20 0 -1 0
s3 0 0 15.625 0 0 1
x1 0 1 -1.875 0 0 0
s5 0 0 -3.125 0 0 0
Z 1 0 0 M -0.1938-0.625M 0
R1 0 0 0 -1 0.625 0
x2 0 0 1 0 -0.05 0
s3 0 0 0 0 0.78125 1
x1 0 1 0 0 -0.09375 0
s5 0 0 0 0 -0.15625 0
Z 1 0 0 -0.31 0 0
s2 0 0 0 -1.6 1 0
x2 0 0 1 -0.08 0 0
s3 0 0 0 1.25 0 1
x1 0 1 0 -0.15 0 0
s5 0 0 0 -0.25 0 0
Z 1 0 0 0 0 0.248
s2 0 0 0 0 1 1.28
x2 0 0 1 0 0 0.064
s1 0 0 0 1 0 0.8
x1 0 1 0 0 0 0.12
s5 0 0 0 0 0 0.2
s4 s5 R1 R2 RHS
0 0 M M 0
0 0 1 0 20
0 0 0 1 32 P
0 0 0 0 30
1 0 0 0 12
0 1 0 0 20
0 0 0 0 -52M
0 0 1 0 20
0 0 0 1 32
P(M)
0 0 0 0 30
1 0 0 0 12
0 1 0 0 20
0.25+3M 0 0 0 3-16M
-1 0 1 0 8
-2 0 0 1 8
1
-0.75 0 0 0 21
0.25 0 0 0 3
1.75 1 0 0 41
-0.1375-0.25M 0 0 0 4.55-3M
0.25 0 1 -0.625 3
-0.1 0 0 0.05 0.4
2
0.8125 0 0 -0.78125 14.75
0.0625 0 0 0.09375 3.75
1.4375 1 0 0.15625 42.25
-0.06 0 5.48
0.4 0 4.8
-0.08 0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