PyPSA / linopy

Linear optimization with N-D labeled arrays in Python
https://linopy.readthedocs.io
MIT License
162 stars 44 forks source link

Pass parameters to the Gurobi solver #284

Open KanaBaradei opened 4 months ago

KanaBaradei commented 4 months ago

Hi to all, I don't really know if this is place to ask this but I don't know where to do so. I switched from pyomo to linopy due to the sheer size of the model I was working on (energy system) and wanted to know if there is a way to use gurobi_persistant solver like in pyomo. I want to use some of the parameters like "hints". Sorry if this is a very basic question.

FabianHofmann commented 4 months ago

Hey @KanaBaradei, thank you for your message! Unfortunately, this is not supported yet. It would require abstracting the solver function a bit, and I did not come to this. Related issue is #198

I really hope I will soon have some time to tackle this!