lingo线性规划编程,应该不难,50分x1+x2+x3+x4=84x5+x6+x7+x8=116x3+x7-x9-x11=0x4+x8-x10-x12=0x1+x5+x9+x10=96x2+x6+x11+x12=104x1
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/21 11:15:55
![lingo线性规划编程,应该不难,50分x1+x2+x3+x4=84x5+x6+x7+x8=116x3+x7-x9-x11=0x4+x8-x10-x12=0x1+x5+x9+x10=96x2+x6+x11+x12=104x1](/uploads/image/z/8883941-5-1.jpg?t=lingo%E7%BA%BF%E6%80%A7%E8%A7%84%E5%88%92%E7%BC%96%E7%A8%8B%2C%E5%BA%94%E8%AF%A5%E4%B8%8D%E9%9A%BE%2C50%E5%88%86x1%2Bx2%2Bx3%2Bx4%3D84x5%2Bx6%2Bx7%2Bx8%3D116x3%2Bx7-x9-x11%3D0x4%2Bx8-x10-x12%3D0x1%2Bx5%2Bx9%2Bx10%3D96x2%2Bx6%2Bx11%2Bx12%3D104x1)
lingo线性规划编程,应该不难,50分x1+x2+x3+x4=84x5+x6+x7+x8=116x3+x7-x9-x11=0x4+x8-x10-x12=0x1+x5+x9+x10=96x2+x6+x11+x12=104x1
lingo线性规划编程,应该不难,50分
x1+x2+x3+x4=84
x5+x6+x7+x8=116
x3+x7-x9-x11=0
x4+x8-x10-x12=0
x1+x5+x9+x10=96
x2+x6+x11+x12=104
x1
lingo线性规划编程,应该不难,50分x1+x2+x3+x4=84x5+x6+x7+x8=116x3+x7-x9-x11=0x4+x8-x10-x12=0x1+x5+x9+x10=96x2+x6+x11+x12=104x1
min=3.7*x1+5*x2+1.5*x3+1.3*x4+3.1*x5+3.5*x6+1*x7+1*x8+1.5*x9+1.9*x10+1.7*x11+1.6*x12
+@if(x1#le#40,0,(x1-40)*4.1)
+@if(x2#le#30,0,(x2-30)*5.3)
+@if(x3#le#30,0,(x3-30)*1.8)
+@if(x4#le#30,0,(x4-30)*1.6)
+@if(x5#le#40,0,(x5-40)*3.5)
+@if(x6#le#30,0,(x6-30)*3.8)
+@if(x7#le#30,0,(x7-30)*1.3)
+@if(x8#le#30,0,(x8-30)*1.3)
+@if(x9#le#40,0,(x9-40)*1.9)
+@if(x10#le#40,0,(x10-40)*2.2)
+@if(x11#le#30,0,(x11-30)*2.0)
+@if(x12#le#30,0,(x12-30)*1.9);
x1+x2+x3+x4=84;
x5+x6+x7+x8=116;
x3+x7-x9-x11=0;
x4+x8-x10-x12=0;
x1+x5+x9+x10=96;
x2+x6+x11+x12=104;
x1