Ronald van der Velden
-
Gurobi Staff
- Total activity 256
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 119
Comments
Recent activity by Ronald van der Velden-
Hi Ariel, Q2: You can do this when calling addVars() in Gurobi, or by setting the Obj attribute on the individual variables Q3: Then the value of that variable does not influence the optimal soluti...
-
In general the approach would be to include your preference in the objective function. However, I'm wondering if trips can be left unassigned in your model or not? If they can, then you could inclu...
-
Indeed the ** operator can't be used with Gurobi variables. Consider using addGenConstrPow to define a helper variable holding YSAL_t[t]**0.624 and then use that helper variable in your indicator ...
-
Official comment Hi Salma! There are two parts to make this work - I assume the challenge is only with the second bullet but just to be sure: Installing Gurobi: Have you managed to install gurobipy on your Databr...
-
Official comment Hi, The reason this doesn't work, is because the keys for variable s are not numbers, but codes for the month and product. When you create your constraint, you try and use numbers and this doesn't ...
-
Not sure... could you post a code snippet that illustrates the error?
-
Sorry about that... the parameter names to be used as dictionary keys with this syntax are basically the official parameter names listed here. But I understand it can be confusing in the context of...
-
Official comment Hi Maedeh, The steps to retrieve the decision variable values for the solutions in the pool are as follows: Select a particular solution using parameter SolutionNumber Query the value of a specif...
-
Official comment Hi Paul, The parameter names to use are slightly different than the parameters to the original `CloudEnv` function. The syntax looks like this: params = {'CloudAccessID': '...','CloudSecretKey': '....
-
Hi Tessa, Could you try downloading and installing Gurobi from our website and then running python setup.py install from the Gurobi installation folder? You can find more information in the third b...