这是LINGO程序,有点急,sets:sk/1..30/:s,x;si/1..30/:a;sik(si,sk):c,l;endsetsmin=@sum(sk:2s*x)+@sum(sik:a);@for(si(i):@sum(sk(i):l(j,i))=1);@for(sik(i,j):l(i,j)
问题描述:
这是LINGO程序,有点急,
sets:
sk/1..30/:s,x;
si/1..30/:a;
sik(si,sk):c,l;
endsets
min=@sum(sk:2s*x)+@sum(sik:a);
@for(si(i):
@sum(sk(i):l(j,i))=1);
@for(sik(i,j):l(i,j)
答