enforce_dr_degree
(function from pyomo.contrib.pyros.util
)
- pyomo.contrib.pyros.util.enforce_dr_degree(working_blk, config, degree)[source]
Make decision rule polynomials of a given degree by fixing value of the appropriate subset of the decision rule coefficients to 0.
- Parameters:
blk (ScalarBlock) – Working model, or master problem block.
config (ConfigDict) – PyROS solver options.
degree (int) – Degree of the DR polynomials that is to be enforced.