初始化离散问题

(函数来自 pyomo.contrib.gdpopt.create_oa_subproblems)

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

在原始模型上调用指定的转换(默认为bigm),并移除非线性约束以创建MILP离散问题。