[英]Exception from IBM ILOG Concert: excel: range has a bad size. it must be only 1 line or 1 row
[英]Error in dat file Exception from IBM ILOG Concert Excel range is unknown
但對於您的具體關注(間接),請參閱
model :
{string} Variante=...;
int Station=...;
int AP=...;
float nb[1..AP,1..Station*card(Variante)]=...;
float b[s in Variante][m in 1..AP][p in 1..Station]=nb[m,1+ord(Variante,s)*Station+(p-1)];
execute {
writeln("b = ",b);
};
數據:
SheetConnection sheet("3Dindirect.xlsx");
Variante from SheetRead(sheet,"data!B12:D12");
Station from SheetRead(sheet,"data!B8");
AP from SheetRead(sheet,"data!B9");
nb from SheetRead(sheet,"data!B4:J5");
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.