lingo中这个INVALIDSETNAME.错误怎么改model:sets:bzx/1..7/:x,y,t,w,n;endsetsmin=20.4*10^2-@sum(bzx(i):(t(i)*x(i)+t(i)*y(i)));@for(bzx(i):@gin(x(i))); @for(bzx(i):@gin(y(i)));@for( @sum(bzx(i)|i#gt#4:t(i)*x(i)+t(i)*y(i))
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 13:26:31
lingo中这个INVALIDSETNAME.错误怎么改model:sets:bzx/1..7/:x,y,t,w,n;endsetsmin=20.4*10^2-@sum(bzx(i):(t(i)*x(i)+t(i)*y(i)));@for(bzx(i):@gin(x(i))); @for(bzx(i):@gin(y(i)));@for( @sum(bzx(i)|i#gt#4:t(i)*x(i)+t(i)*y(i))
lingo中这个INVALIDSETNAME.错误怎么改
model:
sets:
bzx/1..7/:x,y,t,w,n;
endsets
min=20.4*10^2-@sum(bzx(i):(t(i)*x(i)+t(i)*y(i)));
@for(bzx(i):@gin(x(i)));
@for(bzx(i):@gin(y(i)));
@for( @sum(bzx(i)|i#gt#4:t(i)*x(i)+t(i)*y(i))
lingo中这个INVALIDSETNAME.错误怎么改model:sets:bzx/1..7/:x,y,t,w,n;endsetsmin=20.4*10^2-@sum(bzx(i):(t(i)*x(i)+t(i)*y(i)));@for(bzx(i):@gin(x(i))); @for(bzx(i):@gin(y(i)));@for( @sum(bzx(i)|i#gt#4:t(i)*x(i)+t(i)*y(i))
model:
sets:
bzx/1..7/: x,y,t,w,n;
endsets
min=20.4*10^2-@sum(bzx(i):(t(i)*x(i)+t(i)*y(i)));
@for(bzx(i):@gin(x(i)));
@for(bzx(i):@gin(y(i)));
@sum(bzx(i)|i#gt#4:t(i)*x(i)+t(i)*y(i))