reformulate_state_var_independent_eq_cons
(function from pyomo.contrib.pyros.util
)
- pyomo.contrib.pyros.util.reformulate_state_var_independent_eq_cons(model_data)[source]
Reformulate second-stage equality constraints that are independent of the state variables.
The state variable-independent second-stage equality constraints that can be rewritten as polynomials in terms of the uncertain parameters are reformulated to first-stage equalities through matching of the polynomial coefficients. Hence, this reformulation technique is referred to as coefficient matching. In some cases, matching of the coefficients may lead to a certificate of robust infeasibility.
All other state variable-independent second-stage equality constraints are recast to pairs of opposing second-stage inequality constraints, as they would otherwise over-constrain the uncertain parameters in the separation subproblems.
- Parameters:
model_data (model data object) – Main model data object.
- Returns:
robust_infeasible – True if model found to be robust infeasible, False otherwise.
- Return type: