Tobias Achterberg
unread,Jul 13, 2018, 5:56:29 AM7/13/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gur...@googlegroups.com
Modern CPUs feature the concept of "hyper-threading". This means that each core of the CPU
is usually able to process multiple instructions (usually two) in parallel, but this
parallelization is a bit limited so that this is definitely not the same as having another
core.
The operating system is using these so-called "virtual cores" just as regular cores and
will schedule threads to run on them.
For example, with a typical 4 core CPU you will have 8 virtual cores. On such a system, in
default settings Gurobi will use up to 8 threads, but in some cases it will decide to only
use 4 threads. This depends on the algorithm (barrier, MIP), and also on the size of the
model and the point in the algorithm where you are (root node or parallel tree search).
Best regards,
Tobias