Ask Your Question
2

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

asked 2015-02-13 01:32:19 +0200

updated 2015-02-13 09:09:13 +0200

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
3

answered 2015-02-14 13:08:32 +0200

Nathann gravatar image

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

http://www.sagemath.org/doc/reference...

Nathann

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

Stats

Asked: 2015-02-13 01:32:19 +0200

Seen: 368 times

Last updated: Feb 14 '15