Re: Change Path Input/Output file
Domingo Alvarez Duarte <[email protected]> Wed, 25 Nov 2020 10:26:18 +0100
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <[email protected]> |
Hello Manuel ! Something like this should work. table tab_plant IN "CSV" "different_diretory/plants.csv" : I <- [plant], a ~ capacity; Cheers ! On 24/11/20 20:11, Manuel Castro wrote: > 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. >