Skip to main content

Can Gurobi be used with Intel's Thread Building Blocks and/or oneAPI?

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    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 why not try our AI Gurobot?.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Ram,

    Yes, this is possible. Please note that you should use a separate Gurobi environment for each thread.

    You should also keep in mind that Gurobi is already internally parallelized and will always try to make use of the available cores, so you might want to limit each thread's parallelism by setting the Threads parameter accordingly.

    Cheers,
    Matthias

    0
  • Ram Meenakshisundaram
    • Gurobi-versary
    • First Comment
    • First Question

    Hi Matthias,


    Thanks for the response.  What I want to do is to run a Monte Carlo Simulation where I need to optimize some function during each trial.  I would also like to parallelize the trials as well.  Since I can see the number of trials to become fairly large, I am wondering what would be the best approach to solving this problem and how Gurobi can help in this regards...

     

    Thanks,

    Ram

    0

Post is closed for comments.