load_final_solution

(function from pyomo.contrib.pyros.util)

pyomo.contrib.pyros.util.load_final_solution(model_data, master_soln, original_user_var_partitioning)[source]

Load variable values from the master problem to the original model.

Parameters:
  • master_soln (MasterResults) – Master solution object, containing the master model.

  • original_user_var_partitioning (VariablePartitioning) – User partitioning of the variables of the original model.