Make compatible with Gurobi 12

This commit is contained in:
2025-06-10 11:26:41 -05:00
parent 5fefb49566
commit dadd2216f1
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ from typing import List, Union
import gurobipy as gp
import numpy as np
import pyomo.environ as pe
from gurobipy.gurobipy import GRB
from gurobipy import GRB
from scipy.stats import uniform, randint
from scipy.stats.distributions import rv_frozen

View File

@@ -7,7 +7,7 @@ from typing import List, Union
import gurobipy as gp
import numpy as np
from gurobipy.gurobipy import GRB
from gurobipy import GRB
from scipy.stats import uniform, randint
from scipy.stats.distributions import rv_frozen

View File

@@ -15,7 +15,7 @@ setup(
python_requires=">=3.9",
install_requires=[
"Jinja2<3.1",
"gurobipy>=11,<12",
"gurobipy>=12,<13",
"h5py>=3,<4",
"networkx>=2,<3",
"numpy>=1,<2",