LINGO 程序.帮忙运行下结果呀!急呀!谢谢……
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/08/10 00:31:25
LINGO 程序.帮忙运行下结果呀!急呀!谢谢……
model:
min=12*(@sqrt(36+D1^2))+18*(@sqrt(16+(D2-D1)^2))+28*(@sqrt(25+(D3-D2)^2))+16*(@sqrt(36+(D4-D3)^2))+25*(@sqrt(D5-D4)^2);
D4>=D3;
D3>=D2;
D2>=D1;
D1>=0;
D5=40;
end
model:
min=12*(@sqrt(36+D1^2))+18*(@sqrt(16+(D2-D1)^2))+28*(@sqrt(25+(D3-D2)^2))+16*(@sqrt(36+(D4-D3)^2))+25*(@sqrt(D5-D4)^2);
D4>=D3;
D3>=D2;
D2>=D1;
D1>=0;
D5=40;
end
![LINGO 程序.帮忙运行下结果呀!急呀!谢谢……](/uploads/image/z/6825420-36-0.jpg?t=LINGO+%E7%A8%8B%E5%BA%8F.%E5%B8%AE%E5%BF%99%E8%BF%90%E8%A1%8C%E4%B8%8B%E7%BB%93%E6%9E%9C%E5%91%80%21%E6%80%A5%E5%91%80%21%E8%B0%A2%E8%B0%A2%E2%80%A6%E2%80%A6)
Feasible solution found.
Objective value: 799.8467
Infeasibilities: 0.000000
Extended solver steps: 5
Total solver iterations: 416
Variable Value Reduced Cost
D1 17.09808 10.12867
D2 17.36409 -0.5034372
D3 17.66783 -13.75420
D4 40.00000 -9.547977
D5 40.00000 0.000000
Row Slack or Surplus Dual Price
1 799.8467 -1.000000
2 22.33217 0.000000
3 0.3037417 0.000000
4 0.2660055 0.000000
5 17.09808 0.000000
6 0.000000 -25.00000
Objective value: 799.8467
Infeasibilities: 0.000000
Extended solver steps: 5
Total solver iterations: 416
Variable Value Reduced Cost
D1 17.09808 10.12867
D2 17.36409 -0.5034372
D3 17.66783 -13.75420
D4 40.00000 -9.547977
D5 40.00000 0.000000
Row Slack or Surplus Dual Price
1 799.8467 -1.000000
2 22.33217 0.000000
3 0.3037417 0.000000
4 0.2660055 0.000000
5 17.09808 0.000000
6 0.000000 -25.00000