Setting the number of cores for a Gurobi license in JuMPg

Any help with the following error would be much appreciated. I tried set_optimizer_attribute(model,"Threads",8), but still get the error…

julia> set_optimizer(model,Gurobi.Optimizer)
ERROR: Gurobi Error 10009: License is for 8 cores, machine has 12

Looks like I need to address this with Gurobi: https://support.gurobi.com/hc/en-us/articles/360043663032-How-do-I-resolve-an-ERROR-10009-License-is-for-8-cores-machine-has-XX-

Contact Gurobi support. I dont think this is related to the Julia interface.

Yes, the license needs to be updated by Gurobi to match the cores. Thanks.

1 Like