(function from pyomo.util.subsystems)
pyomo.util.subsystems
Generates blocks that contain subsystems of variables and constraints.
subsystems (List of tuples) – Each tuple is a list of constraints then a list of variables that will define a subsystem.
include_fixed (Bool) – Indicates whether to add already fixed variables to the generated subsystem blocks.
“Subsystem blocks” containing the variables and constraints specified
by each entry in subsystems. Variables in the constraints that are
not specified are contained in the input_vars component.