mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-07 01:48:51 -06:00
Use compact variable features everywhere
This commit is contained in:
@@ -9,7 +9,7 @@ from typing import Any, Dict, List, Optional
|
||||
|
||||
from overrides import EnforceOverrides
|
||||
|
||||
from miplearn.features import Constraint, Variable, VariableFeatures
|
||||
from miplearn.features import Constraint, VariableFeatures
|
||||
from miplearn.instance.base import Instance
|
||||
from miplearn.types import (
|
||||
IterationCallback,
|
||||
@@ -17,7 +17,6 @@ from miplearn.types import (
|
||||
BranchPriorities,
|
||||
UserCutCallback,
|
||||
Solution,
|
||||
VariableName,
|
||||
)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -236,10 +235,6 @@ class InternalSolver(ABC, EnforceOverrides):
|
||||
"""
|
||||
return False
|
||||
|
||||
@abstractmethod
|
||||
def get_variables_old(self, with_static: bool = True) -> Dict[str, Variable]:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_variables(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user