cog-imperial / entmoot

Multiobjective black-box optimization using gradient-boosted trees
https://entmoot.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
56 stars 12 forks source link

Installation requires packages not listed in dependencies #32

Closed TobyBoyne closed 4 months ago

TobyBoyne commented 8 months ago

After pip installing entmoot, you then need to separately install either gurobipy or pyomo. I think this is good, as it allows the user the choice of which optimiser to use.

However, if you do not install both pyomo and gurobipy, the code throws errors. Therefore, either both of these packages should be included in the project dependencies, or the code should not error when running without installing both of these libraries.

TobyBoyne commented 4 months ago

Gurobipy and Pyomo are both in the setup.py file.