Is C API faster then the Python API?
ユーザーの入力を待っています。Hi,
We are solving our ILP problem with Gurobi and are having issues with the run time. We are trying to think of different ways to improve this and are wondering if there would be a difference if we ran on Guropi C instead of Gurobi python
Thanks.
0
-
正式なコメント
This post is more than three 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 Kim,
I don't believe that encoding your model in C rather than Python would change the solver behavior itself.
Is the runtime long due to the optimization taking so much time?
If yes, we'd need to have a look at the optimization log to suggest ideas.
If not, you could try profiling your code to see which parts of model generation consume excessive amounts of time.
Best regards
Jonasz0
投稿コメントは受け付けていません。
コメント
2件のコメント