lingo老是出现错误代码11,怎么解决
答案:1 悬赏:40 手机版
解决时间 2021-02-10 20:22
- 提问者网友:遁入空寂
- 2021-02-10 11:58
lingo老是出现错误代码11,怎么解决
最佳答案
- 五星知识达人网友:三千妖杀
- 2021-02-10 13:29
MODEL:
title locate problem;
sets:
demand/1..6/:a,b,d;
supply/1..2/:x,y,e;
link(demand,supply):c;
endsets
data:
a=1.25,8.75,0.5,5.75,3,7.25;
b=1.25,0.75,4.75,5,6.5,7.25;
d=3,5,4,7,6,11;e=20,20;
enddata
init:
x,y=5,1,2,7;
endinit
[OBJ] min=@sum(link(i,j):c(i,j)*(((x(j)-a(i))^2+(y(j)-b(i))^2)/(1/2)));
@for(demand(i):[DEAND_CON]@sum(supply(j):c(i,j))=d(i));
@for(supply(i):[SUPPLY_CON]@sum(demand(j):c(j,i))<=e(i));
@for(supply:@free(X);@free(Y));
END追问我的为什么报错了
title locate problem;
sets:
demand/1..6/:a,b,d;
supply/1..2/:x,y,e;
link(demand,supply):c;
endsets
data:
a=1.25,8.75,0.5,5.75,3,7.25;
b=1.25,0.75,4.75,5,6.5,7.25;
d=3,5,4,7,6,11;e=20,20;
enddata
init:
x,y=5,1,2,7;
endinit
[OBJ] min=@sum(link(i,j):c(i,j)*(((x(j)-a(i))^2+(y(j)-b(i))^2)/(1/2)));
@for(demand(i):[DEAND_CON]@sum(supply(j):c(i,j))=d(i));
@for(supply(i):[SUPPLY_CON]@sum(demand(j):c(j,i))<=e(i));
@for(supply:@free(X);@free(Y));
END追问我的为什么报错了
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯