Support for reset()
in PyOptInterface with Gurobi backend?
#45
-
Hi all, I noticed that when using the Gurobi solver through the I'm wondering if there's an alternative way to reset a model after solving it. My use case involves iterative updates to the right-hand side of constraints, and without resetting the model, the solver appears to become increasingly slow over iterations. Any suggestions or workarounds would be greatly appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Implemented in 4b294ca from pyoptinterface import gurobi
model = gurobi.Model()
# Build model steps
model._reset() |
Beta Was this translation helpful? Give feedback.
Implemented in 4b294ca