bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-glpk] CSV: empty field not allowed


From: xypron . glpk
Subject: [Bug-glpk] CSV: empty field not allowed
Date: Wed, 8 Jun 2016 11:01:01 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]