From 30771b332f866bd861abf339c042114a88e7e0c1 Mon Sep 17 00:00:00 2001 From: ZedongPeng Date: Wed, 20 Sep 2023 14:35:29 -0400 Subject: [PATCH] recover numpy and scipy import --- pyomo/contrib/pynumero/interfaces/external_grey_box.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyomo/contrib/pynumero/interfaces/external_grey_box.py b/pyomo/contrib/pynumero/interfaces/external_grey_box.py index 3684a6c3234..8fd728a7c9b 100644 --- a/pyomo/contrib/pynumero/interfaces/external_grey_box.py +++ b/pyomo/contrib/pynumero/interfaces/external_grey_box.py @@ -11,6 +11,8 @@ import abc import logging +import numpy as np +from scipy.sparse import coo_matrix from pyomo.common.deprecation import RenamedClass from pyomo.common.log import is_debug_set