construct_master_feasibility_problem

(function from pyomo.contrib.pyros.master_problem_methods)

pyomo.contrib.pyros.master_problem_methods.construct_master_feasibility_problem(master_data)[source]

Construct slack variable minimization problem from the master model.

Slack variables are added only to the seconds-stage inequality constraints of the blocks added for the current PyROS iteration.

Parameters:

master_data (MasterProblemData) – Master problem data.

Returns:

slack_model – Slack variable model.

Return type:

ConcreteModel