preprocess_model_data

(function from pyomo.contrib.pyros.util)

pyomo.contrib.pyros.util.preprocess_model_data(model_data, user_var_partitioning)[source]

Preprocess user inputs to modeling objects from which PyROS subproblems can be efficiently constructed.

Parameters:
  • model_data (model data object) – Main model data object.

  • user_var_partitioning (VariablePartitioning) – User-based partitioning of the in-scope variables of the input model.

Returns:

robust_infeasible – True if RO problem was found to be robust infeasible, False otherwise.

Return type:

bool