PyomoDataCommands

(class from pyomo.dataportal.plugins.datacommands)

class pyomo.dataportal.plugins.datacommands.PyomoDataCommands[source]

Bases: object

__init__()[source]

Methods

__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 *.dat file.

Member Documentation

process(model, data, default)[source]

Read Pyomo data commands and process the data.

read()[source]

This function does nothing, since executing Pyomo data commands both reads and processes the data all at once.

write(data)[source]

This function does nothing, because we cannot write to a *.dat file.