construct_initial_master_problem

(function from pyomo.contrib.pyros.master_problem_methods)

pyomo.contrib.pyros.master_problem_methods.construct_initial_master_problem(model_data)[source]

Construct the initial master problem model object from the preprocessed working model.

Parameters:

model_data (model data object) – Main model data object, containing the preprocessed working model.

Returns:

master_model – Initial master problem model object. Contains a single scenario block fully cloned from the working model.

Return type:

ConcreteModel