mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 02:18:51 -06:00
Make xy_sample receive features, not instances
This commit is contained in:
@@ -101,13 +101,13 @@ class Instance(ABC):
|
||||
def get_constraint_category(self, cid: str) -> Optional[str]:
|
||||
return cid
|
||||
|
||||
def has_static_lazy_constraints(self):
|
||||
def has_static_lazy_constraints(self) -> bool:
|
||||
return False
|
||||
|
||||
def has_dynamic_lazy_constraints(self):
|
||||
return False
|
||||
|
||||
def is_constraint_lazy(self, cid):
|
||||
def is_constraint_lazy(self, cid: str) -> bool:
|
||||
return False
|
||||
|
||||
def find_violated_lazy_constraints(self, model):
|
||||
|
||||
Reference in New Issue
Block a user