First time here? Check out the FAQ!

Ask Your Question
2

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

asked 10 years ago

updated 10 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 10 years ago

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

Preview: (hide)
link

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: 10 years ago

Seen: 445 times

Last updated: Feb 14 '15