数模论坛

 找回密码
 注-册-帐-号
搜索
热搜: 活动 交友 discuz
查看: 4060|回复: 0

lingo问题求助

[复制链接]
发表于 2009-8-29 14:04:18 | 显示全部楼层 |阅读模式
model:
title 分配
sets:
pinshu/1..2/:m;
pinwei/1..25/;
link(pinwei,pinshu):c,x;
endsets
data:
m=10,15;
c=5,15,11,5,5,4,4,6,1,4,28,38,13,15,6,4,1,4,11,9,5,10,5,6,7,8,3,7,10,10,1,5,1,3,0,2,2,4,3,9,4,3,0,2,3,6,0,1,1,3;
enddata
[email=min=@sum(link(i,j):x(i,j)*c(i,j]min=@sum(link(i,j):x(i,j)*c(i,j[/email]));
@for(pinwei(i)sum(pinshu(j):c(i,j))=1);
@for(pinshu(j)sum(pinwei(i):c(i,j))=m(i));
@for(link(i,j)bin(x(i,j)));
end
您需要登录后才可以回帖 登录 | 注-册-帐-号

本版积分规则

小黑屋|手机版|Archiver|数学建模网 ( 湘ICP备11011602号 )

GMT+8, 2019-10-17 09:51 , Processed in 0.072093 second(s), 19 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表