lingo属性后面括号里的(x,y)代表什么?MODEL:SETS:WAREHOUSES/Wh1..Wh6/:CAPACITY;VENDORS/V1..v8/:DEMAND; LINKS( WAREHOUSES,VENDORS):COST,VOLUME;ENDSETSENDDATAMIN= @SUM( LINKS(i,j):COST(i,j) * VOLUME(i,j));@FOR( VENDORS(j):@SUM( WAREHOUSES(
lingo属性后面括号里的(x,y)代表什么?MODEL:SETS:WAREHOUSES/Wh1..Wh6/:CAPACITY;VENDORS/V1..v8/:DEMAND; LINKS( WAREHOUSES,VENDORS):COST,VOLUME;ENDSETSENDDATAMIN= @SUM( LINKS(i,j):COST(i,j) * VOLUME(i,j));@FOR( VENDORS(j):@SUM( WAREHOUSES(
lingo属性后面括号里的(x,y)代表什么?
MODEL:
SETS:
WAREHOUSES/Wh1..Wh6/:CAPACITY;
VENDORS/V1..v8/:DEMAND;
LINKS( WAREHOUSES,VENDORS):COST,VOLUME;
ENDSETS
ENDDATA
MIN= @SUM
( LINKS(i,j):COST(i,j) * VOLUME(i,j));
@FOR( VENDORS(j):@SUM( WAREHOUSES(i):VOLUME( i,j)) =DEMAND(j));
@FOR( WAREHOUSES(i):( VENDORS(j):VOLUME(i,j))
lingo属性后面括号里的(x,y)代表什么?MODEL:SETS:WAREHOUSES/Wh1..Wh6/:CAPACITY;VENDORS/V1..v8/:DEMAND; LINKS( WAREHOUSES,VENDORS):COST,VOLUME;ENDSETSENDDATAMIN= @SUM( LINKS(i,j):COST(i,j) * VOLUME(i,j));@FOR( VENDORS(j):@SUM( WAREHOUSES(
那不一样 一个在集定义段 一个在模型段好吧
集定义段的&1就表示第一个指标 模型段的指标在集里面都一致就行了