sets:
s/n1..n22/:n,value;
endsets
data:
value =55413.15
34039.78
29854.21
38571.93
31912.76
44664.79
67553.03
61702.58
83413.72
92970.95
279503.02
265720.62
60921.02
117565.85
35437.71
34207.97
56721.39
104887.20
26382.89
56469.38
97670.43
59153.45;
enddata
min =@abs(@sum(s:n*value)-1365461.06);
@for(s(i):
@gin(n(i));
n(i)>=0;
n(i)<=10;
);
lingo 简单整数组合问题
最新推荐文章于 2022-05-02 17:01:59 发布