[Top][All Lists]

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

[Help-glpk] comments in csv data files

From: Andrew Makhorin
Subject: [Help-glpk] comments in csv data files
Date: Sun, 16 May 2010 13:36:57 +0400

I found that it would be convenient to allow comment lines in csv data
files read from mathprog models thru the table statement. Unfortunately,
the RFC document 4180 that specifies the csv format says nothing about
such a feature.

Probably, a comment line can be indicated by its very first character
(like in many scripting languages): '#', ';', '*', or may be '%'.
Another issue is whether to allow comment lines everywhere in the file
or only in the beginning. The latter seems safer, because the first line
contains field names which, as a rule, contain no special characters.

Any opinions/suggestions are appreciated. Thanks.

Andrew Makhorin

reply via email to

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