PyomoDataCommands
(class from pyomo.dataportal.plugins.datacommands)
- class pyomo.dataportal.plugins.datacommands.PyomoDataCommands[source]
Bases:
objectMethods
__init__()add_options(**kwds)available()clear()close()initialize(**kwds)open()process(model, data, default)Read Pyomo data commands and process the data.
read()This function does nothing, since executing Pyomo data commands both reads and processes the data all at once.
write(data)This function does nothing, because we cannot write to a
*.datfile.Member Documentation