mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-09 02:48:52 -06:00
Add _gurobipy suffix to all build_model functions
This commit is contained in:
@@ -174,7 +174,9 @@ class MultiKnapsackGenerator:
|
||||
return [_sample() for _ in range(n_samples)]
|
||||
|
||||
|
||||
def build_multiknapsack_model(data: Union[str, MultiKnapsackData]) -> GurobiModel:
|
||||
def build_multiknapsack_model_gurobipy(
|
||||
data: Union[str, MultiKnapsackData]
|
||||
) -> GurobiModel:
|
||||
"""Converts multi-knapsack problem data into a concrete Gurobipy model."""
|
||||
if isinstance(data, str):
|
||||
data = read_pkl_gz(data)
|
||||
|
||||
Reference in New Issue
Block a user