mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 01:18:52 -06:00
feature/docs
This commit is contained in:
@@ -649,12 +649,12 @@ class GurobiSolver(InternalSolver):
|
||||
def __getstate__(self) -> Dict:
|
||||
return {
|
||||
"params": self.params,
|
||||
"lazy_cb_where": self.lazy_cb_where,
|
||||
"lazy_cb_frequency": self.lazy_cb_frequency,
|
||||
}
|
||||
|
||||
def __setstate__(self, state: Dict) -> None:
|
||||
self.params = state["params"]
|
||||
self.lazy_cb_where = state["lazy_cb_where"]
|
||||
self.lazy_cb_frequency = state["lazy_cb_frequency"]
|
||||
self.instance = None
|
||||
self.model = None
|
||||
self.cb_where = None
|
||||
|
||||
Reference in New Issue
Block a user