(function from pyomo.contrib.gdpopt.discrete_problem_initialize)
pyomo.contrib.gdpopt.discrete_problem_initialize