Minimum RAM needed
回答済みHello,
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 !
-
正式なコメント
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
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
投稿コメントは受け付けていません。
コメント
3件のコメント