(class from pyomo.util.config_domains)
pyomo.util.config_domains
Bases: object
object
Domain validation class that accepts singleton or iterable arguments and compiles them into a ComponentSet, verifying that they are all ComponentDatas of type ‘ctype.’
ctype (Either a single component type or an iterable of component types)
ValueError if all of the arguments are not of a type in 'ctype' –
Methods
__init__(ctype)
__init__
domain_name()
domain_name
Member Documentation