题目
lingo程序出错麻烦高手帮一下
! 5 persons and 4 jobs Assignment Problem
sets:
Person/1..5/;
Job/1..4/;
Assign(Person,Job):c,x;
endsets
!Here are the parameters;
Data:
c =66.8,32.2,56.2,51.21;
enddata
!The objective;
[OBJ]min=@sum(Assign:c*x);
!The uppy constraints;
@for(Preson(i):[SUP]
@sum(Job(j):x(i,j)
! 5 persons and 4 jobs Assignment Problem
sets:
Person/1..5/;
Job/1..4/;
Assign(Person,Job):c,x;
endsets
!Here are the parameters;
Data:
c =66.8,32.2,56.2,51.21;
enddata
!The objective;
[OBJ]min=@sum(Assign:c*x);
!The uppy constraints;
@for(Preson(i):[SUP]
@sum(Job(j):x(i,j)
提问时间:2021-04-01
答案
c应该有20个数 自己看好了sets:Person/1..5/;Job/1..4/;Assign(Person,Job):c,x;endsets!Here are the parameters;Data:!c =66.8,32.2,56.2,51.21;enddata!The objective;[OBJ]min=@sum(Assign:c*x);!The uppy const...
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
热门考点
- 1选择恰当的词语填在括号 鼓励 鼓舞 鼓动
- 2用滑轮组匀速提升重为2000N的物体,作用在绳自由端的拉力为625N,拉力的功率为1250W,
- 3leather is_______making shoes.(used to,used as,used for,used at)
- 4直到尽头(英语翻译)
- 5在推到圆的面积公式时
- 6Jane is one of the best students in her class who ____by their teacher.
- 7已知x,y为正数,log 2 (x+y+3)=log 2 (xy),求x+y的取值范围
- 8这是一次令我难忘的旅行 英语怎么说?
- 9春蚕的丝是蛋白质还是纤维素 为什么
- 10函数f(x)=|lgx|+x-3的零点个数是_.