Re: [Help-glpk] GLPK input format

2018-08-29 Thread Heinrich Schuchardt
On 03/12/2018 07:09 AM, aku...@tezu.ernet.in wrote: > Hi, I am a beginner with glpk and wanted to know if we can input a .tsv > file into glpsol. You can read a comma separated file via the table command. See the examples/csv folder and doc/gmpl.pdf. Tab separated files are not supported. For

Re: [Help-glpk] GLPK input format

2018-03-12 Thread Reginald Beardsley
FWIW I had problems using the csv input facility of glpsol 5-6 years ago. So I wrote a program that generated GMPL files. They were huge, but it worked very robustly. I put the data in a separate file. I was processing thousands of instances using shell scripts and a common model file.

Re: [Help-glpk] GLPK input format

2018-03-12 Thread Heinrich Schuchardt
The table command can be used to read a csv file or to connect to any ODBC data base. Have a look at the directories doc and examples of the source distribution. Regards Heinrich -- Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.On 3/12/18, 7:09 AM

[Help-glpk] GLPK input format

2018-03-12 Thread akurmi
Hi, I am a beginner with glpk and wanted to know if we can input a .tsv file into glpsol. Suppose I have a lp problem with hundred constraints and variables of the same order then it becomes problematic to create a .lp file manually. So, is there a way to provide the input from an excel sheet or