急急!!使用lingo求解最优化问题,我的电脑lingo软件好就没用,今天开出来进用不了了,麻烦大家帮下忙吧

2024-11-26 02:42:15
推荐回答(2个)
回答1:

截图就算了,太麻烦了,百度还要审查,附上程序和结果

max=175*x1+300*x2+120*x3+3.5*y2+450*y1+6.8*x+7*y;
x1+x2+x3+1.5*y1<=100;
400*y1+y2<=25000;
20*x1+35*x2+10*x3+100*y1+0.6*y2+x =3500;
30*x1+75*x2+40*x3+50*y1+0.3*y2+y=4000;
y1<=32;
y2<=3000;

运行结果:

Global optimal solution found.
Objective value: 51800.00
Total solver iterations: 0

Variable Value Reduced Cost
X1 0.000000 171.0000
X2 0.000000 463.0000
X3 0.000000 228.0000
Y2 0.000000 2.680000
Y1 0.000000 580.0000
X 3500.000 0.000000
Y 4000.000 0.000000

Row Slack or Surplus Dual Price
1 51800.00 1.000000
2 100.0000 0.000000
3 25000.00 0.000000
4 0.000000 6.800000
5 0.000000 7.000000
6 32.00000 0.000000
7 3000.000 0.000000

回答2:

你修改一下你的电脑的时间,就行了,每款lingo软件都限制了使用年限呢