Pyomo
Getting Started
How-To Guides
Explanations
Reference Guides
Topical Reference
Library Reference
_archive
addons
common
contrib
core
dae
contset
diffvar
flatten
flatten_components_along_sets
flatten_dae_components
generate_sliced_components
get_slice_for_set
slice_component_along_sets
initialization
integral
misc
plugins
set_utils
simulator
utilities
dataportal
devel
duality
environ
future
gdp
kernel
mpec
neos
network
opt
repn
scripting
solvers
tpl
unsupported
util
version
Development Principles
Accessing preview features
Common Warnings/Errors
Related Packages
Publications
Bibliography
Pyomo
Reference Guides
Library Reference
dae
flatten
get_slice_for_set
View page source
get_slice_for_set
(function from
pyomo.dae.flatten
)
pyomo.dae.flatten.
get_slice_for_set
(
s
)
[source]
Get the slice of the proper dimension for a set.