关于lingo程序的,

问题描述:

关于lingo程序的,
sets:
A/1..4/:c,b,n;
X/A,A/:D;
endsets
min=1.1*n(1)+1.2*n(2)+1.3*n(3)+1.4*n(4);
@for(A(i):@sum(A(j):c(i)*D(i,j)=1750);
@for(A(i):@sum(A(j):n(i)*D(i,j)=b(i));
@for(A(i):@gin(n(i)));
@for(A(j):@for(A(i):@gin(D(i,j))));
n(1)>n(2);
n(2)>n(3);
n(3)>n(4);
data:
c=290 315 350 455;
b=15 28 21 30;
enddata
end

sets:A/1..4/:c,b,n;X(A,A):D;endsetsmin=1.1*n(1)+1.2*n(2)+1.3*n(3)+1.4*n(4);@for(A(i):@sum(A(j):c(i)*D(i,j))=1750);@for(A(i):@sum(A(j):n(i)*D(i,j))=b(i));@for(A(i):@gin(n(i)));@for(A(j):@for(A(i):@gin(...