linear program model
I need help forming a linear program model for the following problem:Compound Sulfur (%) Iron Oxide (%) Potassium (%) Cost ($) % in Mix
1 20 60 20 5 0
2 40 30 30 5.25 0
3 10 40 50 5.5 0
Actual 0 0 0 0 0
Min 20 30 30
Max 0 0 45
I cannot get an answer to come out correctly. Can anyone help?
Electric Gas
Number to Make 30000 10000 Optimal Solution: Make 30000 Electric, 10000 Gas and Buy 5000 Gas
Number to Buy 0 5000
Cost to Make ($) 55 67
Cost to Buy ($) 85 95 Total Cost 2795000
Total Available 30000 15000
Total Needed 30000 15000
Resources Required Used Available
Production (hrs) 0.2 0.4 10000 10000 M1*0.2+M2*0.4 <= 10000
Assembly (hrs) 0.3 0.5 14000 15000 M1*0.3+M2*0.5 <= 15000
Packaging (hrs) 0.1 0.1 4000 5000 M1*0.1+M2*0.1 <= 5000
LP Model:
M1=# of electric to make
M2=#of gas to make
B1=#of electric to buy
B2=#of gas to buy
Obj: Minimize 55(M1)+85(M2)+67(B1)+95(B2)
ST: M1+B1=30000
M2+B2=15000
0.2(M1)+0.4(M2) <=10000
0.3(M1)+0.5(M2) <= 15000
0.1(M1)+0.1(M2)<=5000
M1, M2 >=0
B1,B2 >=0
Compound Sulfur (%) Iron Oxide (%) Potassium (%) Cost ($) % in Mix
1 20 60 20 5
2 40 30 30 5.25
3 10 40 50 5.5
Actual
Min 20 30 30
Max 45