initialize_discrete_problem

(function from pyomo.contrib.gdpopt.create_oa_subproblems)

pyomo.contrib.gdpopt.create_oa_subproblems.initialize_discrete_problem(util_block, subprob_util_block, config, solver)[source]

Calls the specified transformation (by default bigm) on the original model and removes nonlinear constraints to create a MILP discrete problem.