Multiprocessing and the Gurobi Python API

Follow

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
    Comment actions Permalink

Article is closed for comments.

Powered by Zendesk