Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/features/mip_backends.py: Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 8, 2021
1 parent 9358502 commit 6457ee9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sage/features/mip_backends.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from . import Feature
from join_feature import JoinFeature
from . import Feature, FeatureTestResult
from .join_feature import JoinFeature


class MIPBackend(Feature):
Expand All @@ -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')

0 comments on commit 6457ee9

Please sign in to comment.