Chung-Kyun Han
-
Gurobi Staff
- Total activity 31
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 15
Comments
Recent activity by Chung-Kyun Han-
Hi İrem, Thank you for reaching us. If you don't mind, could you share the mathematical formulation of the constraint you want to add?I mean, the following constraint. for i in range(resources): ...
-
Hi Rayan, Thank you for reaching us.I'm happy to support you again :D Could you give us more information about why you consider the solution wrong?Do you already know a feasible solution whose obje...
-
Hi Andrea, Thank you for reaching us. Suppose you don't call m.model(), you cannot check your modification on the variables' attributes directly.Try the below code. for v in y: v.setAttr('Branch...
-
Thank you for reaching us. The default lower bound of a variable is zero (please refer to our manual about Model.addVar()).If you add variables like as follows, you will get the optimal solution yo...
-
Hi Rayan, Thank you for reaching us again. You can write concise code when you refer to our 'Python Dictionary Example' page.And, specifically, you can resolve your issue with 'tuplelist class'. Th...
-
Hi Maura, Thank you for reaching us. We can understand what you want and your model looks fine.However, because we don't know what the error message is, we cannot investigate your issue further. Co...
-
Hi Victor, Generally, if you add more constraints, the model becomes bigger. This generally results in an increment in the computation time because of more iterations (though depending on the data ...
-
Hi Victor, Here is my script for the problem you are working on. import gurobipy as gpfrom gurobipy import GRBimport numpy as npsizeB = 200sizeAi, sizeAj = 50, 60A = np.random.randint(0, sizeB, si...
-
Hi Olatunji, Thank you for reaching us. It seems that the variable 'DemandRes[0]' is Pyomo's Var(), and the object can not be used in an if statement directly. The alternative way for expressing an...
-
Hi Rayan, Thank you for reaching us. Based on the screenshot, it seems that your code spends more than 3 minutes creating decision variables and has not yet started the model-solving part. To valid...