From 6457ee93e17d32327bb03394e4da3993165f3043 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Thu, 7 Oct 2021 18:55:16 -0700 Subject: [PATCH] src/sage/features/mip_backends.py: Fixup --- src/sage/features/mip_backends.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sage/features/mip_backends.py b/src/sage/features/mip_backends.py index e6e89e0acfb..a72c054a857 100644 --- a/src/sage/features/mip_backends.py +++ b/src/sage/features/mip_backends.py @@ -1,5 +1,5 @@ -from . import Feature -from join_feature import JoinFeature +from . import Feature, FeatureTestResult +from .join_feature import JoinFeature class MIPBackend(Feature): @@ -19,20 +19,20 @@ def _is_present(self): class CPLEX(MIPBackend): def __init__(self): - MIPBackend.__init__('cplex', + MIPBackend.__init__(self, 'cplex', spkg='sage_numerical_backends_cplex') class Gurobi(MIPBackend): def __init__(self): - MIPBackend.__init__('gurobi', + MIPBackend.__init__(self, 'gurobi', spkg='sage_numerical_backends_gurobi') class COIN(JoinFeature): def __init__(self): - JoinFeature.__init__('sage_numerical_backends_coin', + JoinFeature.__init__(self, 'sage_numerical_backends_coin', [MIPBackend('coin')], spkg='sage_numerical_backends_coin')