lingo程序出错麻烦高手帮一下! 5 persons and 4 jobs Assignment Problemsets: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 c
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 04:26:18
lingo程序出错麻烦高手帮一下! 5 persons and 4 jobs Assignment Problemsets: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 c
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)
lingo程序出错麻烦高手帮一下! 5 persons and 4 jobs Assignment Problemsets: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 c
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 constraints;
@for(Person(i):[SUP]
@sum(Job(j):x(i,j))