ampl / amplpy

Python API for AMPL
https://amplpy.ampl.com
BSD 3-Clause "New" or "Revised" License
66 stars 19 forks source link

Format set index and values in exportData() #25

Closed MartinPJorge closed 5 years ago

MartinPJorge commented 5 years ago

This pull request formats properly the indexes and values of indexed sets, i.e., it uses format_entry. This was not tackled at: https://github.com/ampl/amplpy/pull/24

fdabrandao commented 5 years ago

Merged. Thanks! BTW, we are currently preparing a new release of the internal API that should incorporate exportData so that all these corner cases are handled internally but it may still take some time.