diff --git a/pyomo/contrib/interior_point/interface.py b/pyomo/contrib/interior_point/interface.py index e95327072d8..a249207bda8 100644 --- a/pyomo/contrib/interior_point/interface.py +++ b/pyomo/contrib/interior_point/interface.py @@ -11,6 +11,7 @@ from abc import ABCMeta, abstractmethod from pyomo.contrib.pynumero.interfaces import pyomo_nlp, ampl_nlp + try: from pyomo.contrib.pynumero.sparse import BlockVector, BlockMatrix except ImportError as e: