Special Ordered Sets
Summary
|
A Special Ordered Set of type n. |
|
A Special Ordered Set of type 1. |
|
A Special Ordered Set of type 2. |
|
A tuple-style container for objects with category type ISOS |
|
A list-style container for objects with category type ISOS |
|
A dict-style container for objects with category type ISOS |
Member Documentation
- class pyomo.core.kernel.sos.sos(variables, weights=None, level=1)[source]
Bases:
ISOS
A Special Ordered Set of type n.
- property level
The sos level (e.g., 1,2,…)
- property variables
The sos variables
- property weights
The sos variables
- pyomo.core.kernel.sos.sos1(variables, weights=None)[source]
A Special Ordered Set of type 1.
This is an alias for sos(…, level=1)
- pyomo.core.kernel.sos.sos2(variables, weights=None)[source]
A Special Ordered Set of type 2.
This is an alias for sos(…, level=2).
- class pyomo.core.kernel.sos.sos_tuple(*args, **kwds)
Bases:
TupleContainer
A tuple-style container for objects with category type ISOS
- class pyomo.core.kernel.sos.sos_list(*args, **kwds)
Bases:
ListContainer
A list-style container for objects with category type ISOS
- class pyomo.core.kernel.sos.sos_dict(*args, **kwds)
Bases:
DictContainer
A dict-style container for objects with category type ISOS