YamlDictionary
(class from pyomo.dataportal.plugins.json_dict)
- class pyomo.dataportal.plugins.json_dict.YamlDictionary[source]
Bases:
objectMethods
__init__()add_options(**kwds)available()clear()close()initialize(**kwds)open()process(model, data, default)Set the data for the selected components
read()This function loads data from a YAML file and tuplizes the nested dictionaries and lists of lists.
requirements()write(data)This function creates a YAML file for the specified data.
Member Documentation