Minimum RAM needed
AnsweredHello,
i have a problem and i would appreciate your Help,
I've built a fairly heavy optimization model, tested it on simple problems and it works,
But when I put in the real data (go from 5 products to 80 and from 5 slots to 250), I get a memory error,
I want to know how much RAM I'll need to run the model, to see if I subscribe to Google colab pro +.
To get an idea, I'll show you the different model parameters and the target function


Thank you !
-
Hi,
I am not sure how much RAM is needed.
The smallest memory profile (also fastest) uses the matrix API:with gp.Model() as m:
R = m.addMVar(shape=(I, J, T, E, C), name="R")
result_1 = R.sum() * 2Cheers,
David0 -
This isn't answering your question but perhaps NodefileStart parameter or reducing Threads could help avoid the memory error, at the expense of a slower solve.
https://www.gurobi.com/documentation/current/refman/nodefilestart.html
https://www.gurobi.com/documentation/current/refman/threads.html
0
Please sign in to leave a comment.
Comments
2 comments