Eli Towle
-
Gurobi Staff
- Total activity 1295
- Last activity
- Member since
- Following 0 users
- Followed by 4 users
- Votes 3
- Subscriptions 508
Comments
Recent activity by Eli Towle-
Hi Pranav, This depends on the structure of \( N_i(x) \). You will have to provide Gurobi with an explicit expression for \( N_i(x) \) (or an approximation thereof) rather than relying on an extern...
-
Hi Pranav, By default, Gurobi will try to minimize the objective function. Did you change the objective sense to maximize? I.e., using model.modelsense = 'max'; If that isn't the problem, do you ha...
-
Hi Matheus, We will work with you directly through our support portal to resolve this. Thanks! Eli
-
Hi John, With the piecewise approximation approach, it should work to define the piecewise linear objective for each \( x_i \) variable. This doesn't require any additional variables. Also note tha...
-
Hi Stephanie, We will work directly with you through our support system to resolve this. Thanks! Eli
-
Pranav, you can solve the problem in MATLAB using a command like: result = gurobi(model, params); After this is done, you can access the x field of the returned struct to find the optimal solution ...
-
Hi Roy, Gurobi 8.1.0 includes the Python 2.7 interactive shell, which uses integer division when the division operator is used with two integer operands. So, this line: m.addConstr((1/200)*x_A + (1...
-
Hi Santanu, How exactly did you model this problem so that Gurobi could solve it? Do you have the Gurobi log file output? Thanks! Eli
-
Hi Santanu, Did you write this LP file from scratch? If so, I don't recommend doing this; it's very error-prone, and the LP format isn't standardized. If you want to use algebraic modeling syntax t...
-
Hi Vincent, I suspect this is the problem: (2*o[3] + o[2])*[yTruck[(tr,m-1,o)]] for o in range(UBorders) range(UBorders) returns a list of integers, so every value of o you are looping over is an i...