XMLTable
(class from pyomo.dataportal.plugins.xml_table
)
- class pyomo.dataportal.plugins.xml_table.XMLTable[source]
Bases:
TableData
Methods
__init__
()Constructor
add_options
(**kwds)Add the keyword options to the
Options
object in this object.clear
()Clear the data that was extracted from this table
close
()Close the data manager.
initialize
(**kwds)Initialize the data manager with keyword arguments.
open
()Open the data manager.
process
(model, data, default)Process the data that was extracted from this data manager and return it.
read
()Read data from the data manager.
write
(data)Write data to the data manager.
Member Documentation
- add_options(**kwds)
Add the keyword options to the
Options
object in this object.
- available()
- Returns:
Return
True
if the data manager is available.
- clear()
Clear the data that was extracted from this table
- initialize(**kwds)
Initialize the data manager with keyword arguments.
The filename argument is recognized here, and other arguments are passed to the
add_options()
method.
- process(model, data, default)
Process the data that was extracted from this data manager and return it.