下标都从1开始
model:
sets:
season/1..4/:x;
fire/1..3/:y;
endsets
min=120+x(1)+x(2)+x(3)+x(4);
120*65+x(1)*60>=6000;
((120+x(1))*0.85-y(1))*65+60*x(2)>=7500;
(((120+x(1))*0.85-y(1)+x(2))*0.85-y(2))*65+60*x(3)>=5500;
((((120+x(1))*0.85-y(1)+x(2))*0.85-y(2)+x(3))*0.85-y(3))*65+60*x(4)>=9000;
end
@gin(x(1));
@gin(x(2));
@gin(x(3));
@gin(x(4));