Re: Help: read from txt files

Heinrich Schuchardt <[email protected]> Thu, 26 Nov 2020 19:58:54 +0100
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
On 11/26/20 7:48 PM, Manuel Castro wrote:
> Hi there,
>
> Is it possible to get GLPK to read/write data from/to text files?
>
> If yes:
>
>   * what is the syntax statement one should use for that purpose?
>   * what is the format the input data in the text file should be in?
>
>
> Many thanks in advance for your help. It's really appreciated.
>
> Kind regards,
> Manuel.
>


Have a look at the table statement in doc/gmpl.pdf.

The table statement can be used to read and write CSV files or SQL
databases.

Best regards

Heinrich