Maliheh Aramon
-
Gurobi Staff
- Total activity 746
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 305
Comments
Recent activity by Maliheh Aramon-
Hi Greg, Gurobi 9.5 was recently released. Included in this release is a fix for the bug you observed. Using Gurobi 9.5, your model runs as expected with the default Method=-1 and Method=0. We hope...
-
Hi Saeed, Would it be possible to send us the csv file or a minimal working example such that we can reproduce the issue? You can find the instruction for sharing files in our Posting to the Commu...
-
Hi Rohan, The easiest option would be to write the incumbents found during the optimization into files by setting the parameter SolFiles. If this does not work for you, please let us know. Best r...
-
Hi John, Sure, the graph can be bi-directional. We just need to make sure that the model knows about it :) What you did sounds alright to me. Defining \(t_{ij}\) as the travelling time from node ...
-
Hi John, 1. The decision variables are defined correctly. Alternatively, you can define them as below to remove the outer \(\texttt{for}\) loop. To represent the set \(T\) in the paper which is th...
-
Hi Elizabeth, We can think of improving the performance of Gurobi from two different aspects: modelling and parameter tuning. Modeling: Gurobi supports modelling simple general constraints such ...
-
Hi Murilo, My question is:Should I pass the value of all variables using setSolution()?or can i just pass the values of some variables? You have probably already checked the documentation of Mod...
-
Hi Yin, The error traces back to the part below in your snippet because you are multiplying the integer -1 by a GenExpr. - min_(gp.quicksum(y[t,0,k] for k in range(l_on-1,L)) - theta, d_on[t]) Tha...
-
Hi Ebru, Have you tried using the GRBModel.addGenConstrPow() method? To model \( z^{1.5} \leq v\), you can have: z = model.addVar(name="z")y = model.addVar(name="y") v = model.addVar(name="v")mo...
-
Hi Aldo, You see this error because you are trying to sum over Gurobi general expressions (GenExpr). The error traces back to the part below: sum(max_((beta - (stocks @ ret[i])), 0) for i in ra...