Skip to main content

gurobi python parallelization

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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.
  • Ronald van der Velden
    • Gurobi Staff

    Hi Tarun,

    You can call the terminate function from any thread. This will stop the solver process. You should then retrieve the result from the thread/function that originally created the model to avoid issues with thread-safety.

    Kind regards,
    Ronald

    0

Post is closed for comments.