Write Data Command Files from model instance

Viewed 21

Given a Pyomo model that is fully specified, is it possible to write it's Set and Param components back to Data Command Files?

One use case would be to feed that data to another Pyomo model, or even load the Data Command Files into an existing AMPL toolchain to compare and debug models when porting from AMPL to Pyomo.

0 Answers
Related