I’m using CSVProvider 1.1.1.2 for writing outputs to CSV. While writing, certain rows are missing in the csv file where the variable values were 0. When checking in AIMMS (right click variable → Data) I see the domain still has that index but empty value (which means it is 0). However, while writing to CSV the index where variable values were 0 is missing. Is it possible to either include a blank row or with values 0 for the index position where the variables were 0 ?
Page 1 / 1
You may want to take a look at the DataExchange library, which also supports reading and writing CSV files. The DataExchange library does support a number of features, like force-dense and dense-children, which allows you to control whether or not to write data for default values.
Reply
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.