SheetTable

(class from pyomo.dataportal.plugins.sheet)

class pyomo.dataportal.plugins.sheet.SheetTable(ctype=None)[source]

Bases: TableData

__init__(ctype=None)[source]

Constructor

Methods

__init__([ctype])

Constructor

add_options(**kwds)

Add the keyword options to the Options object in this object.

available()

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

close()[source]

Close the data manager.

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.

open()[source]

Open the data manager.

process(model, data, default)

Process the data that was extracted from this data manager and return it.

read()[source]

Read data from the data manager.

write(data)

Write data to the data manager.