Factory

(class from pyomo.common.factory)

class pyomo.common.factory.Factory(description=None)[source]

Bases: object

A class that is used to define a factory for objects.

Factory objects may be cached for future use.

__init__(description=None)[source]

Methods

__init__([description])

doc(name)

get_class(name)

register(name[, doc])

unregister(name)

Member Documentation