mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 02:18:51 -06:00
Make get_variable_{categories,features} return np.ndarray
This commit is contained in:
@@ -80,10 +80,6 @@ class TravelingSalesmanInstance(Instance):
|
||||
)
|
||||
return model
|
||||
|
||||
@overrides
|
||||
def get_variable_categories(self) -> Dict[str, str]:
|
||||
return {f"x[{e}]": f"x[{e}]" for e in self.edges}
|
||||
|
||||
@overrides
|
||||
def find_violated_lazy_constraints(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user