Skip to main content

How do I use multiprocessing in Python with Gurobi?

Comments

1 comment

  • Ido Hadanny

    good job, extremely helpful.

    NOTE: changing the method from "fork" to "spawn" has major implications on your code: all globals won't be copied to your subprocess! you have to tunnel them thru the "input_data" inputs to your solve_model function.

    0

Article is closed for comments.