Pyomo
Getting Started
How-To Guides
Explanations
Reference Guides
Topical Reference
Library Reference
common
contrib
alternative_solutions
ampl_function_demo
appsi
benders
community_detection
cp
doe
example
fbbt
fme
gdp_bounds
gdpopt
gjh
iis
incidence_analysis
interior_point
latex_printer
mcpp
mindtpy
mpc
multistart
parmest
piecewise
preprocessing
pynumero
pyros
satsolver
sensitivity_toolbox
simplification
solver
trustregion
viewer
model_browser
model_select
pyomo_viewer
qt
report
active_constraint_set
active_equalities
active_equality_set
count_constraints
count_equality_constraints
count_free_variables
degrees_of_freedom
free_variables_in_active_equalities_set
get_residual
value_no_exception
residual_table
ui
ui_data
core
dae
dataportal
duality
environ
future
gdp
kernel
mpec
neos
network
opt
repn
scripting
solvers
util
version
Accessing preview features
Common Warnings/Errors
Related Packages
Publications
Bibliography
Pyomo
Reference Guides
Library Reference
contrib
viewer
report
count_constraints
View page source
count_constraints
(function from
pyomo.contrib.viewer.report
)
pyomo.contrib.viewer.report.
count_constraints
(
blk
)
[source]
Count active constraints.