linopy icon indicating copy to clipboard operation
linopy copied to clipboard

Pass parameters to the Gurobi solver

Open KanaBaradei opened this issue 1 year ago • 1 comments

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.

KanaBaradei avatar May 10 '24 02:05 KanaBaradei

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!

FabianHofmann avatar May 10 '24 08:05 FabianHofmann