Notes from using JSON with Pyomo

February 2021 · 1 minute read · Author: Vignesh Krish

Using JSON with Pyomo is a pain due to couple of reasons. With simple models, the translation layer provided by Pyomo called DataPortal (2) works fine. However, with more complex interactions, the system probably will not allow flexibility. Here are a few notes to remember when using JSON with Pyomo:

References

  1. Dictionaries with Pyomo
  2. DataPortals at Pyomo Documentation