add_decision_rule_variables
(function from pyomo.contrib.pyros.util
)
- pyomo.contrib.pyros.util.add_decision_rule_variables(model_data)[source]
Add variables parameterizing the (polynomial) decision rules to the working model.
- Parameters:
model_data (model data object) – Model data.
Notes
One set of decision rule variables is added for each effective second-stage variable.
As an efficiency, no decision rule variables are added for the nonadjustable, user-defined second-stage variables, since the decision rules for such variables are necessarily nonstatic.