From 63309c353c81bd8f2ded33d35e05dc5b75948d23 Mon Sep 17 00:00:00 2001 From: ZedongPeng Date: Mon, 30 Oct 2023 21:55:18 -0400 Subject: [PATCH] fix bug --- pyomo/contrib/mindtpy/util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyomo/contrib/mindtpy/util.py b/pyomo/contrib/mindtpy/util.py index 87972de1d69..a899cab5fd1 100644 --- a/pyomo/contrib/mindtpy/util.py +++ b/pyomo/contrib/mindtpy/util.py @@ -37,6 +37,7 @@ from pyomo.solvers.plugins.solvers.gurobi_direct import gurobipy from pyomo.solvers.plugins.solvers.gurobi_persistent import GurobiPersistent import math +from itertools import permutations, product pyomo_nlp = attempt_import('pyomo.contrib.pynumero.interfaces.pyomo_nlp')[0] numpy = attempt_import('numpy')[0]