model:
title athleter_selecting problem;
sets:
people/1..6/:a;
match/1..4/:b;
link(people,match):x,w;
endsets[OBJ] max = @sum(match(j):@sum(people(i):x(i,j)*w(i,j))-@min(people(i)|x(i,j)*w(i,j) #ne# 0:x(i,j)*w(i,j)));貌似目标式中有函数@minlingo解不了?
title athleter_selecting problem;
sets:
people/1..6/:a;
match/1..4/:b;
link(people,match):x,w;
endsets[OBJ] max = @sum(match(j):@sum(people(i):x(i,j)*w(i,j))-@min(people(i)|x(i,j)*w(i,j) #ne# 0:x(i,j)*w(i,j)));貌似目标式中有函数@minlingo解不了?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货