Hello Andrew,

I have file Q.csv:

C:\Temp>type Q
i,j,k,Q
1,1,1,""
1,1,2,1 3 4 5
1,1,3,1 5
1,1,4,1 3 5

and model test.mod

set I, dimen 3;
set J;
param Q{I}, symbolic;
table data IN "CSV" "Q.csv" :
  I <- [i, j, k], Q;
solve;
display Q;
end;

I get unexpected error:
Q.csv:2: empty field not allowed

Why shouldn't Q[1,1,1] be read as a string of length 0?

This relates to the question by Krishna.

Best regards

Heinrich Schuchardt

_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to