MONTH/JAN,FEB,mar,apr/;
size/21IN,25IN,29IN/: TIME,COMPENSATION;
PRODUCT(size,MONTH): produce,contract,inventory,LACK;
endSETS
! The objective;
min = @SUM(PRODUCT:inventory* 5)
+ @SUM(month(j):
@sum(size(i):LACK(i,j)* COMPENSATION(i)));
!四月份库存量为150;
@for(size(I):
inventory(I,4)>=150);
!每月总工时不超过15000小时;
@for(MONTH(J):
@SUM(size(I):
produce(I,J)*TIME(i)) <= 15000);
追问这是我要的答案么?什么鬼
本回答被网友采纳