Closed R-M-Lee closed 1 year ago
I just noticed that the version on PyPI is from April 2022. Sorry. Will test with the current master branch
This is still a problem when I use the correct version, since this happens
from entmoot.optimizers.gurobi_opt import GurobiOptimizer
in entmoot/__init__.py
and gurobi_opt imports gurobipy. So we can either really make things optional and ensure that a pyomo-only installation is viable (same for gurobi-only I guess), or require both gurobipy and pyomo. They are not involved to install so I am ok with either
I did
pip install entmoot
thenpip install Pyomo
. No gurobipy in the environment