Eli Towle
Gurobi Staff Total activity 1233
 Last activity
 Member since
 Following 0 users
 Followed by 1 user
 Votes 3
 Subscriptions 479
Activity overview
Latest activity by Eli Towle
Eli Towle commented,
In Gurobi, the lower bounds on variables are \( 0 \) by default. To solve the same problem as \(\texttt{quadprog}\), explicitly remove the lower bounds on the variables: model.lb = Inf(size(qpinfo...

Eli Towle commented,
By default, Gurobi displays output showing how long it has been solving the model. You can control Gurobi's output with the LogFile, LogToConsole, and OutputFlag parameters. Alternatively, you coul...

Eli Towle commented,
An easier way to set branching priorities through Pyomo is to use Pyomo's GurobiPersistent interface and directly set the BranchPriority attributes for the underlying \(\texttt{gurobipy}\) Var obje...

Eli Towle commented,
Are \( M \) and \( K \) fixed beforehand? If so, you can remove the \(M!(KM)!/K!\) from the objective function, as it is a constant. If I use Python's itertools package to generate the combinatio...

Eli Towle commented,
Gurobi cannot find a valid license file on your machine. I will open a support request for you so we can help you set up your license file properly.

Eli Towle commented,
Here is one another idea. Let \( I \) be the set of cities, and let \( C_i \) be the set of cities that are not "close enough" to city \( i \in I \). If city \( i \in I \) is in the group, all citi...

Eli Towle commented,
That output tells us Gurobi is installed on your machine. I wonder if there is an issue with your license file. What output do you see when you open the command prompt and type: C:\gurobi1002\win64...

Eli Towle commented,
Could you please post the output you see when you click "More Details"?

Eli Towle commented,
This is a followup from the post KeyError: 0. sum1=sum1+b0[combination[km]][0]*math.sqrt(beta0/(H**2+a[combination[km]][0]))*cov(k,combination[km]). Have you considered using Python's itertools pa...

Eli Towle commented,
I see you created a followup post The nonlinear function in the optimization objective contains optimization variables with this same question. We can continue the discussion there.