Traceback (most recent call last):


 "basic_step.py", line 78, in <module>

solve_basic_step_model()


 "basic_step.py", line 60, in solve_basic_step_model

m_bs_chull = TransformationFactory('gdp.chull').create_using(m_base)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/core/base/plugin.py", line 254, in create_using

new_model = self._create_using(model, **kwds)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/core/base/plugin.py", line 274, in _create_using

self._apply_to(instance, **kwds)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 205, in _apply_to

self._transformBlock(t, transBlock)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 264, in _transformBlock

self._transformBlockData(obj[i], transBlock)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 275, in _transformBlockData

self._transformDisjunction(disjunction, transBlock)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 349, in _transformDisjunction

self._transformDisjunctionData(obj[i], transBlock, i)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 429, in _transformDisjunctionData

localVars[disjunct])


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 589, in _transform_disjunct

zero_substitute_map)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 616, in _transform_block_components

zero_substitute_map)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 682, in _transform_block_on_disjunct

block, disjunct, infodict, var_substitute_map, zero_substitute_map)


 "/home/romeo/Documents/CMU/Research/pyomo/pyomo/gdp/plugins/chull.py", line 602, in _transform_block_components

for name, obj in list(iteritems(block.component_map())):
AttributeError: 'IndexedBlock' object has no attribute 'component_map'

Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main

mod_name, mod_spec, code = _get_module_details(mod_name, _Error)


 "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details

return _get_module_details(pkg_main_name, error)


 "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details

__import__(pkg_name)


 "/usr/lib/python3/dist-packages/pip/__init__.py", line 59, in <module>

from pip.log import logger


 "/usr/lib/python3/dist-packages/pip/log.py", line 9, in <module>

import colorama, pkg_resources


 "<frozen importlib._bootstrap>", line 971, in _find_and_load


 "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 656, in _load_unlocked


 "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible


 "/usr/share/python-wheels/setuptools-3.3-py2.py3-none-any.whl/pkg_resources.py", line 1479, in <module>

register_loader_type(importlib_bootstrap.Source
Loader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'Source
Loader'
