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
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 02:03:13
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
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
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
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