Hi! Because I use Gams with a Macbook I need to use csv2gdx instead of GDXXRW. But I have no clue about the code I have to use. Every code I found didn't work. So maybe one of you can help me for the easy example with only 5 values which is attached to this message.
Thanks to everyone!
CSV2gdx
CSV2gdx
- Attachments
-
- CSV_Test.csv
- (16 Bytes) Downloaded 134 times
Re: CSV2gdx
Here is the documentation of csv2gdx that comes with many examples.
You do not say what you would like to do with your example csv file. Should those numbers be elements of a one-dimensional set? If so, use
I hope this helps.
Fred
You do not say what you would like to do with your example csv file. Should those numbers be elements of a one-dimensional set? If so, use
Code: Select all
csv2gdx CSV_Test.csv id=myset index=1 colcount=1
Fred
Re: CSV2gdx
Thank you !
Fred wrote: ↑2 years ago Here is the documentation of csv2gdx that comes with many examples.
You do not say what you would like to do with your example csv file. Should those numbers be elements of a one-dimensional set? If so, useI hope this helps.Code: Select all
csv2gdx CSV_Test.csv id=myset index=1 colcount=1
Fred