lingo查错model:sets:kinds/1..10/:v,Q,s,N,c_p,d,p;fa/1..3/;link(fa,kinds):c_d;endsetsmin=@sum(link(j,i):0.5*c_p*(Q-s)^2/Q+d*c_d/Q+0.5*p*s^2/Q);@sum(link(j,i):c_d*Q)
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/29 10:49:41
lingo查错model:sets:kinds/1..10/:v,Q,s,N,c_p,d,p;fa/1..3/;link(fa,kinds):c_d;endsetsmin=@sum(link(j,i):0.5*c_p*(Q-s)^2/Q+d*c_d/Q+0.5*p*s^2/Q);@sum(link(j,i):c_d*Q)
lingo查错
model:
sets:
kinds/1..10/:v,Q,s,N,c_p,d,p;
fa/1..3/;
link(fa,kinds):c_d;
endsets
min=@sum(link(j,i):0.5*c_p*(Q-s)^2/Q+d*c_d/Q+0.5*p*s^2/Q);
@sum(link(j,i):c_d*Q)
lingo查错model:sets:kinds/1..10/:v,Q,s,N,c_p,d,p;fa/1..3/;link(fa,kinds):c_d;endsetsmin=@sum(link(j,i):0.5*c_p*(Q-s)^2/Q+d*c_d/Q+0.5*p*s^2/Q);@sum(link(j,i):c_d*Q)
改过了还有问题 你给的数据的Q在哪呢 c_d里面还有个u是什么
model:
sets:
kinds/1..10/:v,Q,s,N,c_p,d,p;
fa/1..3/;
link(fa,kinds):c_d;
endsets
min=@sum(link(j,i):0.5*c_p(i)*(Q(i)-s(i))^2/Q(i)+d(i)*c_d(j,i)/Q(i)+0.5*p(i)*s(i)^2/Q(i));
@sum(link(j,i):c_d(j,i)*Q(i))