メインコンテンツへスキップ

Is C API faster then the Python API?

ユーザーの入力を待っています。

コメント

1件のコメント

  • Jonasz Staszek
    • Community Moderator Community Moderator
    • Gurobi-versary
    • Thought Leader
    • First Question

    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
    Jonasz

    0

サインインしてコメントを残してください。