(class from pyomo.common.config)
pyomo.common.config
Bases: object
object
Domain validation class admitting an enum value/name.
This will admit any value that is in the specified Enum, including Enum members, values, and string names. The incoming value will be automatically cast to an Enum member.
domain (enum.Enum) – The enum that incoming values should be mapped to
Methods
__init__(domain)
__init__
domain_name()
domain_name
Member Documentation