Multiple instances of the same Gurobi model executing in parallel

120 views
Skip to first unread message

dccoo...@gmail.com

unread,
Jan 31, 2019, 5:32:54 PM1/31/19
to Gurobi Optimization
One of my usecases would have a large number of optimisations occurring in parallel with some tight wallclock requirements.

There's a useful reference to parallelising a Gurobimodel in a master-worker model:


and the reference manual has a section on Distributed Parallel Algorithms.

The parallelisation described there is either parallelising the computation for a single model or trying multiple strategies in parallel on the one model.

I would like to have multiple instances of the same model executing in parallel with different values of some constraints and decision variable coefficients.

Has anyone tried this as either one optimisation model per process (job parallelisation) or parallelising model instances within a process using, say, openmp?

Thanks

David

Tobias Achterberg

unread,
Feb 7, 2019, 8:33:34 AM2/7/19
to gur...@googlegroups.com
In such a case you should implement the parallelism yourself with whatever tools your
programming language offers. Just be sure that for each thread you need to create an
individual Gurobi model. You cannot work on the same model object concurrently.

Regards,

Tobias
Reply all
Reply to author
Forward
0 new messages