赞
踩
参数假设:
约束条件:
线性规划模型:
- !两辆平板车装货问题AMCM88B;
- model:
- sets:
- num/1..7/:w,t,n,x,y;
- endsets
- data:
- t=48.7,52.0,61.3,72.0,48.7,52.0,64.0;
- w=2000,3000,1000,500,4000,2000,1000;
- n=8,7,9,6,6,4,8;
- enddata
- min=(1020-@sum(num:t*x))+(1020-@sum(num:t*y));
- @sum(num:t*x)<=1020;
- @sum(num:t*y)<=1020;
- @sum(num:w*x)<=40000;
- @sum(num:w*y)<=40000;
- @for(num(i):x(i)+y(i)<=n(i));
- @sum(num(i)|i#GE#5#AND#i#LE#7:(x(i)+y(i))*t(i))<=302.7;
- @for(num:@GIN(x));
- @for(num:@GIN(y));
- end

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。