Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia thread limit is not respected #476

Closed
rafaelmartinelli opened this issue May 19, 2022 · 2 comments
Closed

Julia thread limit is not respected #476

rafaelmartinelli opened this issue May 19, 2022 · 2 comments

Comments

@rafaelmartinelli
Copy link

When running a script limiting the number of threads like julia --threads=1 test.jl, Gurobi does not respect this value.
I know its possible to limit using optimizer_with_attributes, but I don't have control of user code.

@odow
Copy link
Member

odow commented May 19, 2022

Julia threads are not the same as Gurobi threads. The way to control Gurobi's thread use is via the Gurobi parameters. Changing the number of Julia threads will have no effect.

@odow
Copy link
Member

odow commented May 26, 2022

Closing because there's nothing actionable. Julia threads do not control Gurobi threads.

@odow odow closed this as completed May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants