warehouses/wh1..wh6/: capacity;
links(warehouses,vendors): cost, volume;
min=@sum(links: cost*volume);
@sum(warehouses(I): volume(I,J))=demand(J));
@sum(vendors(J): volume(I,J))<=capacity(I));
capacity=60 55 51 43 41 52;
demand=35 37 22 32 41 32 43 38;
end
然后点击工具条上的按钮
即可。
请到http://shuaicheng888.blog.163.com下载 |