You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SCIP solver does not release (some?) of its memory after the model is deleted. This makes it a huge pain to use Numberjack in scripts with solve a lot of problems of big size.
The text was updated successfully, but these errors were encountered:
Hi @ppershing, thanks for the bug report. I haven't been able to figure this one out yet, it appears that the memory for the variables is not freed until the program exits. I suspect this is something to do with the swig interface we use, but it requires further work. If you need a workaround for now, you could launch each solve in a separate subprocess.
Yes, I already used sub-process workaround but it is a bit of a pain to smuggle data between them (so far I used multiprocessing but it requires pickleable data structures). Anyway, the issue is interesting as a different solver (I tried Gurobi) seem to work well and free the memory.
SCIP solver does not release (some?) of its memory after the model is deleted. This makes it a huge pain to use Numberjack in scripts with solve a lot of problems of big size.
The text was updated successfully, but these errors were encountered: