Putri Amalia
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Comments
Recent activity by Putri Amalia-
Update:I put the codes which contains 'mdl' in one cell and the result:
-
Hi Simon, I write my code as what I write above and call the mdl.optimize() afterward. Here is the result I got. The obj func = 0 and there is no value stored at y, x, and m variables
-
Hi Jaromil, Thank you for your great help! It's much simpler and it works!
-
Hi Jaromil, I think so. I revised the constraints into the following: but I encountered a problem to define this. The x[i,k] is the current capacity and m[k] will be the returned value according t...
-
Hi Matthias, thanks for your great insight! I already put the epsilon: mdl.addConstr((x[i,k] + eps <= d[k]) for i,k in arco_qua for k in vehiculos) where n = 11nodes = [i for i in range(n)]vehic...
-
Hi Simon, It works! Thank you.
-
Hi Jaromil, thank you for your answer. I found this page https://stackoverflow.com/questions/64265698/add-constraint-in-gurobipy-using-conditional-decision-variable and followed the suggestion ther...
-
Hi, sorry for the unclear question. I want to ask how to model the membership value of fuzzy logic in Gurobi. In my case, I want to assign the membership value (mv) based on the current quantity (x...