help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] [Fwd: Reading *.xls files]


From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: Reading *.xls files]
Date: Sun, 07 Jul 2013 14:27:12 +0400

-------- Forwarded Message --------
From: Harsha Gangammanavar <address@hidden>
To: address@hidden
Subject: Reading *.xls files
Date: Sun, 7 Jul 2013 01:04:03 -0400

Hi,


I am a new user of GLPK and I am trying to read data from an *.xls file.
Here is the part of dat file I am using


# read data
table data IN "ODBC" "line_data.xls": 
LINE <- [LINE], line_id, snd_bus, rcv_bus, length, R, X, B, l_max, v1,
v2;
read table data;


The data file work well with AMPL, but I get the following error message
with glpsol:


Reading data section from area1.dat...
area1.dat:4: syntax error in data section
Context:                                                        table
MathProg model processing error


I am running glpk on Ubuntu 12.04. Can anyone please point me to the
error. Thanks
Harsha







reply via email to

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