|
From: | Domingo Alvarez Duarte |
Subject: | Re: Change Path Input/Output file |
Date: | Wed, 25 Nov 2020 10:26:18 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hello Manuel !
Something like this should work.
table tab_plant IN "CSV" "different_diretory/plants.csv" : I <- [plant], a ~ capacity;
Cheers !
Hi there,
I am currently using gusek as an IDE to model and run GLPK.
I use the following statement to read from CSV file.
table tab_plant IN "CSV" "plants.csv" : I <- [plant], a ~ capacity;
This assumes that the file is placed in the same directory where the glpk solver is.
How can I place my CSV file in a different directory and tell glpk to read it from there? How do I add the path on my model syntax?
Many thanks in advance for your help. It's really appreciated.
Kind regards,
Manuel.
[Prev in Thread] | Current Thread | [Next in Thread] |