add_algebraic_variable_list

(function from pyomo.contrib.gdpopt.create_oa_subproblems)

pyomo.contrib.gdpopt.create_oa_subproblems.add_algebraic_variable_list(util_block, name=None)[source]

This collects variables from active Constraints and Objectives. It descends into Disjuncts, but does not collect any indicator variables that do not appear in algebraic constraints pre-transformation.