"out of memory" error
AnsweredHello,
I am trying to solve a MIQP problem, but I receive the "out of memory" error. I tried to set NodefileStart parameter to 0.5 and Threads parameter to 1-8 & 32, but I still receive the "out of memory" error.
Thanks a lot for any help.
-
Hi Bahar,
There are a lot of general constraints in your model - these may need to be reformulated during presolving which can require more memory. You should try solving a smaller model to get an idea of how much memory is necessary to handle what size of the problem.
Alternatively, you could try running on a machine with more memory if that's an option. Since the solver runs into the memory limit very early on, it's not helpful to change the NodeFile parameter as the branching process has not even started.
Cheers,
Matthias0 -
Thank you so much for your guidance.
Regards,
Bahar
0 -
How much RAM should be enough to run a complex model with
a model with 6336897 rows, 10316000 columns and 148118000 nonzeros Model fingerprint: 0x14661732 Variable types: 2000 continuous, 10314000 integer (10314000 binary)
0 -
It is hard to predict how much RAM is sufficient by just looking at the model size. Sometimes, solving a smaller model can require a lot of memory, while a larger model may not. Please have a look at our article What hardware should I select when running Gurobi? for general recommendations on how to choose hardware when running Gurobi.
0
Please sign in to leave a comment.
Comments
4 comments