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(40-D4)^2);D4>=D3;D3>=D2;D2>=D1;D1>=0;end
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/20 20:48:12
x)K~<[C#-
¢
c3m8#MMmC&X.ad
0u1H!bba
01u1 Zٺ[)#k# ehbhgk`bTV l7666'`&;v6C+mZrf(<_lOYuӍ
66X:{_4r(<G=/.z>%='?)1G8?,"YTI<;P {
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(40-D4)^2);D4>=D3;D3>=D2;D2>=D1;D1>=0;end
lingo程序提示min行语法错误MODEL:SETS:qiefa/1,2,3/:x;bujian/1..4/:L,NEED;shuliang(qiefa,bujian):N;ENDSETSDATA:L=4,5,6,8;NEED=50,10,20,15;yuanliaoL=19;ENDSETSmin=@sum(qiefa:x);@for(bujian(j):@sum(qiefa(i):N(i,j)*X(i))>NEED(j));@for(qiefa(i):@s
lingo程序错误1017model:sets:question(/1..i/):x,y;endsetsinit:x(1)=0;y(1)=0;endinit[obj] max=@sum(link(i,j):c(i))@for(question:(min(@sqrt((x(i)-x(i1))^2+(y(i)-y(j))^2))>=z););@for(question:(max(@sqrt((x(i)-x(i1))^2+(y(i)-y(j))^2))
lingo程序改错 看一眼来@@model:sets:cities/v4,v1,v2,v3,v5,v6,v7,v9,v10,v11,v8/;roads(cities,cities):p,w,x;endsetsdata:p=函数;w=函数;enddatan=@size(cities);min=@sum(roads:w*x);@for(cities(i)|i#ne#l#and#i#ne#n:@sum(cities(j):p(i,j)*x(i,j
lingo 程序如下我的疑惑是其中 这句是什么意思 @for(ps(j)|j#ne#15:z(j)+y(j+1)=b(j));还有为什么要用 |j#ne#15原函数 如图所示 model:sets: cai/1..7/: s,t,p; ps/1..15/: b,y,z; link(cai,ps): x, c;endsets目标函数; min=
lingo 程序为什么运行不出呢 高人指点model: sets: owall/1..4/; nwall/1..8/; year/1..5/; cji(year,owall):c; bik(year,nwall):b,m,x;endsets min=@sum(bik:m*x)+0.66*(Q^0.51)*L; Q>=100; @sum(ow
lingo 循环语句中能不能使用if语句?程序是这样的:model:3个化肥厂4个需求地运输问题; sets:huafeichang/1..3/:chanliang,youhui;diqu/1..4/:xuqiu;links(huafeichang,diqu):yunfei,yunliang,danjia;endsets目标函数;min=@sum(links
那位高手知道下面这段lingo程序为什么解不出来?谢谢,急!model:sets:warehouses/wh1..wh6/:capacity;vendors/v1..v18/:demand;links(warehouses,vendors):cost,volume,x;endsets!目标函数;min=@sum(links:cost*volume*1);!需求约束;@for(v
lingo程序,这里哪里错了,提示是错误11.data那里有错吗.model:3发点4收点运输问题;集合部分;sets:warehouses/wh1..wh3/:capacity;vendors/v1..v4/:demand;links(warehouses,vendors):cost,volume;endsets目标函数;min=@sum(links:cost
请问一下这个LINGO程序错在哪里了啊.为什么老是不执行model:飞机排队问题;sets:planes:passengerALL,passengerEXHANGE,PDT,PAT,delay,MD;time:e;links(planes,time):cost,sequence;endsets目标函数;min=@sum(links:cost*sequence);飞
lingo 程序改错MODEL:A 3 RDC 27 Vendor Transportation Problem;SETS:Import RDCS and vendors from Excel;RDCS:CAPACITY;VENDORS :DEMAND;LINKS( RDCS,VENDORS):COST,VOLUME;ENDSETSThe objective;MIN = @SUM( LINKS( I,J):COST( I,J) * VOLUME( I,J));The dema
model: min=800*x11+1000*x12+1200*x13+700*x21+500*x22+700*x23+800*x31+600*x32+500*x33+500*x41+600*x4哪位可以帮忙看下这个lingo程序有什么问题?为什么我把它求出的变量值带入目标函数得到的结果和它自动求出的目
lingo 约束条件 顺序lingo中,约束条件的顺序对结果有什么影响?为什么?程序1model:sets:worker/w1..w5/:;job/j1..j5/:;links(worker,job):c,x;endsetsdata:c=8,6,10,9,12,9,12,7,11,9,7,4,3,5,8,9,5,8,11,8,4,6,7,5,11;enddatamin=@sum(links
Lingo 那里出错了啊?model:title 物流仓库选址问题lingo求解程序;sets:store/1..12/:w,s,m;sale/1..12/:d;links(store,sale):C,p,x;endsetsdata:从仓库i向销售中心j运送货物的运送总成本;C=100,80,50,50,60,100,120,90,60,100,120,
Lingo@for循环和@if的语句 Lingo新手,不知道该怎么写程序,MODEL:SETS:city/A1..A4/:U;;links(city,city):distance,;quan/1..4/:A;demond/1..4/:D;link(quan,demond):c;ENDSETSDATA:distance=0,34,84,8,34,0,63,7,84,63,0,5,8,7,5,0;d=12,18,23,16;ENDD
lingo的数据拟合model:sets:xl/1..5/:n,y; endsets data:n=19,20,22,24,25; y=6,7,8,9,10; enddata @frmodel:sets:xl/1..5/:n,y;endsetsdata:n=19,20,22,24,25;y=6,7,8,9,10;enddata@free(a);@free(b);min=@sum((@log(y)*a-b-n)*(@log(y)*a-b-n));end这段程序
LINGO程序哪里出错了model:sets:city/1..6/:u;link(city,city):d,x;endsetsdata:d=0 70 50 40 50 3070 0 30 40 60 5050 30 0 50 70 80 40 40 50 0 60 60 50 60 70 50 0 4030 50 80 60 40 0;enddataN=@size(city);min=@sum(link:d*x);@for(city(j):@sum(city(i)|i