Ask Your Question

Sage+Gurobi: Can I control how many processors vertex_coloring uses?

asked 2015-02-12 18:32:19 -0600

updated 2015-02-13 02:09:13 -0600

slelievre gravatar image

I am using Sage to color some graphs, using a 32-processor Linux server. I am using the vertex_coloring command, with Gurobi as the LP solver.

I've noticed that for graphs that take more than a few minutes, the program seems to eventually settle on using 16 processors. It would be nice if I could tell Sage (or Gurobi?) to allow more or fewer processors. Is this possible?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-14 06:08:32 -0600

Nathann gravatar image

If you want to change Gurobi's parameters for threads you will probably be interested by this function:


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-02-12 18:32:19 -0600

Seen: 208 times

Last updated: Feb 14 '15