mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-08 18:38:51 -06:00
Add _gurobipy suffix to all build_model functions
This commit is contained in:
@@ -119,7 +119,6 @@ def build_tsp_model_gurobipy(
|
||||
data: Union[str, TravelingSalesmanData],
|
||||
params: Optional[dict[str, Any]] = None,
|
||||
) -> GurobiModel:
|
||||
|
||||
model = gp.Model()
|
||||
_gurobipy_set_params(model, params)
|
||||
|
||||
@@ -173,7 +172,6 @@ def build_tsp_model_pyomo(
|
||||
solver: str = "gurobi_persistent",
|
||||
params: Optional[dict[str, Any]] = None,
|
||||
) -> PyomoModel:
|
||||
|
||||
model = pe.ConcreteModel()
|
||||
data = _tsp_read(data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user