当前位置: > lingo程序求解啊...
题目
lingo程序求解啊
model:
sets:
warehouses/wh1..wh2/: capacity;
vendors/v1..v6/: demand;
axin/a1..a2/:a;
bxin/b1..b2/:b;
xgong/x1..x6/:x;
ygond/y1..y6/:y;
links(warehouses,vendors): length, m;
endsets
min=@sum(links: length*m);
@for(vendors(J):
@sum(warehouses(I): m(I,J))>=demand(J));
@for(warehouses(I):
@sum(vendors(J): m(I,J))

提问时间:2021-12-20

答案
这样写才对model:sets:warehouses/wh1..wh2/: capacity;vendors/v1..v6/: demand;axin/a1..a2/:a;bxin/b1..b2/:b;xgong/x1..x6/:x;ygond/y1..y6/:y;links(warehouses,vendors): length, m;endsetsdata:x=1.25 8.75 0...
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
版权所有 CopyRight © 2012-2019 超级试练试题库 All Rights Reserved.