Skip to main content

Is C API faster then the Python API?

Awaiting user input


1 comment

  • Jonasz Staszek
    Community Moderator Community Moderator
    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


Please sign in to leave a comment.