lingo高手帮忙,程序出现Unexpected jacobian overflow错误model:sets: time/1..7/:t,w; power/1..4/:pmax,pmin,TC,C,MC,TN; link(time,power):p,A,B,n;endsetsdata: t=6,3,3,2,4,4,2; w=10000,30000,22000,33000,22000,27000,16000; pmin=750,1000,1200,1800;
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 16:39:04
lingo高手帮忙,程序出现Unexpected jacobian overflow错误model:sets: time/1..7/:t,w; power/1..4/:pmax,pmin,TC,C,MC,TN; link(time,power):p,A,B,n;endsetsdata: t=6,3,3,2,4,4,2; w=10000,30000,22000,33000,22000,27000,16000; pmin=750,1000,1200,1800;
lingo高手帮忙,程序出现Unexpected jacobian overflow错误
model:
sets:
time/1..7/:t,w;
power/1..4/:pmax,pmin,TC,C,MC,TN;
link(time,power):p,A,B,n;
endsets
data:
t=6,3,3,2,4,4,2;
w=10000,30000,22000,33000,22000,27000,16000;
pmin=750,1000,1200,1800;
pmax=1750,1500,2000,3500;
C=2250,1800,3750,4800;
TC=4000,1500,2200,1300;
MC=2.6,2.1,1.7,3.6;
TN=9,4,7,3;
enddata
min = @sum(links(i,j):(n(i,j)*t(i)*C(j)+t(i)*MC(j)*(p(i,j)-pmin(j))+A(i,j)*TC(j));
@for(time(i):@sum(power(j):(n(i,j)*p(i,j)=w(i))));
@for(power(j):@bnd(time(i):pmin(j),p(i,j),pmax(j));
@for(links(i,j):@gin(n(i,j)));
@for(power(j):time(i):n(i,j)
lingo高手帮忙,程序出现Unexpected jacobian overflow错误model:sets: time/1..7/:t,w; power/1..4/:pmax,pmin,TC,C,MC,TN; link(time,power):p,A,B,n;endsetsdata: t=6,3,3,2,4,4,2; w=10000,30000,22000,33000,22000,27000,16000; pmin=750,1000,1200,1800;
model:
sets:
time/1..7/:t,w;
power/1..4/:pmax,pmin,TC,C,MC,TN;
link(time,power):p,A,B,n;
endsets
data:
t=6,3,3,2,4,4,2;
w=10000,30000,22000,33000,22000,27000,16000;
pmin=750,1000,1200,1800;
pmax=1750,1500,2000,3500;
C=2250,1800,3750,4800;
TC=4000,1500,2200,1300;
MC=2.6,2.1,1.7,3.6;
TN=9,4,7,3;
enddata
min=@sum(time(i):@sum(power(j):n(i,j)*t(i)*C(j)+t(i)*MC(j)*(p(i,j)-pmin(j))+A(i,j)*TC(j)));
@for(time(i):@sum(power(j):n(i,j)*p(i,j))=w(i));
@for(power(j):@for(time(i):@bnd(pmin(j),p(i,j),pmax(j))));
@for(link(i,j):@gin(n(i,j)));
@for(power(j):@for(time(i):n(i,j)