Use GUROBI with the Switch Capacity Expansion Model
AnsweredIs it possible to use Gurobi solver within the switch modeling framework (https://github.com/switch-model/switch)? If so, how? Where do I configure my license?
0
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi Sarah,
You should be able to specify Gurobi as solver inside Pyomo. I recommend testing the Pyomo-Gurobi setup outside of Switch: Just try whether you can solve a model using Pyomo standalone. Then, you can try the option \(\texttt{--solver=gurobi}\) to use Gurobi inside the Switch framework.
Please refer to the Pyomo documentation for further information: Gurobi — Pyomo 6.1.2 documentation
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments